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 269320

Summary: NullPointerException at org.netbeans.modules.testng.ant.TestNGOutputReader.testTaskFinished
Product: java Reporter: skygo <skygo>
Component: TestNGAssignee: Theofanis Oikonomou <theofanis>
Status: NEW ---    
Severity: normal CC: jungi
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 227534
Attachments: stacktrace

Description skygo 2016-12-13 14:13:02 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.122-b01, Java(TM) SE Runtime Environment, 1.8.0_122-ea-b01
OS: Windows 10

User Comments:
skygo: unclear what lead to this exception

   at org.netbeans.modules.testng.ant.TestNGOutputReader.testTaskFinished(
   at org.netbeans.modules.testng.ant.TestNGAntLogger.taskFinished(
Comment 1 skygo 2016-12-13 14:13:04 UTC
Created attachment 163219 [details]
Comment 2 jrielsky 2017-05-03 14:11:43 UTC
This happened to me at about the same time I received a "Low Memory" warning in Netbeans 8.2.  I tried clean rebuild and restart and this does not clear the problem.  I am able to create a new TestNG test case Tools->Create/Update Tests for another java file in the project.  The resulting test case can be run and debugged.  However, any existing test cases still receive the same NPE when attempting to debug.  

Is there any workaround for this problem?