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 - NPE caused by DependencyPanel$UserTaskTreeCellRenderer
Summary: NPE caused by DependencyPanel$UserTaskTreeCellRenderer
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Tasklist (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Tim Lebedkov
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-28 15:22 UTC by _ moser
Modified: 2011-12-26 22:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 18685


Attachments
Patch for fixing the problem (1.30 KB, patch)
2008-02-28 15:26 UTC, _ moser
Details | Diff
stacktrace (9.34 KB, text/plain)
2011-12-26 22:03 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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.