[jboss-jira] [JBoss JIRA] Closed: (JBRULES-997) PackageBuilderConfiguration line 156 swallows exception cause
Mark Proctor (JIRA)
jira-events at lists.jboss.org
Sat Jul 14 23:46:04 EDT 2007
[ http://jira.jboss.com/jira/browse/JBRULES-997?page=all ]
Mark Proctor closed JBRULES-997.
--------------------------------
Resolution: Out of Date
Assignee: Mark Proctor (was: Edson Tirelli)
I've already fixed this as part of JBRULES-1010 where it not only passes the exception, but also checks to see if the jar is in the classpath on setCompiler.
> 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