java - How do I deal with a ClassNotLoadedException while debugging? -




so i'm (remotely) debugging java/jboss application in eclipse, stepping through line line. @ 1 point, array of gridsquare objects (gridsquare simple, standalone class, contains few properties , methods) created method call, i.e:

gridsquare[] squares = this.thegrid.getsquares(14, 18, 220, 222);

...while when execute code, squares array populated gridsquare objects, odd when stepping through code , debugging. @ breakpoint on line following assignment shown above, if try view squares array, instead of value this:

org.eclipse.debug.core.debugexception: com.sun.jdi.classnotloadedexception: type has not been loaded occurred while retrieving component type of array.

...anyone know that's about?

basically means class loader has not loaded gridsquare[] class. being said sounds bug in debugger in way. breakpoint association code seems broken. either need recompile line numbers in sync or other issue going on. @ point in code (after assignment) needs loaded. unless getsquares returns subclass (gridsquaresubclass[]) @ point jvm may not have loaded because doesn't need (yet).





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -