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 - AssertionError: At least 2 lines must be found (message + stacktrace)
Summary: AssertionError: At least 2 lines must be found (message + stacktrace)
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: PHPUnit (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-25 14:31 UTC by Csardelacal
Modified: 2018-02-17 12:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 228436


Attachments
stacktrace (3.09 KB, text/plain)
2017-04-25 14:31 UTC, Csardelacal
Details

Note You need to log in before you can comment on or make changes to this bug.
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