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.
Build: NetBeans IDE 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13 OS: Linux, 2.6.9-67.0.15.EL.cernsmp, i386 User Comments: GUEST: I was changing the name of the include file from stdint.h to sys/types GUEST: I just opened a small C-file I am going to implement: #include "binarytree.h" struct item { int value; struct item* left; struct item* right; }; void tree_insert(struct item** root, struct item* item) { if (*root == NULL) { *root = item; } } int main(int argc, char**argv) { } Stacktrace: java.lang.NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.NamespaceImpl.findUidsByPrefix(NamespaceImpl.java:250) at org.netbeans.modules.cnd.modelimpl.impl.services.SelectImpl.analyzeFilter(SelectImpl.java:175) at org.netbeans.modules.cnd.modelimpl.impl.services.SelectImpl.getDeclarations(SelectImpl.java:119) at org.netbeans.modules.cnd.api.model.services.CsmSelect$Default.getDeclarations(CsmSelect.java:157) at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.filterDeclarations(CsmProjectContentResolver.java:1224) at org.netbeans.modules.cnd.completion.csm.CsmProjectContentResolver.getNamespaceMembers(CsmProjectContentResolver.java:1194)
Created attachment 73965 [details] stacktrace
*** Issue 153566 has been marked as a duplicate of this issue. ***
seems problem on getting declaration container. will add recovery for getDeclarationsSorage() returning 'null'
fixed http://hg.netbeans.org/main?cmd=changeset;node=254a08a76aff
correct commit is http://hg.netbeans.org/main?cmd=changeset;node=46525fbb9645
Integrated into 'main-golden', will be available in build *200811231401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/46525fbb9645 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed IZ#153567: NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.NamespaceImpl.findUidsByPrefix - recover in case of broken storage
Should be backported to 6.5 tree in order to fix the issue to current users.
To be backported into 6.5 branch the issue should be fixed and verified in trunk. It's need not to reopen the issue for this purpose.
Netbeans IDE states no updates available but the error still shows
Has it been fixed in 7.0? If so, then please put NO70 keyword here
This issue is nominated to be included into patch3 for NB6.5. Unfortunately for now we don't know the exact date of patch3 release. Please do not reopen the issue unless it's reproducible in NetBeans 7.0 (trunk).
verified in build 200902260201
integrated into release65_fixes with: http://hg.netbeans.org/release65_fixes/rev/3f30d084d1a3