Failed to download library jmeter-plugins-cmn-jmeter

3,320 views
Skip to first unread message

mukul.c...@pwc.com

unread,
Jul 11, 2016, 2:53:48 AM7/11/16
to jmeter-plugins
Hey, I am trying to install custom thread group plugin and getting below error. 

"Failed to download library jmeter-plugins-cmn-jmeter" Do I need to changed some properties to make it work?

Thanks Mukul

Andrey Pokhilko

unread,
Jul 11, 2016, 2:56:57 AM7/11/16
to jmeter-...@googlegroups.com
Hi,

There should be more details on this error in jmeter.log file. Can you give these details here?

Andrey Pokhilko


The information transmitted, including any attachments, is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited, and all liability arising therefrom is disclaimed. If you received this in error, please contact the sender and delete the material from any computer. PricewaterhouseCoopers LLP is a Delaware limited liability partnership. This communication may come from PricewaterhouseCoopers LLP or one of its subsidiaries.
--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

mukul.c...@pwc.com

unread,
Jul 11, 2016, 3:10:11 AM7/11/16
to jmeter-plugins
Yes. here it 
2016/07/11 12:20:07 INFO  - org.jmeterplugins.repository.Downloader: Downloading: http://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-cmn-jmeter/0.3/jmeter-plugins-cmn-jmeter-0.3.jar 
2016/07/11 12:20:10 ERROR - org.jmeterplugins.repository.PluginManager: Failed to download jmeter-plugins-cmn-jmeter javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.SSLSocketImpl.handleException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:436)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at org.jmeterplugins.repository.Downloader.download(Downloader.java:34)
at org.jmeterplugins.repository.PluginManager.applyChanges(PluginManager.java:142)
at org.jmeterplugins.repository.PluginManagerDialog$4.run(PluginManagerDialog.java:151)
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at sun.security.validator.PKIXValidator.<init>(Unknown Source)
at sun.security.validator.Validator.getInstance(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.getValidator(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
... 12 more
Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at java.security.cert.PKIXParameters.setTrustAnchors(Unknown Source)
at java.security.cert.PKIXParameters.<init>(Unknown Source)
at java.security.cert.PKIXBuilderParameters.<init>(Unknown Source)
... 24 more

2016/07/11 12:20:10 ERROR - jmeter.JMeter: Uncaught exception:  java.lang.RuntimeException: Failed to download library jmeter-plugins-cmn-jmeter
at org.jmeterplugins.repository.PluginManager.applyChanges(PluginManager.java:148)
at org.jmeterplugins.repository.PluginManagerDialog$4.run(PluginManagerDialog.java:151)
Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.SSLSocketImpl.handleException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:436)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at org.jmeterplugins.repository.Downloader.download(Downloader.java:34)
at org.jmeterplugins.repository.PluginManager.applyChanges(PluginManager.java:142)
... 1 more
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at sun.security.validator.PKIXValidator.<init>(Unknown Source)
at sun.security.validator.Validator.getInstance(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.getValidator(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
... 12 more
Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at java.security.cert.PKIXParameters.setTrustAnchors(Unknown Source)
at java.security.cert.PKIXParameters.<init>(Unknown Source)
at java.security.cert.PKIXBuilderParameters.<init>(Unknown Source)
... 24 more

Andrey Pokhilko

unread,
Jul 11, 2016, 3:13:51 AM7/11/16
to jmeter-...@googlegroups.com
You need to specify proxy settings for Plugins Manager.

Andrey Pokhilko

On 07/11/2016 10:08 AM, mukul.c...@pwc.com wrote:
Yes. here it is:

2016/07/11 12:19:31 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_US 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: Loading user properties from: C:\Users\mchaudhary007\Documents\Analytical Apps\Jmeter\apache-jmeter-2.13\bin\user.properties 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: Loading system properties from: C:\Users\mchaudhary007\Documents\Analytical Apps\Jmeter\apache-jmeter-2.13\bin\system.properties 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: Copyright (c) 1998-2015 The Apache Software Foundation 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: Version 2.13 r1665067 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: java.version=1.7.0_55 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit Server VM 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: os.name=Windows 7 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: os.arch=amd64 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: os.version=6.1 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: file.encoding=Cp1252 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: Default Locale=English (United States) 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: JMeter  Locale=English (United States) 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: JMeterHome=C:\Users\mchaudhary007\Documents\Analytical Apps\Jmeter\apache-jmeter-2.13 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: user.dir  =C:\Users\mchaudhary007\Documents\Analytical Apps\Jmeter\apache-jmeter-2.13\bin 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: PWD       =C:\Users\mchaudhary007\Documents\Analytical Apps\Jmeter\apache-jmeter-2.13\bin 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: IP: 10.27.17.61 Name: MCHAUDHARY00797 FullName: MCHAUDHARY00797.us.nam.ad.pwcinternal.com 
2016/07/11 12:19:31 INFO  - jmeter.gui.action.LookAndFeelCommand: Using look and feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel [Windows, System] 
2016/07/11 12:19:31 INFO  - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties 
2016/07/11 12:19:32 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.' 
2016/07/11 12:19:32 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.' 
2016/07/11 12:19:32 WARN  - org.jmeterplugins.repository.PluginManagerMenuCreator: Was unable to install pmgr cmdline tool 
2016/07/11 12:19:40 INFO  - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22 
2016/07/11 12:19:40 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className property for htmlParser, using default 
2016/07/11 12:19:40 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is  
2016/07/11 12:19:40 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is  
2016/07/11 12:19:40 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is  
2016/07/11 12:19:40 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is  
2016/07/11 12:19:40 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 
2016/07/11 12:19:40 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui 
2016/07/11 12:19:40 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui 
2016/07/11 12:19:40 INFO  - jorphan.exec.KeyToolUtils: keytool found at 'C:\Program Files\Java\jre7\bin\keytool' 
2016/07/11 12:19:40 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:\Users\mchaudhary007\Documents\Analytical Apps\Jmeter\apache-jmeter-2.13\bin\proxyserver.jks 
2016/07/11 12:19:41 INFO  - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times 
2016/07/11 12:19:41 INFO  - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 
2016/07/11 12:19:41 INFO  - jmeter.samplers.SampleResult: sampleresult.useNanoTime=true 
2016/07/11 12:19:41 INFO  - jmeter.samplers.SampleResult: sampleresult.nanoThreadSleep=5000 

mukul.c...@pwc.com

unread,
Jul 11, 2016, 3:22:49 AM7/11/16
to jmeter-plugins
Thanks. does it uses specific proxy setting to talk to internet?

Mukul

Andrey Pokhilko

unread,
Jul 11, 2016, 3:41:56 AM7/11/16
to jmeter-...@googlegroups.com
Please refer to this doc to configure proxy: http://jmeter.apache.org/usermanual/get-started.html#proxy_server

Andrey Pokhilko

Thushara De Silva

unread,
Aug 18, 2022, 8:27:49 AM8/18/22
to jmeter-plugins
Do you guyz know how to resolve this

2022-08-18 17:46:43,532 INFO o.j.r.JARSourceHTTP: Found cached repo
2022-08-18 17:46:43,663 INFO o.j.r.PluginManager: Plugins Status: [jpgc-sense=3.5, jpgc-csl=0.1, jpgc-casutg=2.10, jpgc-prmctl=0.4, jpgc-plugins-manager=1.7, jpgc-csvars=0.1, jpgc-wsc=0.7, jmeter-core=5.4.1, jmeter-ftp=5.4.1, jmeter-http=5.4.1, jmeter-jdbc=5.4.1, jmeter-jms=5.4.1, jmeter-junit=5.4.1, jmeter-java=5.4.1, jmeter-ldap=5.4.1, jmeter-mail=5.4.1, jmeter-mongodb=5.4.1, jmeter-native=5.4.1, jmeter-tcp=5.4.1, jmeter-components=5.4.1]
2022-08-18 17:46:44,402 WARN o.a.j.g.u.MenuFactory: Could not instantiate class: com.blazemeter.jmeter.control.WeightedSwitchControllerGui
java.lang.reflect.InvocationTargetException: null
    at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
    at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
    at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
    at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) ~[?:?]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:481) ~[?:?]
    at org.apache.jmeter.gui.util.MenuFactory.getGUIComponent(MenuFactory.java:207) ~[ApacheJMeter_core.jar:5.4.1]
    at org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:151) ~[ApacheJMeter_core.jar:5.4.1]
    at org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:107) ~[ApacheJMeter_core.jar:5.4.1]
    at org.apache.jmeter.control.gui.TestPlanGui.createPopupMenu(TestPlanGui.java:94) ~[ApacheJMeter_core.jar:5.4.1]
    at org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode.java:184) ~[ApacheJMeter_core.jar:5.4.1]
    at org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:46) ~[ApacheJMeter_core.jar:5.4.1]
    at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:87) ~[ApacheJMeter_core.jar:5.4.1]
    at org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:69) ~[ApacheJMeter_core.jar:5.4.1]
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) [?:?]
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) [?:?]
    at java.awt.EventQueue$4.run(EventQueue.java:721) [?:?]
    at java.awt.EventQueue$4.run(EventQueue.java:715) [?:?]
    at java.security.AccessController.doPrivileged(AccessController.java:391) ~[?:?]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) ~[?:?]
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:740) ~[?:?]
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) ~[?:?]
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) ~[?:?]
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117) ~[?:?]
    at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190) ~[?:?]
    at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235) ~[?:?]
    at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233) ~[?:?]
    at java.security.AccessController.doPrivileged(AccessController.java:312) [?:?]
    at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233) ~[?:?]
    at java.awt.Dialog.show(Dialog.java:1070) ~[?:?]
    at java.awt.Component.show(Component.java:1716) ~[?:?]
    at java.awt.Component.setVisible(Component.java:1663) ~[?:?]
    at java.awt.Window.setVisible(Window.java:1021) ~[?:?]
    at java.awt.Dialog.setVisible(Dialog.java:1005) ~[?:?]
    at org.apache.jmeter.SplashScreen.lambda$showScreen$0(SplashScreen.java:95) ~[ApacheJMeter_core.jar:5.4.1]
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) ~[?:?]
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) ~[?:?]
    at java.awt.EventQueue$4.run(EventQueue.java:721) ~[?:?]
    at java.awt.EventQueue$4.run(EventQueue.java:715) ~[?:?]
    at java.security.AccessController.doPrivileged(AccessController.java:391) [?:?]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) [?:?]
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:740) [?:?]
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) [?:?]
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) [?:?]
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) [?:?]
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) [?:?]
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:?]
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [?:?]
Caused by: java.lang.NoSuchMethodError: 'void kg.apc.jmeter.gui.Grid.<init>(java.lang.String, java.lang.String[], java.lang.Class[], java.lang.Object[], javax.swing.JTable)'
    at com.blazemeter.jmeter.control.WeightedSwitchControllerGui.init(WeightedSwitchControllerGui.java:58) ~[jmeter-plugins-wsc-0.7.jar:?]
    at com.blazemeter.jmeter.control.WeightedSwitchControllerGui.<init>(WeightedSwitchControllerGui.java:31) ~[jmeter-plugins-wsc-0.7.jar:?]
    ... 47 more
Reply all
Reply to author
Forward
0 new messages