[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1596) java.lang.NoClassDefFoundError using function in DSL Rule

Mark Proctor (JIRA) jira-events at lists.jboss.org
Tue May 17 01:34:01 EDT 2011


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

Mark Proctor updated JBRULES-1596:
----------------------------------

    Fix Version/s: 5.2.0.CR1
                       (was: 5.2.0.M1)


> java.lang.NoClassDefFoundError using function in DSL Rule
> ---------------------------------------------------------
>
>                 Key: JBRULES-1596
>                 URL: https://issues.jboss.org/browse/JBRULES-1596
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.0.4
>         Environment: Win XP, Drools 4.0.4 , BRMS on JBOSS 4.2.1-GA , JVM Bea JRockit R27 3.1 (1.5)
>            Reporter: Jurgen Van Bouchaute
>            Assignee: Toni Rikkola
>             Fix For: 5.2.0.CR1
>
>         Attachments: adresDSL, packagesource.txt, Rule source.txt
>
>
> Encountered following error during unit testing execution of rules :
> [BeforeActivationFired: rule=Address Validation Town required; tuple=[fid:1:1:com.amadeus.mbo.msp.proto.model.AddressImpl at 558fec]
> ]
> java.lang.NoClassDefFoundError: Adres/CreateValidationErrorDSL
> 	at ASMAccessorImpl_34195571209986950480.getValue(Unknown Source)
> 	at org.mvel.ASTNode.getReducedValueAccelerated(ASTNode.java:174)
> 	at org.mvel.ExecutableAccessor.getValue(ExecutableAccessor.java:50)
> 	at ASMAccessorImpl_33632651209986950320.getValue(Unknown Source)
> 	at org.mvel.ast.VariableDeepPropertyNode.getReducedValueAccelerated(VariableDeepPropertyNode.java:22)
> 	at org.mvel.ast.PropertyASTNode.getReducedValueAccelerated(PropertyASTNode.java:21)
> 	at org.mvel.MVELRuntime.execute(MVELRuntime.java:88)
> 	at org.mvel.CompiledExpression.getValue(CompiledExpression.java:111)
> 	at org.mvel.MVEL.executeExpression(MVEL.java:235)
> 	at org.drools.base.mvel.MVELConsequence.evaluate(MVELConsequence.java:47)
> 	at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:550)
> 	at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:514)
> 	at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:471)
> 	at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:433)
> 	at com.amadeus.mbo.commons.ruleengine.RuleManager.executeRules(RuleManager.java:158)
> 	at com.amadeus.mbo.msp.proto.service.CustomerServiceImpl.validateAddress(CustomerServiceImpl.java:444)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
> 	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> 	at $Proxy8.validateAddress(Unknown Source)
> 	at com.amadeus.mbo.msp.proto.service.CustomerServiceImplTest.testValidateAddress(CustomerServiceImplTest.java:1139)
> DSL Rule RHS executes a function that returns an object which is inserted. 
> No problems when building & validating the package in BRMS, only when executing the rule.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list