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 249127 - NullPointerException at org.netbeans.modules.cnd.makeproject.DefaultSystemSettingsImpl.getDefaultCompiler
Summary: NullPointerException at org.netbeans.modules.cnd.makeproject.DefaultSystemSet...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-04 20:28 UTC by Exceptions Reporter
Modified: 2015-07-22 04:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 165404


Attachments
stacktrace (1.22 KB, text/plain)
2014-12-04 20:28 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-12-04 20:28:37 UTC
This issue was reported manually by alexvsimon.
It already has 2 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12
OS: Windows 7

User Comments:
GUEST: Creating project

GUEST: I got problems with netbens 6.8 and configuring compilers after to use a remote development hosts. I posted this problem to the forum and I had response. They solved the problem and said to install the development version. That's what i did, and the first time I open netbeans this is what I get.

java.lang.ClassCastException: java.lang.String cannot be cast to org.openide.explorer.view.VisualizerNode
	at org.openide.explorer.view.NodeRenderer.findVisualizerNode(NodeRenderer.java:232)
	at org.openide.explorer.view.NodeRenderer.getListCellRendererComponent(NodeRenderer.java:152)
	at javax.swing.plaf.basic.BasicComboBoxUI.getBaseline(BasicComboBoxUI.java:962)
	at javax.swing.JComponent.getBaseline(JComponent.java:2532)
	at javax.swing.GroupLayout$ComponentSpring.getBaseline(GroupLayout.java:3000)
	at javax.swing.GroupLayout$BaselineGroup.calculateBaselineAndResizeBehavior(GroupLayout.java:2657)
	at javax.swing.GroupLayout$BaselineGroup.calculateSize(GroupLayout.java:2633)
	at javax.swing.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.makeproject.DefaultSystemSettingsImpl.getDefaultCompiler(DefaultSystemSettingsImpl.java:102)
   at org.netbeans.modules.cnd.makeproject.DefaultSystemSettingsImpl.getSystemIncludes(DefaultSystemSettingsImpl.java:111)
   at org.netbeans.modules.cnd.modelimpl.csm.core.CsmStandaloneFileProviderImpl$NativeProjectImpl.getNativeProjectImpl(CsmStandaloneFileProviderImpl.java:429)
   at org.netbeans.modules.cnd.modelimpl.csm.core.CsmStandaloneFileProviderImpl.getCsmFile(CsmStandaloneFileProviderImpl.java:175)
   at org.netbeans.modules.cnd.modelimpl.platform.CndParserFactory$ParserImpl.parse(CndParserFactory.java:174)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:610)
Comment 1 Exceptions Reporter 2014-12-04 20:28:39 UTC
Created attachment 150894 [details]
stacktrace
Comment 2 Alexander Simon 2015-07-21 09:25:46 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/8070bb823a88
Comment 3 Quality Engineering 2015-07-22 04:37:09 UTC
Integrated into 'main-silver', will be available in build *201507220303* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8070bb823a88
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #249127 NullPointerException at org.netbeans.modules.cnd.makeproject.DefaultSystemSettingsImpl.getDefaultCompiler