jmeter.gui.action.Load: Unexpected error java.lang.IllegalArgumentException: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver())

Bug #457660 reported by Milamber
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jakarta-jmeter (Ubuntu)
Fix Released
Medium
Unassigned
libxstream-java (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

When I would like open a file, a dialog box show :
 XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver())

(in last Ubuntu 9.10beta with last update)
dpkg -l | grep jmeter
ii jmeter 2.3.4-0ubuntu3 Load testing and performance measurement app
ii jmeter-help 2.3.4-0ubuntu3 Load testing and performance measurement app
ii jmeter-http 2.3.4-0ubuntu3 Load testing and performance measurement app

In Jmeter.log :

2009/10/21 20:57:54 WARN - jmeter.gui.action.Load: Unexpected error java.lang.IllegalArgumentException: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver())
 at com.thoughtworks.xstream.io.xml.XppDriver.loadLibrary(XppDriver.java:62)
 at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:43)
 at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
 at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:450)
 at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:107)
 at org.apache.jmeter.gui.action.LoadRecentProject.doAction(LoadRecentProject.java:65)
 at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
 at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
 at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

ProblemType: Bug
Architecture: amd64
Date: Wed Oct 21 21:39:18 2009
DistroRelease: Ubuntu 9.10
Package: jmeter 2.3.4-0ubuntu3
PackageArchitecture: all
ProcEnviron:
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: jakarta-jmeter
Uname: Linux 2.6.31-14-generic x86_64
XsessionErrors:
 (gnome-settings-daemon:1425): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:1425): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:1494): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:1482): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (gnome-panel:1481): Gdk-WARNING **: /build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window

Revision history for this message
Milamber (milamberspace) wrote :
Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Can you please attach the file you are trying to open or any other sample file to help reproduce this problem on my end?

Revision history for this message
Milamber (milamberspace) wrote :

This bug appear with any test plan.
If I create (from this JMeter) a new test plan file, and I close this new file. After I open this file, I have this exception.

In attachment, a sample test plan.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

I will be able to test this tonight (about 6 hours from now).

Meanwhile can you please test if this simple change fixes the problem?
1. Install package libxpp3-java
2. In /usr/bin/jmeter change following line
find_jars junit libhtmlparser oro xalan2 xmlgraphics-commons xstream
to
find_jars junit libhtmlparser oro xalan2 xmlgraphics-commons xpp3 xstream

Please let me know how it goes.

Revision history for this message
Till Klampaeckel (till-php) wrote :

I can confirm that the fix in #4 works and fixes the issue.

Changed in jakarta-jmeter (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Onkar Shinde (onkarshinde) wrote :

This actually needs to be fixed in libxstream-java.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :
Changed in libxstream-java (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Milamber (milamberspace) wrote :

Thanks, with #4 fix is good now.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jakarta-jmeter - 2.3.4-0ubuntu4

---------------
jakarta-jmeter (2.3.4-0ubuntu4) karmic; urgency=low

  * Workaround a bug in libxstream-java. (LP: #457660)
  * debian/control
    - Add libxpp3-java dependency.
  * debian/wrappers/jmeter
    - Add xpp3 and xpp3-xpath to classpath.

 -- Onkar Shinde <email address hidden> Fri, 23 Oct 2009 12:44:39 +0530

Changed in jakarta-jmeter (Ubuntu):
status: Confirmed → Fix Released
Thierry Carrez (ttx)
Changed in libxstream-java (Ubuntu):
milestone: none → later
status: Confirmed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libxstream-java - 1.3.1-6

---------------
libxstream-java (1.3.1-6) unstable; urgency=low

  [ Onkar Shinde ]
  * debian/control
    - Add quilt build dependency.
  * debian/rules
    - Include patchsys-quilt.mk rule.
  * debian/patches/01_fix_classpath.diff
    - Add appropriate jar files in classpath using manifest attribute.
      (LP: #457660)
  * debian/patches/series
    - Create new and include the new patch added.
  * debian/README.source
    - Add to comply with policy.

  [ Michael Koch ]
  * Added myself to Uploaders.
 -- Ubuntu Archive Auto-Sync <email address hidden> Tue, 17 Nov 2009 17:46:26 +0000

Changed in libxstream-java (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.