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 271329

Summary: NullPointerException at org.netbeans.modules.php.phpunit.commands.PhpUnit$JsonLogInputProcessor.onSuiteFinish
Product: php Reporter: gymad
Component: PHPUnitAssignee: issues@php <issues>
Status: NEW ---    
Severity: normal CC: gymad
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226580
Attachments: stacktrace

Description gymad 2017-08-19 20:32:21 UTC
Build: NetBeans IDE 8.2 (Build 201705191307)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Windows 8.1

User Comments:
GUEST: .

GUEST: Run unitTests PHP

GUEST: On Test with xdebug 2.4.1 and Code coverage activated

GUEST: It's just random came up a little red icon in right side of the bottom status bar

GUEST: Error occured when trying to report an other error..

GUEST: Was running unittests

gymad: after PHPUnit test run, Code Coverage Report window throw an error popup

GUEST: Trying to debug in browser

GUEST: Ran some unit tests with PHPUnit

GUEST: phpunit testing
run focused test method

GUEST: <Please provide a description of the problem or the steps to reproduce>

GUEST: Exception when a PHPUnit test run

GUEST: run UnitTests




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.php.phpunit.commands.PhpUnit$JsonLogInputProcessor.onSuiteFinish(PhpUnit.java:854)
   at org.netbeans.modules.php.phpunit.run.JsonParser.suiteFinish(JsonParser.java:189)
   at org.netbeans.modules.php.phpunit.run.JsonParser.finish(JsonParser.java:133)
   at org.netbeans.modules.php.phpunit.commands.PhpUnit$JsonLogInputProcessor.close(PhpUnit.java:816)
   at org.netbeans.api.extexecution.base.input.InputReaderTask.run(InputReaderTask.java:245)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
Comment 1 gymad 2017-08-19 20:32:24 UTC
Created attachment 164976 [details]
stacktrace