[jboss-jira] [JBoss JIRA] (DROOLS-144) LinkageError exception during multi-threaded execution
Dmitri Farafonov (JIRA)
jira-events at lists.jboss.org
Wed Aug 21 15:02:26 EDT 2013
[ https://issues.jboss.org/browse/DROOLS-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798306#comment-12798306 ]
Dmitri Farafonov commented on DROOLS-144:
-----------------------------------------
Submitted pull request that solve this issue: https://github.com/droolsjbpm/droolsjbpm-knowledge/pull/47
> 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