Created attachment 524912 [details] Class to reproduce bug Description of problem: ResourceChangeScanner fails to scan DRF (.rf) resource. The same exception is thrown when scanning XLS file and PKG from Guvnor. Other resource format scanning seems to work fine. Exception in thread "Thread-3" 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:679) Version-Release number of selected component (if applicable): BRMS 5.2.0 ER4 How reproducible: Create knowledge agent and set scan for changed .rf file. Scan of DRF then fails. Steps to Reproduce: 1. Unzip attached file. 2. Run java appliacation to reproduce bug. Actual results: Scan of DRF resource throws exception. Expected results: Scanning of all resources specified in changeset schema should work. Additional info:
Fixed. Problem was the same as for BPMN files.
Please verify the issue on 5.3 ER4.
Verified in 5.3 ER4.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The KnowledgeAgent's ResourceChangeScanner failed to scan .rf resources and threw a illegalStateException. This has been resolved and error no longer occurs.