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
Priority: Minor
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