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 149869 - *Find Usages*: 'Show Logical/Physical View' button throws NPE
Summary: *Find Usages*: 'Show Logical/Physical View' button throws NPE
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
: 149867 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-11 18:03 UTC by dnikitin
Modified: 2008-10-17 12:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dnikitin 2008-10-11 18:03:08 UTC
Product Version: NetBeans IDE Dev (Build 200810101401)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)
---------------------------------------------------------------

-- invoke Find Usages
-- switch between Logical/Physical View on Usages window
==> NPE

java.lang.NullPointerException
	at org.netbeans.modules.cnd.refactoring.ui.tree.FileTreeElement.<init>(FileTreeElement.java:75)
	at org.netbeans.modules.cnd.refactoring.ui.tree.TreeElementFactoryImpl.getTreeElement(TreeElementFactoryImpl.java:105)
	at org.netbeans.modules.refactoring.spi.ui.TreeElementFactory.getTreeElement(TreeElementFactory.java:66)
	at org.netbeans.modules.refactoring.javascript.ui.tree.FileTreeElement.getParent(FileTreeElement.java:69)
	at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:435)
	at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:440)
	at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:440)
	at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.access$800(RefactoringPanel.java:87)
	at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$5.run(RefactoringPanel.java:685)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 dnikitin 2008-10-11 18:07:19 UTC
*** Issue 149867 has been marked as a duplicate of this issue. ***
Comment 2 Vladimir Voskresensky 2008-10-13 01:06:40 UTC
Please, provide example project and which is object was looked for.
I can't reproduce it yet...
Comment 3 Vladimir Voskresensky 2008-10-14 16:36:00 UTC
fixed in trunk, QA, please check
http://hg.netbeans.org/main?cmd=changeset;node=af88fe5faffe
Comment 4 Quality Engineering 2008-10-15 04:44:52 UTC
Integrated into 'main-golden', will be available in build *200810150201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/af88fe5faffe
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed IZ#149869: Find Usages - 'Show Logical/Physical View' button throws NPE
Comment 5 soldatov 2008-10-15 15:30:16 UTC
verified in build from trunk
Comment 6 Egor Ushakov 2008-10-15 15:49:22 UTC
fix reviewed and approved
Comment 7 Alexander Pepin 2008-10-15 22:30:01 UTC
The issue prevents users from opening 'Logical View' in Find usages tab and strongly affects upcoming SSX1108 so it is a
showstopper for RC1. 
Comment 8 Alexander Pepin 2008-10-16 07:56:34 UTC
Reopen issue so that it will be visible in dashboards.
Comment 9 Petr Blaha 2008-10-16 09:28:18 UTC
Please, push the fix in release65 clone ASAP. Thanks
Comment 10 Vladimir Voskresensky 2008-10-16 11:41:10 UTC
no more need to wait for 24 hours?
Comment 11 Petr Blaha 2008-10-16 11:58:11 UTC
No, we need to run new build today evening. I hope review by your colleague is sufficient. 
Comment 12 Vladimir Voskresensky 2008-10-16 13:01:17 UTC
integrated into release65 branch
http://hg.netbeans.org/release65?cmd=changeset;node=e5cc833e101b
Comment 13 soldatov 2008-10-17 09:51:37 UTC
verified in RC1
Comment 14 Alexander Pepin 2008-10-17 12:54:37 UTC
verifyed in rc1 20081017