Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10707

Audit view cannot load log file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta2-SOA
    • None
    • drools
    • None
    • Hide

      1. Create new Drools project with all sample source code and run DroolsTest.java as java application
      2. Refresh project and created log file (test.log) will be shown in project.
      3. Open Audit view
      4. Open in audit view mentioned log file (test.log)
      5. NoClassDefFoundError exception is thrown (see standard output) and audit log does not load log file and shows message "The selected audit log is empty."

      Show
      1. Create new Drools project with all sample source code and run DroolsTest.java as java application 2. Refresh project and created log file (test.log) will be shown in project. 3. Open Audit view 4. Open in audit view mentioned log file (test.log) 5. NoClassDefFoundError exception is thrown (see standard output) and audit log does not load log file and shows message "The selected audit log is empty."

      Audit view cannot load log file. Probably because of this exception:

      !ENTRY org.drools.eclipse 4 120 2012-01-25 15:58:37.076
      !MESSAGE Internal error in Drools Plugin:
      !STACK 0
      java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserFactory
      at com.thoughtworks.xstream.io.xml.XppDriver.createParser(XppDriver.java:57)
      at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:58)
      at com.thoughtworks.xstream.XStream.createObjectInputStream(XStream.java:1660)
      at org.drools.eclipse.debug.AuditView.refresh(AuditView.java:118)
      at org.drools.eclipse.debug.AuditView.setLogFile(AuditView.java:103)
      at org.drools.eclipse.debug.actions.FileAuditDropAdapter.performDrop(FileAuditDropAdapter.java:39)
      at org.eclipse.jface.viewers.ViewerDropAdapter.drop(ViewerDropAdapter.java:276)
      at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
      at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1061)
      at org.eclipse.swt.dnd.DropTarget.drag_data_received(DropTarget.java:371)
      at org.eclipse.swt.dnd.DropTarget.Drag_Data_Received(DropTarget.java:251)
      at org.eclipse.swt.internal.gtk.OS._gtk_drag_get_data(Native Method)
      at org.eclipse.swt.internal.gtk.OS.gtk_drag_get_data(OS.java:6693)
      at org.eclipse.swt.dnd.DropTarget.drag_drop(DropTarget.java:416)
      at org.eclipse.swt.dnd.DropTarget.Drag_Drop(DropTarget.java:258)
      at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
      at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8422)
      at org.eclipse.swt.widgets.Display.eventProc(Display.java:1245)
      at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
      at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2276)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3207)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
      at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

      After this exception audit view shows message "The selected audit log is empty." but the log file is not empty and it contains logged data.

              kverlaen@redhat.com Kris Verlaenen
              jgargula_jira Juraj Gargulak (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: