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 255585 - NullPointerException at org.netbeans.modules.cnd.simpleunit.utils.CodeGenerationUtils.generateCanonicalParameterTypeAndName
Summary: NullPointerException at org.netbeans.modules.cnd.simpleunit.utils.CodeGenerat...
Status: RESOLVED DUPLICATE of bug 246688
Alias: None
Product: cnd
Classification: Unclassified
Component: UnitTest Support (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-27 16:28 UTC by Exceptions Reporter
Modified: 2015-09-28 09:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 220156


Attachments
stacktrace (1.37 KB, text/plain)
2015-09-27 16: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 2015-09-27 16:28:12 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: create cpp unit test on linux failed




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.simpleunit.utils.CodeGenerationUtils.generateCanonicalParameterTypeAndName(CodeGenerationUtils.java:91)
   at org.netbeans.modules.cnd.simpleunit.utils.CodeGenerationUtils.generateParameterDeclaration(CodeGenerationUtils.java:80)
   at org.netbeans.modules.cnd.cncppunit.codegeneration.CppUnitCodeGenerator.generateTemplateParamsForFunctions(CppUnitCodeGenerator.java:111)
   at org.netbeans.modules.cnd.cncppunit.editor.filecreation.TestCppUnitIterator.instantiate(TestCppUnitIterator.java:127)
   at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605)
   at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:439)
Comment 1 Exceptions Reporter 2015-09-27 16:28:14 UTC
Created attachment 156444 [details]
stacktrace
Comment 2 ilia 2015-09-28 09:49:58 UTC
Should be fixed in the Dev version.
See https://netbeans.org/bugzilla/show_bug.cgi?id=246688

*** This bug has been marked as a duplicate of bug 246688 ***