|
From: SourceForge.net <no...@so...> - 2009-02-20 17:17:34
|
Bugs item #2620601, was opened at 2009-02-20 11:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2620601&group_id=44253 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Language Levels Group: 4: Serious Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mathias Ricken (mgricken) Assigned to: Nobody/Anonymous (nobody) Summary: NullPointerException on Compile All Initial Comment: Set language level to elementary and open the *.dj0 files in the lists directory. Hit "compile all". The compiler error panel will report a NullPointerException with no source file or line number. This isn't a compiler error actually, it is a DrJava bug. If the stack trace of the NullPointerException is printed, it reveals the origin: java.lang.NullPointerException at edu.rice.cs.javalanglevels.LanguageLevelConverter.convert(LanguageLevelConverter.java:214) at edu.rice.cs.drjava.model.compiler.DefaultCompilerModel._compileLanguageLevelsFiles(DefaultCompilerModel.java:346) at edu.rice.cs.drjava.model.compiler.DefaultCompilerModel._compileFiles(DefaultCompilerModel.java:312) at edu.rice.cs.drjava.model.compiler.DefaultCompilerModel._doCompile(DefaultCompilerModel.java:240) at edu.rice.cs.drjava.model.compiler.DefaultCompilerModel.compileAll(DefaultCompilerModel.java:141) at edu.rice.cs.drjava.ui.MainFrame._compileAll(MainFrame.java:5226) at edu.rice.cs.drjava.ui.MainFrame.access$4800(MainFrame.java:116) at edu.rice.cs.drjava.ui.MainFrame$51.actionPerformed(MainFrame.java:819) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5583) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5348) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4050) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3885) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1791) at java.awt.Component.dispatchEvent(Component.java:3885) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) I'm changing the DrJava code for handling exceptions in our source code to treat them as bugs, bring up the error window and show the stack trace. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2620601&group_id=44253 |