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 270484

Summary: AssertionError: At least 2 lines must be found (message + stacktrace)
Product: php Reporter: Csardelacal
Component: PHPUnitAssignee: issues@php <issues>
Status: NEW ---    
Severity: normal CC: RodriAndreotti, Vitex
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 228436
Attachments: stacktrace

Description Csardelacal 2017-04-25 14:31:29 UTC
Build: NetBeans IDE Dev (Build 201704250002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Mac OS X

User Comments:
GUEST: PHPUnit test not found.

GUEST: Problem occurs while running all tests in project. In single test everything is OK

GUEST: -

Csardelacal: This issue happens every single time I try to run a PHPUnit test suite




Stacktrace: 
java.lang.AssertionError: At least 2 lines must be found (message + stacktrace)
   at org.netbeans.modules.php.phpunit.run.PhpUnitLogParser.fillStacktrace(PhpUnitLogParser.java:216)
   at org.netbeans.modules.php.phpunit.run.PhpUnitLogParser.endTestContent(PhpUnitLogParser.java:199)
   at org.netbeans.modules.php.phpunit.run.PhpUnitLogParser.endElement(PhpUnitLogParser.java:128)
   at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1776)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2964)
Comment 1 Csardelacal 2017-04-25 14:31:32 UTC
Created attachment 164179 [details]
stacktrace