nullpointerexception
cant fill array java
hi ive got a public array of ints and i want to store 1 or 2 in the array but im getting the error NullPointerException what im doing is this[详细]
2023-04-06 23:06 分类:问答NullPointerException with JFrame
At the moment all I want this program to do is run without any compile errors. Basically, what I need it to do is open the frame and then when the frame is selected, if I press the up arrow key it wil[详细]
2023-04-06 20:51 分类:问答nullPointerException when passing an arrayList to another function?
in the project im working on, i need to take input from the text box and some selected files from the JFileChooser... i wish to pass the arrayList of files to another class where it has to be processe[详细]
2023-04-06 10:47 分类:问答Adapter problem with getTag() ,return null
this is my header public class MyAdapter extends ResourceCursorAdapter implements OnScrollListener { in my adapter I set the tag like this[详细]
2023-04-06 08:20 分类:问答Android Null-Pointer-Exception can't find a solution
I\'m working on an application which communicates with server and receiving a data stream,which is like 60-80k symbols.So I am splitin\' that string and calculating the stream into a pieces and when I[详细]
2023-04-06 06:44 分类:问答NPE at sun.nio.ch.Util.free(Util.java:199)
We are using a third party application which uses sun.nio package. We are facing following error very frequently,[详细]
2023-04-06 06:41 分类:问答Unable to find components using the findViewById method in Android
I\'m attempting to create an Activity and unfortunately every time I want to grab one of my XML components it gives me a RunTimeException (NullPointer).[详细]
2023-04-06 01:10 分类:问答java.lang.NullPointer Exception
public class CustomerAgent extends Agent { private String name; private int hungerLevel = 5;// Determines length of meal[详细]
2023-04-05 16:20 分类:问答Android get helper class methods issue
I have a little issue with getting my helper class\'s in android.I have 3 classesA, B, C. B extends A and C I\'m trying to use methods in C from B,but everytime I try to use them is throwin me a NullP[详细]
2023-04-05 15:02 分类:问答ArrayList of Hashmaps to ListView nullpointerexception
I keep getting this error: Unable to start activity ComponentInfo{com.Nostradamus/com.Nostradamus.Contactenlijst}:java.lang.NullPointerException[详细]
2023-04-05 07:42 分类:问答