|
From: <no...@so...> - 2002-07-01 23:30:24
|
Bugs item #576179, was opened at 2002-07-01 18:30 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=576179&group_id=44253 Category: Interactions Group: Makes DrJ unstable Status: Open Resolution: None Priority: 5 Submitted By: Christopher Haynes (chaynes) Assigned to: Nobody/Anonymous (nobody) Summary: stack trace error Initial Comment: Entering the interaction TestApplet.test(new MagnetGame(), 400, 400) and playing with the applet resulted in a null pointer exception (obvious errors by beginners). The exception shows up in the console window, but not the interactions window, which is quite unfortunate for the student. And when I click in the interactions window after clicking in the applet, I get the following using the 6/17 version of drjava (in Windows XP). This is still an improvement on the earlier version of drjava the students are using, which hung in a similar situation. Does the reset interactions command kill all threads from privious interactions? It should. Stack Trace: java.lang.ArrayIndexOutOfBoundsException at javax.swing.text.CompositeView.getView (CompositeView.java:143) at javax.swing.text.FlowView$FlowStrategy.createView (FlowView.java:567) at javax.swing.text.FlowView$FlowStrategy.layoutRow (FlowView.java:441) at javax.swing.text.FlowView$FlowStrategy.layout (FlowView.java:397) at javax.swing.text.FlowView.layout (FlowView.java:182) at javax.swing.text.BoxView.setSize (BoxView.java:379) at javax.swing.text.BoxView.viewToModel (BoxView.java:475) at javax.swing.text.CompositeView.viewToModel (CompositeView.java:408) at javax.swing.text.BoxView.viewToModel (BoxView.java:477) at javax.swing.plaf.basic.BasicTextUI$RootView.viewToMod el(BasicTextUI.java:1366) at javax.swing.plaf.basic.BasicTextUI.viewToModel (BasicTextUI.java:919) at javax.swing.text.DefaultCaret.positionCaret (DefaultCaret.java:219) at javax.swing.text.DefaultCaret.adjustCaret (DefaultCaret.java:367) at javax.swing.text.DefaultCaret.adjustCaretAndFocus (DefaultCaret.java:355) at javax.swing.text.DefaultCaret.mouseClicked (DefaultCaret.java:294) at java.awt.AWTEventMulticaster.mouseClicked (AWTEventMulticaster.java:208) at java.awt.AWTEventMulticaster.mouseClicked (AWTEventMulticaster.java:207) at java.awt.Component.processMouseEvent (Component.java:5024) at java.awt.Component.processEvent (Component.java:4818) at java.awt.Container.processEvent (Container.java:1380) at java.awt.Component.dispatchEventImpl (Component.java:3526) at java.awt.Container.dispatchEventImpl (Container.java:1437) at java.awt.Component.dispatchEvent (Component.java:3367) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:3214) at java.awt.LightweightDispatcher.processMouseEvent (Container.java:2938) at java.awt.LightweightDispatcher.dispatchEvent (Container.java:2859) at java.awt.Container.dispatchEventImpl (Container.java:1423) at java.awt.Window.dispatchEventImpl (Window.java:1566) at java.awt.Component.dispatchEvent (Component.java:3367) at java.awt.EventQueue.dispatchEvent (EventQueue.java:445) at java.awt.EventDispatchThread.pumpOneEventForHierarc hy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:138) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:130) at java.awt.EventDispatchThread.run (EventDispatchThread.java:98) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=576179&group_id=44253 |