exception when saving project
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
What steps will reproduce the problem?
Run FindBugs GUI on the "mail" module of Project GlassFish
(http://glassfish.dev.java.net). I don't remember everything
I did to get into this situation.
What is the expected output? What do you see instead?
I got this exception when trying to save the project:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at
edu.umd.cs.findbugs.SortedBugCollection.writePrologue(SortedBugCollection.java:2
79)
at
edu.umd.cs.findbugs.SortedBugCollection.writeXML(SortedBugCollection.java:328)
at
edu.umd.cs.findbugs.SortedBugCollection.writeXML(SortedBugCollection.java:265)
at edu.umd.cs.findbugs.gui2.BugSaver.saveBugs(BugSaver.java:53)
at edu.umd.cs.findbugs.gui2.BugSaver.saveBugs(BugSaver.java:63)
at edu.umd.cs.findbugs.gui2.MainFrame.save(MainFrame.java:1930)
at edu.umd.cs.findbugs.gui2.MainFrame.access$1300(MainFrame.java:127)
at
edu.umd.cs.findbugs.gui2.MainFrame$12.actionPerformed(MainFrame.java:611)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.jav
a:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:2
42)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163
)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at
edu.umd.cs.findbugs.SortedBugCollection.writePrologue(SortedBugCollection.java:2
79)
at
edu.umd.cs.findbugs.SortedBugCollection.writeXML(SortedBugCollection.java:328)
at
edu.umd.cs.findbugs.SortedBugCollection.writeXML(SortedBugCollection.java:265)
at edu.umd.cs.findbugs.gui2.BugSaver.saveBugs(BugSaver.java:53)
at edu.umd.cs.findbugs.gui2.BugSaver.saveBugs(BugSaver.java:63)
at edu.umd.cs.findbugs.gui2.MainFrame.save(MainFrame.java:1930)
at edu.umd.cs.findbugs.gui2.MainFrame.access$1300(MainFrame.java:127)
at
edu.umd.cs.findbugs.gui2.MainFrame$12.actionPerformed(MainFrame.java:611)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.jav
a:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:2
42)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163
)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
What version of the product are you using? On what operating system?
FindBugs 1.1.1, JDK 1.5.0_07, Solaris 10
Please provide any additional information below.
Original issue reported on code.google.com by bs00...@gmail.com
on 23 Oct 2006 at 8:27
Google Code Exporter commented
I can't figure out how this could happen (the project being null at this
point). I've put in a stop gap measure that
will create a project if the project is null when the bugs are saved, but will
also print out a warning msg to see if
we can get this down to something I can reproduce.
Original comment by bill.p...@gmail.com
on 6 Dec 2006 at 3:38
Google Code Exporter commented
Thanks for the report, but please report this bug at sourceforge bug tracker
again. This tracker is not used / monitored.
Original comment by iloveeclipse
on 23 Nov 2011 at 10:04
- Changed state: Invalid