[jboss-jira] [JBoss JIRA] (DROOLS-144) LinkageError exception during multi-threaded execution

Davide Sottara (JIRA) jira-events at lists.jboss.org
Mon Sep 9 00:59:03 EDT 2013


    [ https://issues.jboss.org/browse/DROOLS-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802631#comment-12802631 ] 

Davide Sottara commented on DROOLS-144:
---------------------------------------

Could you submit a test case as well?
Thanks
Davide
                
> LinkageError exception during multi-threaded execution
> ------------------------------------------------------
>
>                 Key: DROOLS-144
>                 URL: https://issues.jboss.org/browse/DROOLS-144
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.5.0.Final, 6.0.0.Beta2
>         Environment: Linux Ubuntu 12.10, OpenJDK 1.7
>            Reporter: Davide Sottara
>            Assignee: Mark Proctor
>            Priority: Blocker
>
> The exception is thrown in org.drools.rule.JavaRuntimeDialectData, when the CompositeClassLoader tries to define the class implementing a rule consequence. The method fastFindClass, which does the lazy initialization, is not thread-safe. It is possible for two threads to call findLoadedClass(..), get null and thus start the definition process which eventually results in the exception.
> The situation is indeed very rare

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list