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 193480 - NullPointerException at org.netbeans.modules.cnd.gotodeclaration.matcher.NameMatcherFactory.createNameFilter
Summary: NullPointerException at org.netbeans.modules.cnd.gotodeclaration.matcher.Name...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
: 193719 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-16 08:01 UTC by babicka_baba
Modified: 2010-12-22 03:51 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 175056


Attachments
stacktrace (608 bytes, text/plain)
2010-12-16 08:01 UTC, babicka_baba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description babicka_baba 2010-12-16 08:01:21 UTC
This bug was originally marked as duplicate of bug 185382, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.9.1 (Build 201011082200)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows 7

User Comments:
nleck: go to type

hair: Navigate --> Go to Type...
start typing and exception occurs.

Impossible to use "Go to Type" action.

babicka_baba: Started NetBeans after automatic upgrade to latest version of several packages.

nleck: go to type




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.gotodeclaration.matcher.NameMatcherFactory.createNameFilter(NameMatcherFactory.java:54)
   at org.netbeans.modules.cnd.gotodeclaration.type.CppTypeProvider.computeTypeNames(CppTypeProvider.java:83)
   at org.netbeans.modules.jumpto.type.GoToTypeAction$Worker.getTypeNames(GoToTypeAction.java:492)
   at org.netbeans.modules.jumpto.type.GoToTypeAction$Worker.run(GoToTypeAction.java:410)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1957)
Comment 1 babicka_baba 2010-12-16 08:01:24 UTC
Created attachment 104144 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2010-12-16 10:05:53 UTC
fixed in 7.0
now we use common factory for all languages
Comment 3 babicka_baba 2010-12-17 16:41:26 UTC
Activating the C++ plugin resolves the problem. Deactivating the plugin again does not introduce the bug again. So solved for now.
Comment 4 Vladimir Voskresensky 2010-12-22 03:51:55 UTC
*** Bug 193719 has been marked as a duplicate of this bug. ***