[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2043) No decent error message when the scoreDrl doesn't exist (was: Log problems while building the RuleBase)
Geoffrey De Smet (JIRA)
jira-events at lists.jboss.org
Fri May 6 11:42:18 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-2043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Geoffrey De Smet updated JBRULES-2043:
--------------------------------------
Fix Version/s: (was: 5.2.0.M1)
> No decent error message when the scoreDrl doesn't exist (was: Log problems while building the RuleBase)
> -------------------------------------------------------------------------------------------------------
>
> Key: JBRULES-2043
> URL: https://issues.jboss.org/browse/JBRULES-2043
> Project: Drools
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: drools-planner
> Affects Versions: 5.0.0.M5
> Reporter: Dietmar Scheidl
> Assignee: Geoffrey De Smet
>
> I startet to experiment with the drools-solver but only got a NullPointerException:
> Caused by: java.lang.NullPointerException
> at org.drools.common.AbstractRuleBase.addPackages(AbstractRuleBase.java:429)
> at org.drools.reteoo.ReteooRuleBase.addPackage(ReteooRuleBase.java:395)
> at org.drools.solver.config.localsearch.LocalSearchSolverConfig.buildRuleBase(LocalSearchSolverConfig.java:166)
> at org.drools.solver.config.localsearch.LocalSearchSolverConfig.buildSolver(LocalSearchSolverConfig.java:137)
> at org.drools.solver.config.XmlSolverConfigurer.buildSolver(XmlSolverConfigurer.java:73)
> ...
> After debugging into this location, I found out that it comes from an error in my scoreDrl.
> The buildSolver-Method should fail with a more helpful exception or the result of the PackageBuilder should be available to analyse the problems.
--
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