[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1890) FileScanner throws NPE in Exception handler when listener is null
Mark Proctor (JIRA)
jira-events at lists.jboss.org
Wed Jan 14 18:49:04 EST 2009
[ https://jira.jboss.org/jira/browse/JBRULES-1890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Proctor closed JBRULES-1890.
---------------------------------
Fix Version/s: 5.0.0.M5
Resolution: Done
> FileScanner throws NPE in Exception handler when listener is null
> -----------------------------------------------------------------
>
> Key: JBRULES-1890
> URL: https://jira.jboss.org/jira/browse/JBRULES-1890
> Project: JBoss Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-core
> Affects Versions: 4.0.7
> Environment: Windows XP, Drools 4.0.7, JDK6u10
> Reporter: Eric Lindahl
> Assignee: Mark Proctor
> Priority: Minor
> Fix For: 5.0.0.M5
>
>
> FileScanner lines 97-106
> if (name.endsWith(".drl")) {
> try {
> FileLoader fl = (FileLoader) Class.forName("org.drools.compiler.SourcePackageProvider").newInstance();
> return fl.loadPackage(pkgFile);
> } catch (Exception e) {
> this.listener.exception(e);
> return null;
> }
> } else {
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list