Bug 333353 - Can't click on an XML stack trace in console
Summary: Can't click on an XML stack trace in console
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.7   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-30 16:00 EST by David Becker CLA
Modified: 2010-12-30 16:18 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Becker CLA 2010-12-30 16:00:20 EST
Build Identifier: 20100917-0705

I have code which sometimes outputs xml stack traces to the console (serialized using XStream).  The console highlights the class name and line number like it normally would for a stack trace, but when you click on it you get a message that "<trace>com.example.Test" was not found.  It appears to be parsing the classname backwards to the first whitespace when it really should be parsing backwards to the first character which isn't legal in a java identifier.  A normal strack trace print works because it would say "as com.example.Test.test(Test.java:92)".

  <stackTrace>
    <trace>com.example.Test.test(Test.java:92)</trace>
    <trace>com.example.Test.test(Test.java:69)</trace>
...snipped...
  </stackTrace>


Reproducible: Always

Steps to Reproduce:
See details.