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

Summary: AssertionError: Cannot match: 'PASSED: "Com'.
Product: java Reporter: alied <alied>
Component: TestNGAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED FIXED    
Severity: normal CC: alied, gtzabari, jdlee, jungi, rburkhead
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 193440
Attachments: stacktrace
stacktrace
stacktrace

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'.