[
https://issues.jboss.org/browse/JBRULES-3282?page=com.atlassian.jira.plug...
]
RH Bugzilla Integration commented on JBRULES-3282:
--------------------------------------------------
Geoffrey De Smet <gdesmet(a)redhat.com> made a comment on [bug
741219|https://bugzilla.redhat.com/show_bug.cgi?id=741219]
Of the attached patch, run
org.drools.decisiontable.ChangeSetTest#testCSVByKnowledgeAgentWithFileReader
That testcase will succeed, but in the logging you 'll see a stacktrace which means it
actually didn't succeed, but the off-thread exceptions are ignored.
The patch fixes the lastModified problem, but that just surfaces the "Unknown
resource type: null" which is due to a deeper architectural problem as far as I can
tell.
ResourceChangeScanner does not call listener.exception(throwable) if
the scan method throws a RuntimeException or Error
-----------------------------------------------------------------------------------------------------------------------
Key: JBRULES-3282
URL:
https://issues.jboss.org/browse/JBRULES-3282
Project: Drools
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
Fix For: 5.4.0.Beta1
For example, ChangeSetTest succeeds, but in the system.out you get:
{code}
Exception in thread "Thread-9" java.lang.IllegalStateException: reader does
have a modified date
at org.drools.io.impl.ReaderResource.getLastModified(ReaderResource.java:64)
at
org.drools.io.impl.ResourceChangeScannerImpl.scan(ResourceChangeScannerImpl.java:166)
at
org.drools.io.impl.ResourceChangeScannerImpl$ProcessChangeSet.run(ResourceChangeScannerImpl.java:311)
at java.lang.Thread.run(Thread.java:662)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira