On behalf of Gergely Bacso:
From: Mark Proctor
Sent: 20/12/2014 21:15
Cc: Bob Brodt
Subject: Re: [drools-setup] Drools audit log view cannot be opened
please open a JIRA, so we can be sure to fix this.
On 19 Dec 2014, at 18:19, Gergely Bacsó wrote:
First of all: this problem can be reproduced with only a single audit file.
I managed to get closer to the solution by spending a few hours reading Drools source code:
The Eclipse plugin has a class called AuditView, this class expects RuleFlowGroupNode-s in the right sequence, or it blows up:
http://grepcode.com/file/repo1.maven.org/maven2/org.drools/org.drools.eclipse/6.0.1.Final/org/drools/eclipse/debug/AuditView.java (see line 515, stack.pop())
Since my audit logs for some reason contain several of
AFTER_RULEFLOW_GROUP_DEACTIVATED entries without having any BEFORE_RULEFLOW_GROUP_DEACTIVATED entries preceding them, the AuditView fails to parse the log.Currently I am manually removing these non-matched entries to be able to open the file, and planning to spend some time on further analysis after the holidays.