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 256287 - NullPointerException at org.netbeans.modules.testng.ant.TestNGOutputReader.addStackTrace
Summary: NullPointerException at org.netbeans.modules.testng.ant.TestNGOutputReader.ad...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: TestNG (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-31 04:49 UTC by cwhjones
Modified: 2015-10-31 04:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219174


Attachments
stacktrace (1.54 KB, text/plain)
2015-10-31 04:49 UTC, cwhjones
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cwhjones 2015-10-31 04:49:26 UTC
Build: NetBeans IDE 8.1 RC2 (Build 201510122201)
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: Trying to run unit tests

cwhjones: Running pre-existing unit tests. Theycwhjones seem to have completed successfully but this NPE is reported by NetBeans

GUEST: Running unit tests under TestNG. All tests report 'passed' but this exception is reported.

GUEST: Running the complete unit test suite for an application that built.
Total tests run: 63, Failures: 0, Skips: 0 is reported whaich is what i was expecting.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.testng.ant.TestNGOutputReader.addStackTrace(TestNGOutputReader.java:1085)
   at org.netbeans.modules.testng.ant.TestNGOutputReader.verboseMessageLogged(TestNGOutputReader.java:357)
   at org.netbeans.modules.testng.ant.TestNGOutputReader.verboseMessageLogged(TestNGOutputReader.java:201)
   at org.netbeans.modules.testng.ant.TestNGAntLogger.messageLogged(TestNGAntLogger.java:122)
   at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.messageLogged(NbBuildLogger.java:622)
   at org.apache.tools.ant.Project.fireMessageLoggedEvent(Project.java:2248)
Comment 1 cwhjones 2015-10-31 04:49:28 UTC
Created attachment 157076 [details]
stacktrace