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 214804 - NullPointerException at org.netbeans.modules.cnd.makeproject.source.bridge.DocumentLanguageFlavorProvider$ListenerImpl.<init>
Summary: NullPointerException at org.netbeans.modules.cnd.makeproject.source.bridge.Do...
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.2
Hardware: All All
: P1 normal with 1 vote (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
: 215599 215600 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-26 14:53 UTC by Alexander Simon
Modified: 2012-10-11 14:06 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 188909


Attachments
stacktrace (6.25 KB, text/plain)
2012-06-26 14:53 UTC, Alexander Simon
Details
test project (4.59 KB, application/zip)
2012-06-26 15:30 UTC, Alexander Simon
Details
stacktrace (6.25 KB, text/plain)
2012-06-26 15:32 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2012-06-26 14:53:37 UTC
Build: NetBeans IDE Dev (Build 20120626-395727d571d8)
VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: SunOS

User Comments:
GUEST: I had a source file opened in the editor and replaced the file in windows explorer with a different vesion

GUEST: ??????????????????




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.makeproject.source.bridge.DocumentLanguageFlavorProvider$ListenerImpl.<init>(DocumentLanguageFlavorProvider.java:169)
   at org.netbeans.modules.cnd.makeproject.source.bridge.DocumentLanguageFlavorProvider.addProperty(DocumentLanguageFlavorProvider.java:94)
   at org.netbeans.modules.cnd.source.CppEditorSupport$PropertiesProviders.addProperty(CppEditorSupport.java:278)
   at org.netbeans.modules.cnd.source.CppEditorSupport.setupSlowDocumentProperties(CppEditorSupport.java:265)
   at org.netbeans.modules.cnd.source.CppEditorSupport.prepareDocument(CppEditorSupport.java:366)
   at org.openide.text.CloneableEditor$DoInitialize.initNonVisual(CloneableEditor.java:432)
Comment 1 Alexander Simon 2012-06-26 14:53:41 UTC
Created attachment 121386 [details]
stacktrace
Comment 2 Alexander Simon 2012-06-26 15:30:00 UTC
Created attachment 121393 [details]
test project
Comment 3 Alexander Simon 2012-06-26 15:32:07 UTC
Created attachment 121394 [details]
stacktrace
Comment 4 Exceptions Reporter 2012-07-27 14:36:34 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=188909
Comment 5 Alexander Simon 2012-08-08 17:53:59 UTC
*** Bug 215599 has been marked as a duplicate of this bug. ***
Comment 6 Alexander Simon 2012-08-08 17:54:17 UTC
*** Bug 215600 has been marked as a duplicate of this bug. ***
Comment 7 Exceptions Reporter 2012-10-01 09:47:13 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=188909
Comment 8 Vladimir Voskresensky 2012-10-01 11:06:14 UTC
fixed:
http://hg.netbeans.org/cnd-main/rev/ff0f59e14a76
Comment 9 Quality Engineering 2012-10-02 02:26:07 UTC
Integrated into 'main-golden', will be available in build *201210020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ff0f59e14a76
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #214804 - NullPointerException at org.netbeans.modules.cnd.makeproject.source.bridge.DocumentLanguageFlavorProvider$ListenerImpl.<init>
Comment 10 Alexander Pepin 2012-10-03 12:45:17 UTC
Can not reproduce the bug in the trunk build.
Please push the fix into 7.2 brunch.
Comment 11 Vladimir Voskresensky 2012-10-03 14:05:41 UTC
transplanted
http://hg.netbeans.org/releases/rev/eb52f35ab342
spec version update
http://hg.netbeans.org/releases/rev/09c238295917
Comment 12 Quality Engineering 2012-10-10 14:18:22 UTC
Integrated into 'releases', will be available in build *201210100934* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/eb52f35ab342
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #214804 - NullPointerException at org.netbeans.modules.cnd.makeproject.source.bridge.DocumentLanguageFlavorProvider$ListenerImpl.<init>
(transplanted from ff0f59e14a761073e96a324d16e5abe34ce4f1d6)
Comment 13 Alexander Pepin 2012-10-11 14:06:00 UTC
Can not reproduce the bug in 7.2.1 build 20121010