[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1596) java.lang.NoClassDefFoundError using function in DSL Rule
Jurgen Van Bouchaute (JIRA)
jira-events at lists.jboss.org
Mon May 5 10:24:10 EDT 2008
[ http://jira.jboss.com/jira/browse/JBRULES-1596?page=all ]
Jurgen Van Bouchaute updated JBRULES-1596:
------------------------------------------
Summary: java.lang.NoClassDefFoundError using function in DSL Rule (was: java.lang.NoClassDefFoundError )
> java.lang.NoClassDefFoundError using function in DSL Rule
> ---------------------------------------------------------
>
> Key: JBRULES-1596
> URL: http://jira.jboss.com/jira/browse/JBRULES-1596
> Project: JBoss 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
> Assigned To: Mark Proctor
> 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.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list