]
Edson Tirelli reassigned JBRULES-997:
-------------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
PackageBuilderConfiguration line 156 swallows exception cause
-------------------------------------------------------------
Key: JBRULES-997
URL:
http://jira.jboss.com/jira/browse/JBRULES-997
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.0.0.MR3
Reporter: Alexandre Gattiker
Assigned To: Edson Tirelli
PackageBuilderConfiguration line 156:
is:
throw new RuntimeDroolsException( "Unable to load dialect '" + dialectClass
+ ":" + dialectName + "'" );
should be:
throw new RuntimeDroolsException( "Unable to load dialect '" + dialectClass
+ ":" + dialectName + "'" , e);
Symptom:
When a required library is missing (such as mvel), an Exception
"java.lang.RuntimeException: org.drools.RuntimeDroolsException: Unable to load
dialect 'org.drools.rule.builder.dialect.java.JavaDialect:java'" is thrown.
With the fix, it will say "Caused by: java.lang.NoClassDefFoundError:
org/mvel/integration/VariableResolverFactory..."
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: