Bug 110275 - XmlPullParserException during jruby debugging
XmlPullParserException during jruby debugging
Status: RESOLVED FIXED
Product: ruby
Classification: Unclassified
Component: Debugger
6.x
PC Linux
: P3 (vote)
: 6.x
Assigned To: Martin Krauskopf
issues@ruby
: RANDOM, THREAD
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-07-19 12:29 UTC by Tomas Danek
Modified: 2007-07-25 12:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2007-07-19 12:29:08 UTC
Product Version: NetBeans IDE Dev (Build 200707171200) Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System:
Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb) Userdir: /tmp/ud
-----------------------------------------
I was performing steps in issue 109659, when i pushed F8, this ex. was thrown..did you upgrade kxml2 jar recently?? i
did not meet this before..seems like random, when i startred debugger again, it worked fine. here's the exception + some
logging:

FINE [org.rubyforge.debugcommons.Util]: Running [basedir: /home/tomas/NetBeansProjects/RubyApplication112/lib]:
"/space/netbeans/ruby1/jruby-1.0/bin/jruby -I/home/tomas/NetBeansProjects/RubyApplication112/lib
-I/home/tomas/NetBeansProjects/RubyApplication112/test -I /space/netbeans/ruby1/ruby/debug-commons-0.9.4 -r
/tmp/classic-debug51065.rb -r /tmp/io-synchronizer51066.rb -r classic-debug.rb
/home/tomas/NetBeansProjects/RubyApplication112/lib/main.rb"
FINEST [org.rubyforge.debugcommons.Util]: Cannot connect to localhost:39903. Trying again...(19)
FINEST [org.rubyforge.debugcommons.Util]: Cannot connect to localhost:39903. Trying again...(18)
FINE [org.rubyforge.debugcommons.Util]: Sending command debugger: b
/home/tomas/NetBeansProjects/RubyApplication112/lib/main.rb:6
FINE [org.rubyforge.debugcommons.Util]: Starting ReadersSupport readloop: class
org.rubyforge.debugcommons.ReadersSupport command loop
FINE [org.rubyforge.debugcommons.Util]: Sending command debugger: cont
FINEST [org.rubyforge.debugcommons.Util]: Waiting for breakpoints.
FINEST [org.rubyforge.debugcommons.Util]: Breakpoint at main.rb:6
FINE [org.rubyforge.debugcommons.Util]: udpating threads
FINE [org.rubyforge.debugcommons.Util]: Sending command debugger: th l
FINE [org.rubyforge.debugcommons.Util]: Sending command debugger: th 1; w
FINE [org.rubyforge.debugcommons.Util]: Sending command debugger: th 1; frame 1; v l
FINEST [org.netbeans.modules.ruby.debugger.Util]: Performing "stepOver"
FINE [org.rubyforge.debugcommons.Util]: Sending command debugger: th 1; next
SEVERE [org.rubyforge.debugcommons.Util]: Exception during ReadersSupport loop [class
org.rubyforge.debugcommons.ReadersSupport command loop]
org.xmlpull.v1.XmlPullParserException: Attr.value missing f. main.rb (position:START_TAG <suspended
file='/home/tomas/NetBeansProjects/RubyApplication112/lib/main.r<breakpoint file='
main.rb='/home/tomas/NetBeansProjects/RubyApplication112/lib/main.rb'>@1:377 in java.io.BufferedReader@1132eed)
        at org.kxml2.io.KXmlParser.exception(Unknown Source)
        at org.kxml2.io.KXmlParser.error(Unknown Source)
        at org.kxml2.io.KXmlParser.parseStartTag(Unknown Source)
        at org.kxml2.io.KXmlParser.nextImpl(Unknown Source)
        at org.kxml2.io.KXmlParser.next(Unknown Source)
        at org.rubyforge.debugcommons.ReadersSupport.startXPPLoop(ReadersSupport.java:96)
        at org.rubyforge.debugcommons.ReadersSupport.access$000(ReadersSupport.java:19)
[catch] at org.rubyforge.debugcommons.ReadersSupport$XPPLoop.run(ReadersSupport.java:216)
FINEST [org.netbeans.modules.ruby.debugger.Util]: Finishing session: localhost:39903
FINEST [org.rubyforge.debugcommons.Util]: Socket reader loop finished.
Comment 1 Tomas Danek 2007-07-19 13:45:18 UTC
got another one, similar..also using jruby/classic debugger:

org.xmlpull.v1.XmlPullParserException: name expected (position:START_TAG <breakpoint file='main.rb' line='9'>@1:82 in
java.io.BufferedReader@ba30b2)
        at org.kxml2.io.KXmlParser.exception(Unknown Source)
        at org.kxml2.io.KXmlParser.error(Unknown Source)
        at org.kxml2.io.KXmlParser.readName(Unknown Source)
        at org.kxml2.io.KXmlParser.parseStartTag(Unknown Source)
        at org.kxml2.io.KXmlParser.nextImpl(Unknown Source)
        at org.kxml2.io.KXmlParser.next(Unknown Source)
        at org.rubyforge.debugcommons.ReadersSupport.startXPPLoop(ReadersSupport.java:100)
        at org.rubyforge.debugcommons.ReadersSupport.access$100(ReadersSupport.java:19)
[catch] at org.rubyforge.debugcommons.ReadersSupport$XPPLoop.run(ReadersSupport.java:230)
Comment 2 Martin Krauskopf 2007-07-25 12:50:39 UTC
Let me know if you see that again. In such cases, Verbose Output (the on in the Output Windows helps).

==
mainly synchronizing all socket communication to prevent race condition (also issue 110275)
external/debug-commons-0.9.4.tar.gz;
new revision: 1.6; previous revision: 1.5
==


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo