Questions tagged as 'nullpointerexception'

1
answer

JcomboBox returns Null Pointer Exception

I'm doing a project to send packages in Java and I'm having a problem loading a combobox with data brought from a database. In the stack trace I am returning as error what can be seen in the image, and according to what I observed the line 239 t...
asked by 04.09.2018 / 05:16
6
answers

What is the solution to all present, past and future NullPointerException errors?

I have my Java program and I get a NullPointerException and I have seen other questions but they are from people with other programs and it does not work for my program and I want to leave here the 2,000 lines of my program so that you solve the...
asked by 08.01.2017 / 19:54
6
answers

What is the solution to all present, past and future NullPointerException errors?

I have my Java program and I get a NullPointerException and I have seen other questions but they are from people with other programs and it does not work for my program and I want to leave here the 2,000 lines of my program so that you solve the...
asked by 08.01.2017 / 19:54
6
answers

What is the solution to all present, past and future NullPointerException errors?

I have my Java program and I get a NullPointerException and I have seen other questions but they are from people with other programs and it does not work for my program and I want to leave here the 2,000 lines of my program so that you solve the...
asked by 08.01.2017 / 19:54
6
answers

What is the solution to all present, past and future NullPointerException errors?

I have my Java program and I get a NullPointerException and I have seen other questions but they are from people with other programs and it does not work for my program and I want to leave here the 2,000 lines of my program so that you solve the...
asked by 08.01.2017 / 19:54
2
answers

I have a problem with a NullPointerException when comparing a String [closed]

Well, in this program the idea is to register a department and then register an employee, which asks you for a department in which the employee works. The problem is that when I put the department I made a method to compare the one with an ex...
asked by 02.03.2017 / 02:03
3
answers

Why does Null Exception give me?

My method is as follows: public boolean addJugador(String nombre){ boolean add=true; Jugador j= new Jugador(nombre); if(nombre!=mesa[jugadoresActuales].getNombre()){ mesa[jugadoresActuales]= j; jugad...
asked by 14.11.2017 / 13:51
1
answer

Error on Vector in Java

I would appreciate if someone can help me with the following error:    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException   at folder.ConfigTeclado.guardaConfig (ConfigTeclado.java:91) The code (only the parts where I u...
asked by 01.08.2018 / 20:26
1
answer

How do I get the View in a Fragment?

I'm starting to program on Android with Kotlin and I'm a bit confused with the Null Safety. The main problem comes when wanting to do a findViewById from the getView () (view in kotlin) in a fragment, I have been consulted and I have only fou...
asked by 28.04.2018 / 17:36
6
answers

What is the solution to all present, past and future NullPointerException errors?

I have my Java program and I get a NullPointerException and I have seen other questions but they are from people with other programs and it does not work for my program and I want to leave here the 2,000 lines of my program so that you solve the...
asked by 08.01.2017 / 19:54