I'm a complete noob at Java. I'm editing an open source program to serve a different need and when I ran it, I get an error msg: "java.lang.NullPointerException". But I am not told where it happens. How do I find out? I'm Using Eclipse 4.5.1--if you need to know more feel free to ask.
Off to the side of where I type this I see a box that says [my notes are embedded]:
"If you still need help, please include specific details about the code that's causing this exception:
the code itself [the where is what I don't know]
the inputs [none?]
the exception message and stack trace [I don't see and exception message and I don't know how to do a stack trace]
NOTE: I am NOT asking what IS a "NullPointerException". I have seen explanations of it and understand that part.
Now, anyone who has actually used Eclipse knows that when you hit run (and you have errors?), then in the consloe it will tell you:
"- ERROR - java.lang.NullPointerException java.lang.NullPointerException" etc.
What this does NOT do and what I am asking FOR is, how do I find WHERE these errors took place.
So, as you can see my question is NOT a dupe of anyone else's question.
Hoepfully, that has cleared up some confusion. I wasn't aware that I need to go into this kind of detail.