Multi-threading issue with RegExp
---------------------------------
Key: JRUBY-3625
URL: http://jira.codehaus.org/browse/JRUBY-3625
Project: JRuby
Issue Type: Bug
Components: Interpreter
Affects Versions: JRuby 1.3RC1
Environment: All
Reporter: Jean-Dominique Morani
Priority: Blocker
Fix For: JRuby 1.3
Attachments: regexp_bug.rb
The following error is thrown when loading a document in REXML with multiple
threads :
Exception in thread "Thread-90" java.lang.NullPointerException
at org.jruby.RubyRegexp.nth_match(RubyRegexp.java:1751)
This is a blocker because any application or gem relying on REXML such as
SOAP4R won't work properly in a multi threaded environment.
Attached is a small script to replicate the problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email