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 270393

Summary: NullPointerException: The project parameter cannot be null
Product: java Reporter: Exceptions Reporter <exceptions_reporter>
Component: TestNGAssignee: Theofanis Oikonomou <theofanis>
Status: NEW ---    
Severity: normal CC: jungi, teruru
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 228768
Attachments: stacktrace

Description Exceptions Reporter 2017-04-13 21:04:27 UTC
This issue was reported manually by teruru.
It already has 5 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.80-b11, Java(TM) SE Runtime Environment, 1.7.0_80-b15
OS: Windows 7

User Comments:
GUEST: testing junit newbie

GUEST: <Please provide a description of the problem or the steps to reproduce>[VerboseTestNG] RUNNING: Suite: "Form.register_adminIT" containing "0" Tests (config: null)
[VerboseTestNG] INVOKING: "Form.register_adminIT" - Form.register_adminIT.testSomeMethod()
[VerboseTestNG] FAILED: "Form.register_adminIT" - Form.register_adminIT.testSomeMethod() finished in 4 ms
[VerboseTestNG] java.lang.AssertionError: The test case is a prototype.
[VerboseTestNG] 	at org.junit.Assert.fail(Assert.java:93)
[VerboseTestNG] 	at Form.register_adminIT.testSomeMethod(register_adminIT.java:43)
[VerboseTestNG] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
[VerboseTestNG] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
[VerboseTestNG] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
[VerboseTestNG] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
[VerboseTestN

GUEST: JUst sayw the little red 1 in the bottom bar...

GUEST: Did "Debug File" on a test file

GUEST: VerboseTestNG] RUNNING: Suite: "Form.register_adminIT" containing "0" Tests (config: null)
[VerboseTestNG] INVOKING: "Form.register_adminIT" - Form.register_adminIT.testSomeMethod()
[VerboseTestNG] FAILED: "Form.register_adminIT" - Form.register_adminIT.testSomeMethod() finished in 3 ms
[VerboseTestNG] java.lang.AssertionError: The test case is a prototype.
[VerboseTestNG] 	at org.junit.Assert.fail(Assert.java:93)
[VerboseTestNG] 	at Form.register_adminIT.testSomeMethod(register_adminIT.java:43)
[VerboseTestNG] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
[VerboseTestNG] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
[VerboseTestNG] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
[VerboseTestNG] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
[VerboseTestNG] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefo




Stacktrace: 
java.lang.NullPointerException: The project parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.modules.gsf.testrunner.api.TestSession.<init>(TestSession.java:139)
   at org.netbeans.modules.testng.output.TestNGTestSession.<init>(TestNGTestSession.java:77)
   at org.netbeans.modules.testng.output.TestNGOutputReader.<init>(TestNGOutputReader.java:152)
   at org.netbeans.modules.testng.output.TestNGAntLogger.getOutputReader(TestNGAntLogger.java:433)
   at org.netbeans.modules.testng.output.TestNGAntLogger.buildFinished(TestNGAntLogger.java:390)
Comment 1 Exceptions Reporter 2017-04-13 21:04:31 UTC
Created attachment 164103 [details]
stacktrace