[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1436) Filescanner throws NPE when there's a compile error.

Michael Neale (JIRA) jira-events at lists.jboss.org
Wed Mar 12 22:02:57 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBRULES-1436?page=all ]

Michael Neale closed JBRULES-1436.
----------------------------------

    Resolution: Done

Fixed in 4.0.x and trunk.

> Filescanner throws NPE when there's a compile error.
> ----------------------------------------------------
>
>                 Key: JBRULES-1436
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1436
>             Project: JBoss Drools
>          Issue Type: Bug
>          Components: Drl Parser/Builder
>    Affects Versions: 4.0.4
>         Environment: os x, drools 4.0.4
>            Reporter: Alex McCarrier
>         Assigned To: Michael Neale
>            Priority: Minor
>             Fix For: 4.0.5, 5.0.0-M1
>
>
> Loading a .drl file via the FileScanner, if there is a compile error in the file the FileScanner throws an NPE rather than throwing the compile exception.  I had to download the source and examine the exception by setting a breakpoint to figure out what was going on.
> This is in:
> org.drools.agent.FileScanner:98-101

-- 
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