Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#19 Crash, related to changing Look & Feel

closed-fixed
Interface (9)
5
6 days ago
2009-11-18
Dave Ferguson
No

Using 1.0-RC1 on WinXP. During a scan, you can change the Look & Feel. Unfortunately I have found that if you do this, it will cause a crash
(NullPointerException) when clicking the "Report" button. I have been able to reproduce this consistently by starting a scan, changing the Look & Feel, stopping the scan, and clicking the Report button. It is bad because you lose all your results. Below is a sample stack trace.

File found: /bank/customize.aspx.cs - 302
DirBuster Stopped
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at
com.jgoodies.looks.plastic.PlasticComboBoxUI.getMinimumSize(PlasticCo
mboBoxUI.java:226)
at
com.jgoodies.looks.plastic.PlasticComboBoxUI.getPreferredSize(Plastic
ComboBoxUI.java:250)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at
org.jdesktop.layout.GroupLayout$ComponentSpring.calculateNonlinkedPre
ferredSize(GroupLayout.java:2705)
at
org.jdesktop.layout.GroupLayout$ComponentSpring.calculateNonlinkedMin
imumSize(GroupLayout.java:2691)
at
org.jdesktop.layout.GroupLayout$ComponentSpring.calculateMinimumSize(
GroupLayout.java:2658)
at
org.jdesktop.layout.GroupLayout$Spring.getMinimumSize(GroupLayout.jav
a:1169)
at
org.jdesktop.layout.GroupLayout$ComponentSpring.calculatePreferredSiz
e(GroupLayout.java:2665)
at
org.jdesktop.layout.GroupLayout$Spring.getPreferredSize(GroupLayout.j
ava:1179)
at
org.jdesktop.layout.GroupLayout$Group.getSpringSize(GroupLayout.java:
1360)
at
org.jdesktop.layout.GroupLayout$Group.calculateSize(GroupLayout.java:
1345)
at
org.jdesktop.layout.GroupLayout$Group.calculatePreferredSize(GroupLay
out.java:1313)
at
org.jdesktop.layout.GroupLayout$Spring.getPreferredSize(GroupLayout.j
ava:1179)
at
org.jdesktop.layout.GroupLayout$Group.getSpringSize(GroupLayout.java:
1360)
at
org.jdesktop.layout.GroupLayout$Group.calculateSize(GroupLayout.java:
1342)
at
org.jdesktop.layout.GroupLayout$Group.calculatePreferredSize(GroupLay
out.java:1313)
at
org.jdesktop.layout.GroupLayout$Spring.getPreferredSize(GroupLayout.j
ava:1179)
at
org.jdesktop.layout.GroupLayout$Group.getSpringSize(GroupLayout.java:
1360)
at
org.jdesktop.layout.GroupLayout$Group.calculateSize(GroupLayout.java:
1342)
at
org.jdesktop.layout.GroupLayout$Group.calculatePreferredSize(GroupLay
out.java:1313)
at
org.jdesktop.layout.GroupLayout$Spring.getPreferredSize(GroupLayout.j
ava:1179)
at
org.jdesktop.layout.GroupLayout$Group.getSpringSize(GroupLayout.java:
1360)
at
org.jdesktop.layout.GroupLayout$Group.calculateSize(GroupLayout.java:
1340)
at
org.jdesktop.layout.GroupLayout$Group.calculatePreferredSize(GroupLay
out.java:1313)
at
org.jdesktop.layout.GroupLayout$Spring.getPreferredSize(GroupLayout.j
ava:1179)
at
org.jdesktop.layout.GroupLayout$Group.getSpringSize(GroupLayout.java:
1360)
at
org.jdesktop.layout.GroupLayout$Group.calculateSize(GroupLayout.java:
1340)
at
org.jdesktop.layout.GroupLayout$Group.calculatePreferredSize(GroupLay
out.java:1313)
at
org.jdesktop.layout.GroupLayout$Spring.getPreferredSize(GroupLayout.j
ava:1179)
at
org.jdesktop.layout.GroupLayout$SequentialGroup.setValidSize(GroupLay
out.java:1745)
at
org.jdesktop.layout.GroupLayout$Group.setSize(GroupLayout.java:1298)
at
org.jdesktop.layout.GroupLayout.calculateAutopadding(GroupLayout.java
:977)
at
org.jdesktop.layout.GroupLayout.layoutContainer(GroupLayout.java:814)

at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at
com.sittinglittleduck.DirBuster.gui.StartGUI.showReporting(StartGUI.j
ava:535)
at
com.sittinglittleduck.DirBuster.gui.JPanelRunning.jButtonReportAction
Performed(JPanelRunning.java:649)
at
com.sittinglittleduck.DirBuster.gui.JPanelRunning.access$1400(JPanelR
unning.java:48)
at
com.sittinglittleduck.DirBuster.gui.JPanelRunning$14.actionPerformed(
JPanelRunning.java:313)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown
Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Discussion

  • fixed using code supplied by Mark Frederick, Manpreet Sall & Piper Gordon

     
    • status: open --> closed-fixed