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 219957 - AssertionError: Cannot match: 'PASSED: "Com'.
Summary: AssertionError: Cannot match: 'PASSED: "Com'.
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: TestNG (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-12 01:59 UTC by alied
Modified: 2013-09-27 02:12 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193440


Attachments
stacktrace (1.64 KB, text/plain)
2012-10-12 01:59 UTC, alied
Details
stacktrace (1.70 KB, text/plain)
2012-10-30 18:53 UTC, alied
Details
stacktrace (1.91 KB, text/plain)
2013-09-09 02:55 UTC, _ gtzabari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2012-10-12 01:59:49 UTC
Build: NetBeans IDE Dev (Build 201210090002)
VM: Java HotSpot(TM) Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b10
OS: Windows XP

User Comments:
alied: Debugging a TestNG single method.
-placed a breakpoint and after some evaluations, continued.




Stacktrace: 
java.lang.AssertionError: Cannot match: 'PASSED: "Com'.
   at org.netbeans.modules.testng.output.TestNGOutputReader.verboseMessageLogged(TestNGOutputReader.java:340)
   at org.netbeans.modules.testng.output.TestNGOutputReader.verboseMessageLogged(TestNGOutputReader.java:183)
   at org.netbeans.modules.testng.output.TestNGOutputReader.messageLogged(TestNGOutputReader.java:497)
   at org.netbeans.modules.testng.output.TestNGAntLogger.messageLogged(TestNGAntLogger.java:275)
   at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.messageLogged(NbBuildLogger.java:618)
   at org.apache.tools.ant.Project.fireMessageLoggedEvent(Project.java:2254)
Comment 1 alied 2012-10-12 01:59:52 UTC
Created attachment 125816 [details]
stacktrace
Comment 2 alied 2012-10-30 18:53:05 UTC
Created attachment 126800 [details]
stacktrace

running a failing test
Comment 3 Exceptions Reporter 2013-02-02 18:43:58 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=193440
Comment 4 _ gtzabari 2013-09-09 02:55:50 UTC
Created attachment 139814 [details]
stacktrace

Ran unit tests.
Comment 5 Theofanis Oikonomou 2013-09-25 15:42:34 UTC
Most of the reports were caused because there were new line characters inside the input strings. This is fixed by http://hg.netbeans.org/core-main/rev/1ff4ede633a2. I am not sure what an appropriate solution should be for the cases that the input string is incomplete.
Comment 6 Quality Engineering 2013-09-27 02:12:14 UTC
Integrated into 'main-silver', will be available in build *201309270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1ff4ede633a2
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: #219957 - AssertionError: Cannot match: 'PASSED: "Com'.