This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 128709

Summary: NPE caused by DependencyPanel$UserTaskTreeCellRenderer
Product: contrib Reporter: _ moser <moser>
Component: TasklistAssignee: Tim Lebedkov <lebedkov>
Status: NEW ---    
Severity: blocker CC: noot
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=18685
Issue Type: DEFECT Exception Reporter: 18685
Attachments: Patch for fixing the problem
stacktrace

Description _ moser 2008-02-28 15:22:55 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.5.0_12-b04
OS: Linux, 2.6.23.12-52.fc7, i386
User comments: Pressed the "Add" button on the Dependencies tab of a selected user task
Same reason as in http://www.netbeans.org/issues/show_bug.cgi?id=119666
STACKTRACE: (first 10 lines)
java.lang.NullPointerException
        at javax.swing.ImageIcon.loadImage(ImageIcon.java:241)
        at javax.swing.ImageIcon.setImage(ImageIcon.java:280)
        at
org.netbeans.modules.tasklist.usertasks.dependencies.DependencyPanel$UserTaskTreeCellRenderer.getTreeCellRendererComponent(DependencyPanel.java:63)
        at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2693)
        at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
        at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
        at javax.swing.tree.VariableHeightLayoutCache.updateNodeSizes(VariableHeightLayoutCache.java:900)
        at javax.swing.tree.VariableHeightLayoutCache.invalidateSizes(VariableHeightLayoutCache.java:354)
        at javax.swing.plaf.basic.BasicTreeUI.setCellRenderer(BasicTreeUI.java:374)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(BasicTreeUI.java:3384)
Comment 1 _ moser 2008-02-28 15:26:22 UTC
Created attachment 57459 [details]
Patch for fixing the problem
Comment 2 giorgio42 2010-01-13 04:08:51 UTC
Just ran into this.

Almost 2 years old and no Target Milestone (another abandoned project ?)
Comment 3 Tim Lebedkov 2010-01-13 07:33:07 UTC
I do not develop the module anymore.
Comment 4 Exceptions Reporter 2011-12-26 22:03:03 UTC
Created attachment 114462 [details]
stacktrace

using the show task plugin, i attempted to add a dependency and recived a null pointer exception.