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 2 duplicates Build: NetBeans IDE 7.0 (Build 201104080000) VM: Java HotSpot(TM) 64-Bit Server VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06 OS: Windows 7 User Comments: GUEST: same thing GUEST: Attempting to refactor/rename a value in an enum.. immediately after succesfully renaming another one Stacktrace: java.lang.NullPointerException at org.netbeans.modules.cnd.completion.impl.xref.FileReferencesContext.putHotSpotEnum(FileReferencesContext.java:147) at org.netbeans.modules.cnd.completion.csm.CompletionResolverImpl.getGlobalEnumerators(CompletionResolverImpl.java:968) at org.netbeans.modules.cnd.completion.csm.CompletionResolverImpl.resolveContext(CompletionResolverImpl.java:583) at org.netbeans.modules.cnd.completion.csm.CompletionResolverImpl.resolveContext(CompletionResolverImpl.java:254) at org.netbeans.modules.cnd.completion.csm.CompletionResolverImpl.resolve(CompletionResolverImpl.java:204) at org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.resolve(CsmCompletionQuery.java:900)
Created attachment 110072 [details] stacktrace
fixed, change set: http://hg.netbeans.org/cnd-main/rev/3557e2ab95b9
fix is safe and correct
integrated releases_elif/rev/38db8297d003
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/3557e2ab95b9 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #201083 NullPointerException at org.netbeans.modules.cnd.completion.impl.xref.FileReferencesContext.putHotSpotEnum
can not reproduce in oss-platform-build #66 (20110921)
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/38db8297d003 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #201083 NullPointerException at org.netbeans.modules.cnd.completion.impl.xref.FileReferencesContext.putHotSpotEnum (transplanted from 3557e2ab95b956b28942c51a424ea76b9290e9aa)
can not reproduce in OSS dev build based on 7.0.1 patch2