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
Post a Comment