S
S
soulburner2011-11-24 12:56:49
Java
soulburner, 2011-11-24 12:56:49

throws java.lang.NullPointerException without stacktrace

Can, who faced? The bottom line is that the written server program in java, after several hours of work, starts to hellishly throw java.lang.NullPointerException errors. Moreover, without any stack trace, etc. Those. the console looks like this:

java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
...

and is clogged with these messages quickly, in the amount of tens of thousands.

I've already checked all catch'i and put print'y everywhere - nifiga!

I have no idea where this could be coming from? exceptions without stacktrace! how can you find out?

PS: I thought for memory, but top in Linux shows 25% of the memory is occupied by Java.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
anmipo, 2011-11-24
@soulburner

stackoverflow.com/questions/2411487/nullpointerexception-in-java-with-no-stacktrace

E
elDraco, 2011-11-24
@elDraco

Maybe which of the libraries swears at incorrect input data?

P
philpirj, 2011-11-25
@philpirj

How about turning on the debug mode, connecting and catching?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question