You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2014/12/03 06:57:32 UTC

[Bug 57303] New: commons-math3 dependency is missing in the jmeter lib package

https://issues.apache.org/bugzilla/show_bug.cgi?id=57303

            Bug ID: 57303
           Summary: commons-math3 dependency is missing in the jmeter lib
                    package
           Product: JMeter
           Version: Nightly (Please specify date)
          Hardware: PC
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: bhatt.chaitanya@gmail.com

After downloading apache-jmeter-r1642603 bin and lib package, I tried to start
a project with backendlistener and noticed no class def found error message:
2014/12/02 21:56:22 WARN  - jmeter.gui.action.Load: Missing jar file
java.lang.NoClassDefFoundError:
org/apache/commons/math3/stat/descriptive/DescriptiveStatistics
    at
org.apache.jmeter.visualizers.backend.UserMetric.<init>(UserMetric.java:33)
    at
org.apache.jmeter.visualizers.backend.AbstractBackendListenerClient.<init>(AbstractBackendListenerClient.java:56)
    at
org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient.<init>(GraphiteBackendListenerClient.java:83)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
    at java.lang.Class.newInstance(Class.java:438)
    at
org.apache.jmeter.visualizers.backend.BackendListenerGui.actionPerformed(BackendListenerGui.java:165)
    at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1258)
    at javax.swing.JComboBox.setSelectedItem(JComboBox.java:586)
    at
org.apache.jmeter.visualizers.backend.BackendListenerGui.configure(BackendListenerGui.java:230)
    at
org.apache.jmeter.gui.tree.JMeterTreeModel.addComponent(JMeterTreeModel.java:154)
    at
org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:129)
    at
org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:129)
    at
org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:121)
    at org.apache.jmeter.gui.GuiPackage.addSubTree(GuiPackage.java:495)
    at org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:199)
    at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:136)
    at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:105)
    at
org.apache.jmeter.gui.action.LoadRecentProject.doAction(LoadRecentProject.java:68)
    at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
    at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
    at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
    at java.awt.EventQueue.access$400(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:697)
    at java.awt.EventQueue$3.run(EventQueue.java:691)
    at java.security.AccessController.doPrivileged(Native Method)
    at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
    at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.math3.stat.descriptive.DescriptiveStatistics
    at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 38 more

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57303] commons-math3 dependency is missing in the jmeter lib package (nightly build)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57303

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Fri Dec  5 12:07:52 2014
New Revision: 1643251

URL: http://svn.apache.org/viewvc?rev=1643251&view=rev
Log:
Bugzilla 57303 - commons-math3 dependency is missing in the jmeter lib package
(nightly build)
Bugzilla Id: 57303

Modified:
    jmeter/trunk/build.xml
    jmeter/trunk/xdocs/changes.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57303] commons-math3 dependency is missing in the jmeter lib package (nightly build)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57303

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
           Hardware|PC                          |All
            Summary|commons-math3 dependency is |commons-math3 dependency is
                   |missing in the jmeter lib   |missing in the jmeter lib
                   |package                     |package (nightly build)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57303] commons-math3 dependency is missing in the jmeter lib package

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57303

--- Comment #1 from Sebb <se...@apache.org> ---
Thanks - there's a typo in the section of the build file that creates the lib
jar:

--- build.xml    (revision 1642200)
+++ build.xml    (working copy)
@@ -365,7 +365,7 @@
     <include name="${lib.dir}/${commons-jexl2.jar}"/>
     <include name="${lib.dir}/${commons-lang3.jar}"/>
     <include name="${lib.dir}/${commons-logging.jar}"/>
-    <include name="${lib.dir}/${commons-math3}"/>
+    <include name="${lib.dir}/${commons-math3.jar}"/>
     <include name="${lib.dir}/${commons-net.jar}"/>
     <include name="${lib.dir}/${commons-pool2.jar}"/>
     <include name="${lib.dir}/${dnsjava.jar}"/>

We'll fix that shortly

-- 
You are receiving this mail because:
You are the assignee for the bug.