]
Michael Anstis reassigned JBRULES-3023:
---------------------------------------
Assignee: Michael Anstis (was: Mark Proctor)
The Audit view in Drools Eclipse plugin does not work
-----------------------------------------------------
Key: JBRULES-3023
URL:
https://issues.jboss.org/browse/JBRULES-3023
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-core, drools-eclipse
Affects Versions: 5.2.0.M2
Reporter: Jervis Liu
Assignee: Michael Anstis
Fix For: 5.2.0.CR1
The Audit view in Drools Eclipse plugin does not work. Or maybe it is sth wrong with the
logger.
How to reproduce:
1. download drools distribution from
https://hudson.qa.jboss.com/hudson/view/Drools%20jBPM/job/drools-5.2.x/3/
2. Build example using pom provided: mvn clean install
3. Generate Eclipse project: mvn eclipse:eclipse
4. Import example project into Eclipse.
5. Set a break point in Helloworld.drl. Uncomment the logger in HelloWorldExample.java
6. Debug HelloWorldExample as Drools
7. There is nothing showed up in Audit view. And there is an exception in console:
Exception in thread "main" java.lang.RuntimeException: Could not create the log
file. Please make sure that directory that the log file should be placed in does exist.
at
org.drools.audit.WorkingMemoryFileLogger.initializeLog(WorkingMemoryFileLogger.java:148)
at
org.drools.audit.WorkingMemoryFileLogger.writeToDisk(WorkingMemoryFileLogger.java:113)
at
org.drools.audit.KnowledgeRuntimeLoggerProviderImpl$KnowledgeRuntimeFileLoggerWrapper.close(KnowledgeRuntimeLoggerProviderImpl.java:56)
at org.drools.examples.helloworld.HelloWorldExample.main(HelloWorldExample.java:81)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: