JMeterPlugins-Extras.jar Error

3,914 views
Skip to first unread message

Narottam

unread,
Mar 7, 2014, 7:41:59 AM3/7/14
to jmeter-...@googlegroups.com
Hi,
I am currently using Jmeter2.9 r1437961 version of jmeter.For beetr graphical result I downloaded the JMeterPlugins-Extras.jar from http://jmeter-plugins.org/.I extracted the jar and put the jar in the JMETER_HOME\lib\ext folder.But while restarting the jmeter I am getting the following exception in the jmeter console.
 
Uncaught Exception java.lang.NoSuchMethodError: kg.apc.jmeter.listener.GraphsGen
eratorListenerBeanInfo.property(Ljava/lang/String;Ljava/lang/Class;)Ljava/beans/
PropertyDescriptor;. See log file for details.
Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class or
g.apache.jmeter.gui.util.MenuFactory. See log file for details.
 
2014/03/07 18:07:58 ERROR - jmeter.JMeter: Uncaught exception:  java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.MenuFactory
 at org.apache.jmeter.control.gui.TestPlanGui.createPopupMenu(TestPlanGui.java:93)
 at org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode.java:158)
 at org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:47)
 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(Unknown Source)
 at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
 at java.awt.EventQueue.access$000(Unknown Source)
 at java.awt.EventQueue$1.run(Unknown Source)
 at java.awt.EventQueue$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
 
Please help.
Thanks

Andrey Pohilko

unread,
Mar 8, 2014, 9:00:40 AM3/8/14
to jmeter-...@googlegroups.com, milu...@gmail.com, philippe...@gmail.com
Philippe?

пятница, 7 марта 2014 г., 16:41:59 UTC+4 пользователь Narottam написал:

Philippe Mouawad

unread,
Mar 8, 2014, 9:18:56 AM3/8/14
to Andrey Pohilko, jmeter-...@googlegroups.com, milu...@gmail.com
Hello,
As stated in documentation, plugin requires jmeter 2.10 or superior.

Regards
Philippe
--
Cordialement.
Philippe Mouawad.



Andrey Pohilko

unread,
Mar 8, 2014, 10:26:02 AM3/8/14
to jmeter-...@googlegroups.com, Andrey Pohilko, milu...@gmail.com
Philippe,

It is understood that some plugin may require specific JMeter version to function. But it must not block starting JMeter to use other plugins. Many users don't want to add Graph Generator to their test plans and their work now is broken. 

I think you should modify graph generator plugin not to break JMeter startup. For example, Ultimate Thread Group requires JMeter 2.4, but does not block using JMeter 2.3 with other plugins. This achieved by not doing version-specific things in the class constructor.

Can you modify the Gaph Generator to behave the same way?

Regards,
Andrey

суббота, 8 марта 2014 г., 18:18:56 UTC+4 пользователь PMD написал:

PMD

unread,
Mar 8, 2014, 3:29:12 PM3/8/14
to jmeter-...@googlegroups.com, Andrey Pohilko, milu...@gmail.com
Hello,
Fixed it in :

Sorry for this issue.
I suppose you will be releasing a new version ?

By the way Andrey, version naming is rather strange in JP, I would have expected 1.1.3 to be 1.2 as it integrated new features  ? as usually 1.1.X are more for bug fixes ?

Or do you follow another versioning policy ?


Regards
@philmdot

Andrey Pohilko

unread,
Mar 11, 2014, 5:40:32 AM3/11/14
to jmeter-...@googlegroups.com, Andrey Pohilko, milu...@gmail.com
Hi,

PR accepted. You're right about version, the changes was enough for 1.2. I just forgot to take this into attention. Sometimes it needs to be pointed out by somebody for me :)

The project does not have strict versioning policy. It's like http://semver.org/, but often I don't like incrementing MINOR part on "not big enough" changes.

Regards,
Andrey

воскресенье, 9 марта 2014 г., 0:29:12 UTC+4 пользователь PMD написал:

dev.ku...@gmail.com

unread,
Aug 3, 2015, 9:07:47 PM8/3/15
to jmeter-plugins, ap...@ya.ru, milu...@gmail.com
Hi,
I have downloaded JMeter 2.5 but still facing the same issue.

If I place Extra plugin, the Ëdit"button is disabled and it throws the same error "ERROR - jmeter.JMeter: Uncaught exception:  java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.MenuFactory""
Can you please clarify

Regadrs,
Kum

chaubal...@gmail.com

