I am getting an error that i do not know how to interpret... ****************************** Source not found ------------------------------- The source attachment does not contain the source for the file System.class. You can change the source attachment by clicking Change Attached Source below. <Change Attached Source button> ------------------------------- ****************************** Below the Change Attached Source button, there appears to be some sort of stack trace. I am using eclipse, so I'm wonering if this is a fatal java error or something that i have (not) done with my eclipse configuration.
Can someone please translate this into rookie-speak?
Yes. Your program failed. The debugger is attempting to halt execution at the point of failure and open the failing source code, but you don't have source code available for the failing program component. That's most likely because the failing component is either one of the Sun classes or a third-party library.
If you have source code for the failing component, you can tell Eclipse where it is and the source window will open up. Otherwise, you're pretty much out of luck. Press F8 to continue program execution and the exception will percolate out to a higher-level catch clause or all the way out of the application. The stack trace will tell you about the reason for failure.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Nov 15, 2007
Thanks, Tim, for the explanation. I've been trying to update my info on the problem for a couple days...but you've been busy (now where did I put my checkbook??)
I had hoped that it was a configuration issue, but the more I fiddle with my program, the more I am not so sure... My little application works just fine the first time through my break-points. It is on the second pass that the failure occurs. If I continue after the 'editor failure' I get this error: java.lang.ArrayStoreException at java.lang.System.arraycopy(Native Method) at java.util.Vector.toArray(Unknown Source) at cp.checkPreExistAlarm(cp.java:219) at cp.main(cp.java:180) What my application does is load a vector with a 'history' file then loads another vector with a 'update' file. Then the history file is parsed (via my checkPreExistAlarm method) for each element in the update file; if a pre-existing history-element is found then I call a method that updates a 'hit' count (each element in the history file has a hit-count-field). I suspect that my update-hit-count method is causing my troubles (that's why this originally went into the "beginner's" saloon) because for each call to the update-hit-count, I pass the newly-updated history vector. Before I added the update-hit-count method, my application worked as I expected. So... my big question: Should I get my source together and put this back into the beginner's saloon or could my root-cause be something in eclipse that is not quite configured? Thanks, again for your time!