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.
This issue was reported manually by vv159170. It already has 1 duplicates Build: NetBeans IDE 7.0 (Build 201104080000) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13 OS: SunOS User Comments: GUEST: Right clicked in the NAvigator and click Find Usages for a variable. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.cnd.modelutil.CsmDisplayUtilities.getContextLineHtml(CsmDisplayUtilities.java:105) at org.netbeans.modules.cnd.api.model.xref.CsmReferenceSupport.getContextLineHtml(CsmReferenceSupport.java:91) at org.netbeans.modules.cnd.refactoring.elements.CsmRefactoringElementImpl.create(CsmRefactoringElementImpl.java:98) at org.netbeans.modules.cnd.refactoring.plugins.CsmWhereUsedQueryPlugin.processIncludeQuery(CsmWhereUsedQueryPlugin.java:331) at org.netbeans.modules.cnd.refactoring.plugins.CsmWhereUsedQueryPlugin.doPrepareElements(CsmWhereUsedQueryPlugin.java:126) at org.netbeans.modules.cnd.refactoring.plugins.CsmWhereUsedQueryPlugin.prepare(CsmWhereUsedQueryPlugin.java:109)
Created attachment 110063 [details] stacktrace
fixed, change set: http://hg.netbeans.org/cnd-main/rev/d5b47419b7ac VV please review fix.
fix is safe and correct
transplanted in releases_elif branch release701_fixes d5b47419b7ac transplanted to 4a1820c5aae7
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/d5b47419b7ac User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #201073 NullPointerException at org.netbeans.modules.cnd.modelutil.CsmDisplayUtilities.getContextLineHtml
verified in oss-platform-build #59 and sputnik-solstudio-main #3283
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/4a1820c5aae7 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #201073 NullPointerException at org.netbeans.modules.cnd.modelutil.CsmDisplayUtilities.getContextLineHtml (transplanted from d5b47419b7acbc0afdd248bb942c21368cc607a9)
verified in OSS dev build based on 7.0.1 patch2