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 192913 - NullPointerException at java.util.ArrayList.addAll
Summary: NullPointerException at java.util.ArrayList.addAll
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 10:42 UTC by peterhull90
Modified: 2010-12-12 06:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 174716


Attachments
stacktrace (3.75 KB, text/plain)
2010-12-06 10:42 UTC, peterhull90
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peterhull90 2010-12-06 10:42:06 UTC
Build: NetBeans IDE 6.9 (Build 201011082200)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Windows XP

User Comments:
peterhull90: Editing include files list for code assistance




Stacktrace: 
java.lang.NullPointerException
   at java.util.ArrayList.addAll(ArrayList.java:472)
   at org.netbeans.modules.cnd.makeproject.api.configurations.VectorConfiguration.assign(VectorConfiguration.java:106)
   at org.netbeans.modules.cnd.makeproject.api.configurations.CCCCompilerConfiguration.assign(CCCCompilerConfiguration.java:216)
   at org.netbeans.modules.cnd.makeproject.api.configurations.CCCompilerConfiguration.assign(CCCompilerConfiguration.java:66)
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfiguration.assign(MakeConfiguration.java:418)
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.assign(MakeConfigurationDescriptor.java:547)
Comment 1 peterhull90 2010-12-06 10:42:09 UTC
Created attachment 103615 [details]
stacktrace
Comment 2 Thomas Preisler 2010-12-10 22:35:22 UTC
I believe this was also fixed in the fix for 193164. There was a possibility that the value became null and that could cause this exception down the road. Fix for 193164 prevents null from being assigned as a value.
Comment 3 Thomas Preisler 2010-12-10 23:39:28 UTC
Made an additional null check. Will consider this one fixed. Please reopen if you see it again....
Comment 4 Quality Engineering 2010-12-12 06:08:27 UTC
Integrated into 'main-golden', will be available in build *201012120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2ae5c2c244a8
User: Thomas Preisler <thp@netbeans.org>
Log: #192913 - NullPointerException at java.util.ArrayList.addAll