[jboss-jira] [JBoss JIRA] (JBRULES-3468) Using a declared type as a field for another declared type causes NoClassDefFoundError

Mario Fusco (JIRA) jira-events at lists.jboss.org
Wed Apr 18 04:20:19 EDT 2012


     [ https://issues.jboss.org/browse/JBRULES-3468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco resolved JBRULES-3468.
----------------------------------

    Fix Version/s: 5.3.2.Final
       Resolution: Done


This issue was caused by MVEL that doesn't use the ClassLoader provided in the ParserContext when jitting the accessors. I fixed it.
                
> Using a declared type as a field for another declared type causes NoClassDefFoundError
> --------------------------------------------------------------------------------------
>
>                 Key: JBRULES-3468
>                 URL: https://issues.jboss.org/browse/JBRULES-3468
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Mario Fusco
>            Assignee: Mario Fusco
>             Fix For: 5.3.2.Final
>
>
> Using a declared type as a field for another declared type causes NoClassDefFoundError causes the following Exception: 
> Exception in thread "main" java.lang.NoClassDefFoundError: com/sample/Cap
> at ASMAccessorImpl_129541121334339192620.getValue(Unknown 
> at org.mvel2.optimizers.dynamic.DynamicGetAccessor.getValue(DynamicGetAccessor.java:73)
> at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:103)
> at org.mvel2.compiler.ExecutableAccessor.getValue(ExecutableAccessor.java:42)
> at org.mvel2.MVEL.executeExpression(MVEL.java:952) 
> when MVEL optimization, trying to jit the accessor to that field, kicks in.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list