Questions tagged as 'java'

1
answer

Error returning to the main Activity

This happens to me when I use the app after closing it, the first time I open it I have no problems. E/AndroidRuntime: FATAL EXCEPTION: main Process: com.gep.guille.reportatemperatura, PID: 19524 java.lang.RuntimeE...
asked by 18.12.2016 / 20:17
0
answers

Error with Web Service [closed]

My problem is as follows. I'm working with Liferay 7 , Eclipse Mars and Apache Tomcat 8 and a Windows 10 , and at the moment of to call my web service, which is converted with ApacheCXF , does not work, the answer always sends me null and...
asked by 04.01.2017 / 00:55
0
answers

What language to use for responsive desktop applications [closed]

Good afternoon, I have an application written in java that I need to use in different operating systems, and at different resolutions, the problem is that neither Swing nor JavaFX offer a layout that serves me (or I did not know how to use them)...
asked by 04.01.2017 / 14:01
1
answer

How did I catch a session-timeout with java?

It's only been 3 months since I've been investigating little by little about Java. My problem is that I implemented a session-timeout (1 minute to test) in a Java / mvc application mounted on an Oracle WebLogic g11 server, the question is tha...
asked by 04.01.2017 / 15:04
1
answer

Error while testing with selenium and JUnit!

What happens is that I'm doing some tests with JUnit and selenium and when doing tests I get this error message in the console: JavaScript error: http://localhost:8080//wfi/css/jquery-confirm.css, line 10: SyntaxError: illegal character JavaSc...
asked by 23.12.2016 / 16:43
0
answers

Any alternatives to ConcurrentHashMap? Slow with great values

I am transforming my application to work with multiple threads instead of a thread, but I have not been able to find a map that works on multiple threads and does not cause degradation in performance due to very large values on the map. Concu...
asked by 22.12.2016 / 18:33
0
answers

Communicate firebase token [closed]

Good, I have a web service and an android application, when I login with a user and pass in android I check it on the server and it returns a token, how can I register this token in firebase? or what I have to do to be able to establish the devi...
asked by 21.12.2016 / 19:58
0
answers

Download files from a server to a client

I can not download the file and of course the wrong line is in the FileInputStream part, I can not get the client to receive the file he wants, any suggestions to download a file from a server to a client? without apache libraries. public void...
asked by 16.04.2017 / 23:00
4
answers

java.lang.NumberFormatException: null

I'm starting with Java Servlets doing a program with a login. I'm fine but when I click on the Login button I get this error    java.lang.NumberFormatException: null     java.lang.Integer.parseInt (Integer.java:542)     java.lang.Integer.pars...
asked by 17.04.2017 / 04:03
2
answers

Difference between object JDialog.getContentPane (). setBackground () and object JDialog.setBackground ()

The question is simple, I want to know why with the getContentPane () the color change of the background occurs and without the no. NotaJDialog njd = new NotaJDialog (this,true); njd.setResizable(false); njd.getContentPane().setBac...
asked by 16.04.2017 / 14:23