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 210839 - NullPointerException at org.netbeans.spi.java.project.support.ui.TreeRootNode$PackageFilterNode.getShortDescription
Summary: NullPointerException at org.netbeans.spi.java.project.support.ui.TreeRootNode...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: All All
: P1 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-06 20:56 UTC by MackSix
Modified: 2012-04-25 10:09 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186758


Attachments
stacktrace (1.67 KB, text/plain)
2012-04-06 20:56 UTC, MackSix
Details
stacktrace (1.67 KB, text/plain)
2012-04-06 21:02 UTC, MackSix
Details
Project to use for reproduction. (78.94 KB, application/zip)
2012-04-06 21:08 UTC, MackSix
Details
stacktrace (1.67 KB, text/plain)
2012-04-10 14:17 UTC, stefan79
Details
stacktrace (2.83 KB, text/plain)
2012-04-11 07:59 UTC, ehsavoie
Details
stacktrace (2.83 KB, text/plain)
2012-04-11 14:11 UTC, stefan79
Details
stacktrace (2.86 KB, text/plain)
2012-04-16 02:11 UTC, pblakez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2012-04-06 20:56:51 UTC
Build: NetBeans IDE Dev (Build 201204060400)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows Vista

User Comments:
MackSix: Opened up 3 JavaSE projects and was checking out the List and Tree views in Project Window. I had just expaneded a node and was looking at it and this NullPointerException occured. v7.2 Dev 201204060400 on Vista




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.spi.java.project.support.ui.TreeRootNode$PackageFilterNode.getShortDescription(TreeRootNode.java:598)
   at org.openide.nodes.FilterNode.getShortDescription(FilterNode.java:556)
   at org.openide.explorer.view.VisualizerNode.getShortDescription(VisualizerNode.java:211)
   at org.openide.explorer.view.TreeView$ExplorerTree.getToolTipText(TreeView.java:2152)
   at javax.swing.ToolTipManager$insideTimerAction.actionPerformed(ToolTipManager.java:629)
   at javax.swing.Timer.fireActionPerformed(Timer.java:312)
Comment 1 MackSix 2012-04-06 20:56:56 UTC
Created attachment 117958 [details]
stacktrace
Comment 2 MackSix 2012-04-06 21:02:23 UTC
Created attachment 117959 [details]
stacktrace

Restarted NetBeans and it is still throwing this NullPointerException over and over again.
Comment 3 MackSix 2012-04-06 21:08:10 UTC
Created attachment 117960 [details]
Project to use for reproduction.

1.) Open attached project in NetBeans Dev (Build 201204060400).
2.) View in Projects Window in Tree View.
3.) Open Source Packages nodes and try to drag & drop NewClass.java from folder "newpackage.bb.cc" to folder "mypackage.aa".

This Error occurs.
Comment 4 stefan79 2012-04-10 14:17:24 UTC
Created attachment 118068 [details]
stacktrace
Comment 5 Tomas Zezula 2012-04-10 15:03:15 UTC
Fixed jet-main 3bd0833b13de
Comment 6 ehsavoie 2012-04-11 07:59:24 UTC
Created attachment 118110 [details]
stacktrace
Comment 7 Exceptions Reporter 2012-04-11 07:59:42 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=186758
Comment 8 stefan79 2012-04-11 14:11:26 UTC
Created attachment 118137 [details]
stacktrace
Comment 9 Quality Engineering 2012-04-12 09:56:21 UTC
Integrated into 'main-golden', will be available in build *201204120400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3bd0833b13de
User: Tomas Zezula <tzezula@netbeans.org>
Log: #210839:NullPointerException at org.netbeans.spi.java.project.support.ui.TreeRootNode$PackageFilterNode.getShortDescription
Comment 10 pblakez 2012-04-16 02:11:24 UTC
Created attachment 118295 [details]
stacktrace

expanding project tree view (view package as is Tree)
Comment 11 pblakez 2012-04-17 02:10:44 UTC
marked as resolved in build 201204120400
but this occurred in netbeans-trunk-nightly-201204160400-ml-javaee-windows.exe ?
Comment 12 pblakez 2012-04-24 23:58:07 UTC
I am using the latest build and this is still occuring

This should be reopened
Comment 13 MackSix 2012-04-25 00:47:53 UTC
(In reply to comment #12)
> I am using the latest build and this is still occuring
> 
> This should be reopened

If you can post exact steps to reproduce it, then reopen it.
Comment 14 Tomas Zezula 2012-04-25 10:09:33 UTC
Cannot reproduce and also looking at the code I doubt it's possible.