Tool class Reporter not found (using search_paths)

2,300 views
Skip to first unread message

jan.v...@etnetera.cz

unread,
Jul 10, 2015, 6:08:00 AM7/10/15
to jmeter-...@googlegroups.com
Hi,
I am getting this exception after upgrading from plugins 1.2.0 to 1.3.0.

I use JMeter 2.13 and 'search_paths' parameter to define path to JMeter plugins. It works well if copied directly to JMeter/lib folder.

2015/07/10 11:54:11 INFO  - kg.apc.jmeter.PluginsCMDWorker: Using JMeterPluginsCMD v. 1.3.0 
2015/07/10 11:54:11 WARN  - kg.apc.jmeter.JMeterPluginsUtils: JMeter env exists. No one should see this normally. 
2015/07/10 11:54:11 ERROR - jmeter.JMeter: Uncaught exception:  java.lang.IllegalArgumentException: Tool class Reporter not found
at kg.apc.cmdtools.PluginsCMD.getToolInstance(PluginsCMD.java:104)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:51)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:23)
at org.apache.jmeter.gui.action.CreateReport.createGraph(CreateReport.java:874)
at org.apache.jmeter.gui.action.CreateReport.access$1100(CreateReport.java:61)
at org.apache.jmeter.gui.action.CreateReport$2$5.run(CreateReport.java:717)
at java.lang.Thread.run(Thread.java:745)

Anyone having the same issue? Perhaps it is caused by putting CMDRunner into its own JAR?

Thanks!

pushpra...@gmail.com

unread,
May 18, 2016, 2:54:08 AM5/18/16
to jmeter-plugins, jan.v...@etnetera.cz
Yes me too facing same issue... I have reported it here, but no reply.

Command:
C:\...\apache-jmeter-2.13\lib\ext>java -jar cmdrunner-2.0.jar --tool Reporter --generate-png test.png --input-jtl C:\...\...\Desktop\jmeter\..\reports\ jpGCgraphs.jtl --plugin-type ResponseTimesOverTimeGui --width 800 --height 600

Error:
ERROR: java.lang.IllegalArgumentException: Tool class Reporter not found
*** Problem's technical details go below ***
Home directory was detected as: E:\dumps\apache-jmeter-2.13\lib\ext
Exception in thread "main" java.lang.IllegalArgumentException: Tool class Reporter not found
        at kg.apc.cmdtools.PluginsCMD.getToolInstance(PluginsCMD.java:123)
        at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:53)
        at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:22)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at kg.apc.cmd.UniversalRunner.main(UniversalRunner.java:105)

and...@blazemeter.com

unread,
May 19, 2016, 3:13:52 AM5/19/16
to jmeter-plugins, jan.v...@etnetera.cz, pushpra...@gmail.com
Hi,

Judging by "cmdrunner-2.0" presence I assume you are using Plugins Manager. The manager had slight change in a way command line tools invoked. You should have JMeterPluginsCMD.bat in your JMeter/bin directory, please launch it from there.

--
Andrey

and...@blazemeter.com

unread,
May 19, 2016, 4:07:31 AM5/19/16
to jmeter-plugins, jan.v...@etnetera.cz, pushpra...@gmail.com, and...@blazemeter.com
If you don't have that file, this means you did not install the tool properly. Please use plugins manager http://jmeter-plugins.org/wiki/PluginsManager/ and install "Command-Line Graph Plotting Tool" through it.

--
Andrey

gartla...@gmail.com

unread,
Dec 19, 2019, 11:00:57 AM12/19/19
to jmeter-plugins
I'm sure you've probably solved this issue by now but just posting how I solved this problem for future people:

helped me. 

It states that the Reporter Tool Class is found in this jar file:  JMeterPlugins-Standard.jar 


You need to make sure that the JMeterPlugins-Standard jar file is in the same directory as cmd-runner.jar

When I put them both in: $JMETER_HOME/lib/ext  , it worked.
Reply all
Reply to author
Forward
0 new messages