Bugs item #510361, was opened at 2002-01-29 13:39
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=438935&aid=510361&group_id=44253
Category: Compiler integration
Group: Makes DrJ unstable
Status: Open
Resolution: None
Priority: 5
Submitted By: Brian Stoler (brianstoler)
Assigned to: Nobody/Anonymous (nobody)
Summary: OutOfMemory error when compiling
Initial Comment:
I tried to compile a file that was just "/**" and got this:
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
java.lang.NullPointerException
at
edu.rice.cs.drjava.model.compiler.CompilerError.toString(CompilerError.java:89)
at java.lang.String.valueOf(String.java:2173)
at java.lang.StringBuffer.append(StringBuffer.java:369)
at
edu.rice.cs.drjava.ui.CompilerErrorPanel$ErrorListPane._getIndexForError(CompilerErrorPanel.java:358)
at
edu.rice.cs.drjava.ui.CompilerErrorPanel$ErrorListPane.selectItem(CompilerErrorPanel.java:562)
at
edu.rice.cs.drjava.ui.CompilerErrorPanel$ErrorListPane.switchToError(CompilerErrorPanel.java:641)
at
edu.rice.cs.drjava.ui.CompilerErrorPanel$ErrorListPane.switchToError(CompilerErrorPanel.java:652)
at
edu.rice.cs.drjava.ui.CompilerErrorPanel$ErrorListPane._updateWithErrors(CompilerErrorPanel.java:510)
at
edu.rice.cs.drjava.ui.CompilerErrorPanel$ErrorListPane.updateListPane(CompilerErrorPanel.java:380)
at
edu.rice.cs.drjava.ui.CompilerErrorPanel.reset(CompilerErrorPanel.java:208)
at
edu.rice.cs.drjava.ui.MainFrame$ModelListener.compileEnded(MainFrame.java:948)
at
edu.rice.cs.drjava.model.DefaultGlobalModel$13.notifyListener(DefaultGlobalModel.java:791)
at
edu.rice.cs.drjava.model.DefaultGlobalModel.notifyListeners(DefaultGlobalModel.java:1204)
at
edu.rice.cs.drjava.model.DefaultGlobalModel$DefinitionsDocumentHandler.startCompile(DefaultGlobalModel.java:789)
at
edu.rice.cs.drjava.ui.MainFrame._compile(MainFrame.java:474)
at
edu.rice.cs.drjava.ui.MainFrame.access$600(MainFrame.java:56)
at
edu.rice.cs.drjava.ui.MainFrame$9.actionPerformed(MainFrame.java:168)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
at java.awt.Component.processMouseEvent(Component.java:5021)
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:2929)
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.pumpOneEventForHierarchy(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:
http://sourceforge.net/tracker/?func=detail&atid=438935&aid=510361&group_id=44253
|