JSwat Bug When Loading ClassLoader

Wilson Jimmy - jiwils <[email protected]> Tue, 29 Apr 2003 13:40:01 -0500
Newsgroups gmane.comp.java.jswat.user
Message-ID <3E54A6BA1EAFD311AD75009027DEA5C0185D7FE8@conmsx04.corp.acxiom.net>
When trying to load the a line like A a = new A() when the debugger tries to
load the source for the ClassLoader (I think that is what it is trying to
do), the ClassLoader source is not loaded, the debugger acts frozen (the
busy cursor does not go away), and the following error message is printed in
the messages tab:

[main] ClassLoader.loadClassInternal (ClassLoader.java:315)
java.lang.reflect.InvocationTargetException
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:818)
	at
javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1207)
	at
com.bluemarsh.jswat.ui.graphical.GraphicalAdapter.showFile(GraphicalAdapter.
java:695)
	at
com.bluemarsh.jswat.BasicSession.showSourceFile(BasicSession.java:713)
	at
com.bluemarsh.jswat.BasicSession.handleDebugEvent(BasicSession.java:505)
	at
com.bluemarsh.jswat.BasicSession.eventOccurred(BasicSession.java:373)
	at
com.bluemarsh.jswat.event.VMEventManager.processEvent(VMEventManager.java:25
7)
	at
com.bluemarsh.jswat.event.VMEventManager.run(VMEventManager.java:381)
	at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.NullPointerException
	at com.bluemarsh.jswat.view.SourceView.<init>(SourceView.java:121)
	at
com.bluemarsh.jswat.view.JavaSourceView.<init>(JavaSourceView.java:74)
	at com.bluemarsh.jswat.view.ViewFactory.create(ViewFactory.java:81)
	at
com.bluemarsh.jswat.ui.graphical.GraphicalAdapter.showFile0(GraphicalAdapter
.java:736)
	at
com.bluemarsh.jswat.ui.graphical.GraphicalAdapter$2.run(GraphicalAdapter.jav
a:681)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:197)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:150)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

What might this mean?  Is this a bug in JSwat, or is something else wrong?

Jimmy
-- 
James "Jimmy" Wilson
Software Developer, Acxiom Corporation





**********************************************************************
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.