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 212591 - AssertionError at org.netbeans.modules.gsf.testrunner.api.TestsuiteNode.displayReport
Summary: AssertionError at org.netbeans.modules.gsf.testrunner.api.TestsuiteNode.displ...
Status: RESOLVED DUPLICATE of bug 202948
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-16 14:15 UTC by Tomas Danek
Modified: 2013-04-19 10:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 188023


Attachments
stacktrace (1.80 KB, text/plain)
2012-05-16 14:15 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2012-05-16 14:15:36 UTC
Build: NetBeans IDE Dev (Build 201205160400)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b21
OS: Mac OS X

User Comments:
musilt2: ran testNG suite




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.gsf.testrunner.api.TestsuiteNode.displayReport(TestsuiteNode.java:203)
   at org.netbeans.modules.gsf.testrunner.api.RootNodeChildren.displayReport(RootNodeChildren.java:175)
   at org.netbeans.modules.gsf.testrunner.api.RootNode.displayReport(RootNode.java:167)
   at org.netbeans.modules.gsf.testrunner.api.ResultPanelTree.displayReport(ResultPanelTree.java:218)
   at sun.reflect.GeneratedMethodAccessor147.invoke(GeneratedMethodAccessor147.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Comment 1 Tomas Danek 2012-05-16 14:15:41 UTC
Created attachment 119538 [details]
stacktrace
Comment 2 Tomas Danek 2012-05-16 14:17:53 UTC
problem was in error in suite.xml:

Checking file:/space/testovaciPrj/test/resources/testng_1_1.xml...
Referenced entity at "http://testng.org/testng-1.0.dtd".
The element type "suite" must be terminated by the matching end-tag "</suite>". [113] 
XML checking finished.

however it was not indicated by red badge in editor.
Comment 3 Theofanis Oikonomou 2012-05-21 14:12:12 UTC
I am not getting the AssertionError in NetBeans IDE Dev (Build 20120521-4465ae7438d9)

Tests are not run as expected though and I get:
[TestNG] [ERROR] org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.

in the output.

I am not seeing an error budge in the editor either. I do not know if this is axpected. Re assigning to XML for evaluation.
Comment 4 Tomas Danek 2012-05-21 14:20:01 UTC
I actually filed issue 212782 for this purpose ;-)
Comment 5 Svata Dedic 2013-04-19 10:26:02 UTC

*** This bug has been marked as a duplicate of bug 202948 ***