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 255172 - java.lang.NullPointerException at org.netbeans.modules.cnd.highlight.security.FunctionsXmlService.parseXml(FunctionsXmlService.java:120)
Summary: java.lang.NullPointerException at org.netbeans.modules.cnd.highlight.securit...
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: danilasergeyev
URL:
Keywords:
: 255587 255588 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-10 11:36 UTC by MackSix
Modified: 2015-09-28 16:18 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
logfile (63.80 KB, text/plain)
2015-09-10 11:36 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2015-09-10 11:36:43 UTC
Created attachment 156051 [details]
logfile

1. Install full NetBeans zip.
2. Open a Java SE project and wait for Java to activate and project to open.
3. Run Source->Inspect:All Analyzers on the project.
4. When complete, Go to Tools->Options and Activate C/C++ and PHP.

Results: These exceptions are thrown:

java.lang.NullPointerException
	at org.netbeans.modules.cnd.highlight.security.FunctionsXmlService.parseXml(FunctionsXmlService.java:120)

and


java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.cnd.highlight.security.FunctionsXmlService$InstanceHolder

5. Go to Source->Inspect.

Results in another exception being thrown:

java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.cnd.highlight.security.FunctionsXmlService$InstanceHolder
Comment 1 Jiri Kovalsky 2015-09-10 11:57:40 UTC
Reassigned for further evaluation.
Comment 2 danilasergeyev 2015-09-14 09:49:08 UTC
fixed, change set:
https://hg.netbeans.org/cnd-main/rev/2601e6e2d89a
Comment 3 Quality Engineering 2015-09-15 01:24:14 UTC
Integrated into 'main-silver', will be available in build *201509150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2601e6e2d89a
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #255172 java.lang.NullPointerException at org.netbeans.modules.cnd.highlight.security.FunctionsXmlService.parseXml(FunctionsXmlService.java:120)
Comment 4 danilasergeyev 2015-09-16 15:56:52 UTC
fixed, change set:
https://hg.netbeans.org/cnd-main/rev/f33d9f45c52b
Comment 5 Quality Engineering 2015-09-17 01:25:57 UTC
Integrated into 'main-silver', will be available in build *201509170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f33d9f45c52b
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #255172 java.lang.NullPointerException at org.netbeans.modules.cnd.highlight.security.FunctionsXmlService.parseXml(FunctionsXmlService.java:120)
Comment 6 MackSix 2015-09-18 08:47:14 UTC
v. fixed.
Comment 7 danilasergeyev 2015-09-28 10:24:21 UTC
*** Bug 255588 has been marked as a duplicate of this bug. ***
Comment 8 danilasergeyev 2015-09-28 16:18:08 UTC
*** Bug 255587 has been marked as a duplicate of this bug. ***