unread,
Oct 21, 2016, 8:51:41 AM10/21/16
to jmeter-plugins, milu...@gmail.com
Hi- I am getting a "java.lang.NoSuchMethodError: kg.apc.jmeter.PluginsCMDWorker.setIncludesSamplesWithRegex(I)V" when I run the test. I am using the test result .jtl file from my earlier test run. I have a non parametrized thread group. Because of this error, I dont get any PNG files folder. Can you please help?
Stack Trace:
2016/10/21 17:19:12 WARN  - jmeter.gui.util.MenuFactory: Missing jar? Could not create kg.apc.jmeter.config.redis.RedisDataSet. java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool$Config 
2016/10/21 17:19:14 INFO  - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22 
2016/10/21 17:19:16 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 
2016/10/21 17:19:16 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 
2016/10/21 17:19:16 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 
2016/10/21 17:19:16 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 
2016/10/21 17:19:16 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 
2016/10/21 17:19:16 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser 
2016/10/21 17:19:25 INFO  - jorphan.exec.KeyToolUtils: keytool found at 'keytool' 
2016/10/21 17:19:25 INFO  - jmeter.protocol.http.proxy.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file C:\apache-jmeter-3.0\bin\proxyserver.jks 
2016/10/21 17:19:26 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.mongodb.config.MongoSourceElement 
2016/10/21 17:19:26 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler 
2016/10/21 17:19:27 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.visualizers.DistributionGraphVisualizer 
2016/10/21 17:19:27 INFO  - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times 
2016/10/21 17:19:27 INFO  - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 
2016/10/21 17:19:27 INFO  - jmeter.samplers.SampleResult: sampleresult.useNanoTime=true 
2016/10/21 17:19:27 INFO  - jmeter.samplers.SampleResult: sampleresult.nanoThreadSleep=5000 
2016/10/21 17:19:27 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.visualizers.SplineVisualizer 
2016/10/21 17:19:38 INFO  - jmeter.services.FileServer: Default base='C:\apache-jmeter-3.0\bin' 
2016/10/21 17:19:38 INFO  - jmeter.gui.action.Load: Loading file: C:\apache-jmeter-3.0\bin\CustomGraphs.jmx 
2016/10/21 17:19:38 INFO  - jmeter.services.FileServer: Set new base='C:\apache-jmeter-3.0\bin' 
2016/10/21 17:19:40 INFO  - jmeter.save.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2 
2016/10/21 17:19:40 INFO  - jmeter.save.SaveService: Using SaveService properties file encoding UTF-8 
2016/10/21 17:19:40 INFO  - jmeter.save.SaveService: Using SaveService properties version 2.9 
2016/10/21 17:19:40 INFO  - jmeter.save.SaveService: All converter versions present and correct 
2016/10/21 17:19:40 INFO  - jmeter.save.SaveService: Loading file: C:\apache-jmeter-3.0\bin\CustomGraphs.jmx 
2016/10/21 17:19:40 INFO  - jmeter.protocol.http.control.CookieManager: Settings: Delete null: true Check: true Allow variable: true Save: false Prefix: COOKIE_ 
2016/10/21 17:19:40 INFO  - jmeter.protocol.http.control.CacheManager: Will only cache the following methods: [GET] 
2016/10/21 17:19:41 INFO  - jmeter.services.FileServer: Set new base='C:\apache-jmeter-3.0\bin' 
2016/10/21 17:28:49 INFO  - jmeter.gui.action.Load: Loading file: C:\apache-jmeter-3.0\bin\GraphGeneratorListener.jmx 
2016/10/21 17:28:49 INFO  - jmeter.services.FileServer: Set new base='C:\apache-jmeter-3.0\bin' 
2016/10/21 17:28:49 INFO  - jmeter.save.SaveService: Loading file: C:\apache-jmeter-3.0\bin\GraphGeneratorListener.jmx 
2016/10/21 17:28:49 WARN  - jmeter.testbeans.gui.GenericTestBeanCustomizer: kg.apc.jmeter.listener.GraphsGeneratorListener#graphWidth(int) has a DEFAULT of class java.lang.String 
2016/10/21 17:28:49 WARN  - jmeter.testbeans.gui.GenericTestBeanCustomizer: kg.apc.jmeter.listener.GraphsGeneratorListener#graphHeight(int) has a DEFAULT of class java.lang.String 
2016/10/21 17:28:49 INFO  - jmeter.services.FileServer: Set new base='C:\apache-jmeter-3.0\bin' 
2016/10/21 17:56:15 INFO  - jmeter.engine.StandardJMeterEngine: Running the test! 
2016/10/21 17:56:15 INFO  - jmeter.samplers.SampleEvent: List of sample_variables: [] 
2016/10/21 17:56:15 INFO  - jmeter.samplers.SampleEvent: List of sample_variables: [] 
2016/10/21 17:56:16 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*) 
2016/10/21 17:56:17 INFO  - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group 
2016/10/21 17:56:17 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group. 
2016/10/21 17:56:17 INFO  - jmeter.engine.StandardJMeterEngine: Thread will continue on error 
2016/10/21 17:56:17 INFO  - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 0 perThread 0.0 delayedStart=false 
2016/10/21 17:56:17 INFO  - jmeter.threads.ThreadGroup: Started thread group number 1 
2016/10/21 17:56:17 INFO  - jmeter.engine.StandardJMeterEngine: All thread groups have been started 
2016/10/21 17:56:17 INFO  - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 
2016/10/21 17:56:20 INFO  - jmeter.protocol.http.sampler.HTTPHCAbstractImpl: Local host = Bhagyashree-PC 
2016/10/21 17:56:20 INFO  - jmeter.protocol.http.sampler.HTTPHC4Impl: HTTP request retry count = 0 
2016/10/21 17:56:31 INFO  - jmeter.protocol.http.parser.BaseParser: Created org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 
2016/10/21 17:56:33 INFO  - jmeter.protocol.http.sampler.ResourcesDownloader: Creating ResourcesDownloader with keepalive_inseconds:60 
2016/10/21 17:56:36 INFO  - jmeter.protocol.http.parser.BaseParser: Created org.apache.jmeter.protocol.http.parser.CssParser 
2016/10/21 17:56:36 INFO  - jmeter.protocol.http.parser.BaseParser: Created org.apache.jmeter.protocol.http.parser.CssParser 
2016/10/21 17:56:55 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature '-o-min-device-pixel-ratio' 
2016/10/21 17:56:55 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature 'min--moz-device-pixel-ratio' 
2016/10/21 17:56:55 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature '-o-min-device-pixel-ratio' 
2016/10/21 17:56:55 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature 'min--moz-device-pixel-ratio' 
2016/10/21 17:56:55 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature '-o-min-device-pixel-ratio' 
2016/10/21 17:56:55 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature 'min--moz-device-pixel-ratio' 
2016/10/21 17:57:06 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature '-o-min-device-pixel-ratio' 
2016/10/21 17:57:06 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature 'min--moz-device-pixel-ratio' 
2016/10/21 17:57:06 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature '-o-min-device-pixel-ratio' 
2016/10/21 17:57:06 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature 'min--moz-device-pixel-ratio' 
2016/10/21 17:57:06 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature '-o-min-device-pixel-ratio' 
2016/10/21 17:57:06 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature 'min--moz-device-pixel-ratio' 
2016/10/21 17:57:20 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature '-o-min-device-pixel-ratio' 
2016/10/21 17:57:20 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature 'min--moz-device-pixel-ratio' 
2016/10/21 17:57:20 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature '-o-min-device-pixel-ratio' 
2016/10/21 17:57:20 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature 'min--moz-device-pixel-ratio' 
2016/10/21 17:57:20 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature '-o-min-device-pixel-ratio' 
2016/10/21 17:57:20 WARN  - com.helger.css.handler.CSSNodeToDomainObject: Media expression uses unknown feature 'min--moz-device-pixel-ratio' 
2016/10/21 17:57:27 INFO  - jmeter.threads.JMeterThread: Thread is done: Thread Group 1-1 
2016/10/21 17:57:27 INFO  - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1 
2016/10/21 17:57:27 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test 
2016/10/21 17:57:27 INFO  - kg.apc.jmeter.PluginsCMDWorker: Using JMeterPluginsCMD v. N/A 
2016/10/21 17:57:27 WARN  - kg.apc.jmeter.PluginsCMDWorker: JMeter env exists. No one should see this normally. 
2016/10/21 17:57:28 ERROR - jmeter.JMeter: Uncaught exception:  java.lang.NoSuchMethodError: kg.apc.jmeter.PluginsCMDWorker.setIncludeSamplesWithRegex(I)V
at kg.apc.jmeter.listener.GraphsGeneratorListener.testEnded(GraphsGeneratorListener.java:176)
at kg.apc.jmeter.listener.GraphsGeneratorListener.testEnded(GraphsGeneratorListener.java:124)
at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(StandardJMeterEngine.java:215)
at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:436)
at java.lang.Thread.run(Unknown Source)


I am attaching the .jmx file and the jmeter log.
The standard, Extras, ExtrasLibs and CMDRunner jars are in lib/ext folder of JMeter

Kindly assist
jmeter.log
GraphGeneratorListener.jmx

Pinakin Chaubal

unread,
Oct 21, 2016, 8:59:26 AM10/21/16
to jmeter-plugins, milu...@gmail.com
I am on JMeter 3.0

Jean-Marie Markowski

unread,
Oct 21, 2016, 3:06:05 PM10/21/16
to jmeter-plugins, milu...@gmail.com
Hello,

And me ..... I stil use my Bundle with 2.13 : )


Reply all
Reply to author
Forward
0 new messages