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

Summary: NullPointerException at org.netbeans.modules.cnd.simpleunit.utils.CodeGenerationUtils.generateCanonicalParameterTypeAndName
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: UnitTest SupportAssignee: ilia
Status: RESOLVED DUPLICATE    
Severity: normal CC: alexvsimon
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 220156
Attachments: stacktrace

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 ***