[jboss-jira] [JBoss JIRA] (DROOLS-672) Drools audit log view cannot be opened

Jose Luis Melgar (JIRA) issues at jboss.org
Mon Dec 22 04:01:29 EST 2014


Jose Luis Melgar created DROOLS-672:
---------------------------------------

             Summary: Drools audit log view cannot be opened
                 Key: DROOLS-672
                 URL: https://issues.jboss.org/browse/DROOLS-672
             Project: Drools
          Issue Type: Bug
    Affects Versions: 6.0.1.Final
            Reporter: Jose Luis Melgar
            Assignee: Mark Proctor


On behalf of Gergely Bacso:

{quote}
From: Mark Proctor
Sent: ‎20/‎12/‎2014 21:15
To: drools-setup at googlegroups.com
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.


Thanks

Mark
{quote}
{quote}
On 19 Dec 2014, at 18:19, Gergely Bacsó <gergely.bacso at gmail.com> wrote:


Hi,

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.

Gergely
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the jboss-jira mailing list