[jboss-jira] [JBoss JIRA] Created: (JBRULES-1890) FileScanner throws NPE in Exception handler when listener is null

Eric Lindahl (JIRA) jira-events at lists.jboss.org
Tue Dec 9 13:20:46 EST 2008


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



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