Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2
-
Fix Version/s: 1.3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Here's the excerpt from the log:
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[17468,67]
Message: Can not call 'getLocalName(): cursor does not point to a valid node (curr event [null]; cursor state CLOSED)
at org.codehaus.staxmate.in.SMInputCursor.constructStreamException(SMInputCursor.java:1855)
at org.codehaus.staxmate.in.CursorBase._notAccessible(CursorBase.java:296)
at org.codehaus.staxmate.in.SMInputCursor.getLocalName(SMInputCursor.java:587)
at org.sonar.plugins.csharp.gallio.helper.StaxHelper.findElementName(StaxHelper.java:101)
... 61 more
This actually happens when the "<contents>" section of a failure has no "<text>" element (= has no message).
<testLog> <streams> <stream name="Failures"> <body> <contents> <section name="Message"> <contents /> </section> </contents> </body> </stream> </streams> <attachments /> </testLog>