[jboss-jira] [JBoss JIRA] Created: (JBRULES-997) PackageBuilderConfiguration line 156 swallows exception cause
Alexandre Gattiker (JIRA)
jira-events at lists.jboss.org
Wed Jul 11 10:24:32 EDT 2007
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: Mark Proctor
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: 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