On Thursday 19 January 2006 12:42, Charles O Nutter wrote:
> Can you toss over the error next time you see it? 

REXML::ParseException: attempted adding second root element to document

    /usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:85:in `parse'

    /usr/lib/ruby/1.8/rexml/document.rb:176:in `build'

    /usr/lib/ruby/1.8/rexml/document.rb:45:in `initialize'

    enttek/jruby/cinematic/database.rb:14:in `new'

    enttek/jruby/cinematic/database.rb:14:in `initialize'

    enttek/jruby/cinematic/database.rb:77:in `new'

    enttek/jruby/cinematic/database.rb:77:in `metaData'

    enttek/jruby/cinematic/database.rb:83:in `clean'

    setup/SimpleHomeOfficeFixture.rb:14:in `setupSimpleHomeOffice'

 
C:\data\workspace\RubyTest\src\acceptanceTests\webservices\backoffice\Purcha
seTicketsRestTest.rb:32:in `setup'

We've gotten this numerous times parsing different XML files, but also 
numerous times parsing the same one.

> This could be that 
> JVM issue I was seeing. It went away now, but I've got no guarantees
> it won't come back, and it certainly behaved like a threading issue
> even though there was only a single thread running.
>
> At any rate, I'll keep an eye out for any thread-like failures.
>
> - Charlie
>
> On 1/19/06, David Corbin <[EMAIL PROTECTED]> wrote:
> > This is just a comment, to say we still have some type of synchronization
> > bug (I think).  We get an intermittent failure parsing XML (the SAME xml)
> > during our tests.  Since the bug seems to happen much more frequently on
> > hyper-threaded systems, I assume it's a synchronization bug, though I'm
> > not really aware of any "extra thread" that are running.
> >
> > I've been trying to work on this a bit lately, but haven't yet gotten
> > anywhere.  If I narrow it down to a small test case, I'll share it.
> >
> > David
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > files for problems?  Stop!  Download the new AJAX search engine that
> > makes searching your log files as easy as surfing the  web.  DOWNLOAD
> > SPLUNK!
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> > _______________________________________________
> > Jruby-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/jruby-devel
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
> _______________________________________________
> Jruby-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jruby-devel


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Jruby-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to