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 243555

Summary: NullPointerException at org.netbeans.modules.cnd.toolchain.ui.options.ToolsPanel.areToolsOptionsChanged
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: ToolchainAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal CC: alexvsimon, ddeka352
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 208922
Attachments: stacktrace

Description Exceptions Reporter 2014-04-04 11:10:41 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Windows 8

User Comments:
GUEST: Creating a Toolchain for the SDCC
https://netbeans.org/kb/docs/cnd/toolchain.html#create
step 19 made the excpetion




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.toolchain.ui.options.ToolsPanel.areToolsOptionsChanged(ToolsPanel.java:265)
   at org.netbeans.modules.cnd.toolchain.ui.options.ToolsPanel.access$400(ToolsPanel.java:107)
   at org.netbeans.modules.cnd.toolchain.ui.options.ToolsPanel$7.run(ToolsPanel.java:1237)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
Comment 1 Exceptions Reporter 2014-04-04 11:10:42 UTC
Created attachment 146544 [details]
stacktrace
Comment 2 Alexander Simon 2014-04-04 11:31:18 UTC
The error is in custom layer.xml file.
One of "originalFile" attribute point on non-existing file.

There is no error in original how to:
https://netbeans.org/kb/docs/cnd/toolchain.html#create
It works.
Comment 3 Alexander Simon 2014-04-04 12:13:43 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/5927f08804e0
Comment 4 Quality Engineering 2014-04-05 03:28:55 UTC
Integrated into 'main-silver', will be available in build *201404050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5927f08804e0
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #243555 NullPointerException at org.netbeans.modules.cnd.toolchain.ui.options.ToolsPanel.areToolsOptionsChanged
Comment 5 Quality Engineering 2014-04-24 02:03:32 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/13eadba74876
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #243555 NullPointerException at org.netbeans.modules.cnd.toolchain.ui.options.ToolsPanel.areToolsOptionsChanged
(transplanted from 5927f08804e08cdf15ccaba4b75ea5b9ded239ba)
Comment 6 Alexander Simon 2015-01-12 08:58:18 UTC
*** Bug 249454 has been marked as a duplicate of this bug. ***