java - Can someone explain what this error means please? -


java.lang.nullpointerexception     @ java.lang.integer.compareto(unknown source)     @ java.lang.integer.compareto(unknown source) 

i edited code, deleted no methods changed name of 1 or two, , now...boom! nothing works ! annoying because had working, went , commented , can't see whats changed...help ? :)

you're trying this:

integer = null; integer j = 42; i.compareto(j); // throws nullpointerexception since null 

or this:

integer = 21; integer j = null; i.compareto(j); // throws nullpointerexception since j null 

but haven't shown code.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -