Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception when saving project #4

Closed
GoogleCodeExporter opened this issue Apr 20, 2016 · 2 comments
Closed

exception when saving project #4

GoogleCodeExporter opened this issue Apr 20, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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

@GoogleCodeExporter
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant