Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-672

Drools audit log view cannot be opened

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 6.2.0.Final
    • 6.0.1.Final
    • None

      On behalf of Gergely Bacso:

      From: Mark Proctor
      Sent: ‎20/‎12/‎2014 21:15
      To: drools-setup@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

      On 19 Dec 2014, at 18:19, Gergely Bacsó 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

              mfusco@redhat.com Mario Fusco
              melgarj_jira Jose Luis Melgar (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: