Failed to load Plugins Manager net.sf.json.JSONException: Invalid JSON String

619 views
Skip to first unread message

dssh...@gmail.com

unread,
Jun 24, 2016, 12:55:31 PM6/24/16
to jmeter-plugins
I am using a newly installed JMeter 3.0 without any modifications other than adding jmeter-plugins-manager-0.8.jar into \lib\ext. I get the following in the JMeter.log file and the JMeter Options menu has no mention of the plugin manager. I did add log_level.org.jmeterplugins.repository=DEBUG before generating this log. Java version is 1.8.0_60.

Any suggestions?

Thanks.

2016/06/24 09:47:35 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_US
2016/06/24 09:47:35 INFO  - jmeter.JMeter: Loading user properties from: C:\apache-jmeter-3.0\bin\user.properties
2016/06/24 09:47:35 INFO  - jmeter.JMeter: Loading system properties from: C:\apache-jmeter-3.0\bin\system.properties
2016/06/24 09:47:35 INFO  - jmeter.JMeter: Copyright (c) 1998-2016 The Apache Software Foundation
2016/06/24 09:47:35 INFO  - jmeter.JMeter: Version 3.0 r1743807
2016/06/24 09:47:35 INFO  - jmeter.JMeter: java.version=1.8.0_60
2016/06/24 09:47:35 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit Server VM
2016/06/24 09:47:35 INFO  - jmeter.JMeter: os.name=Windows 7
2016/06/24 09:47:35 INFO  - jmeter.JMeter: os.arch=amd64
2016/06/24 09:47:35 INFO  - jmeter.JMeter: os.version=6.1
2016/06/24 09:47:35 INFO  - jmeter.JMeter: file.encoding=Cp1252
2016/06/24 09:47:35 INFO  - jmeter.JMeter: Max memory     =8361869312
2016/06/24 09:47:35 INFO  - jmeter.JMeter: Available Processors =4
2016/06/24 09:47:35 INFO  - jmeter.JMeter: Default Locale=English (United States)
2016/06/24 09:47:35 INFO  - jmeter.JMeter: JMeter  Locale=English (United States)
2016/06/24 09:47:35 INFO  - jmeter.JMeter: JMeterHome=C:\apache-jmeter-3.0
2016/06/24 09:47:35 INFO  - jmeter.JMeter: user.dir  =C:\apache-jmeter-3.0\bin
2016/06/24 09:47:35 INFO  - jmeter.JMeter: PWD       =C:\apache-jmeter-3.0\bin
2016/06/24 09:47:35 INFO  - jmeter.JMeter: IP: 10.234.53.34 Name: SRM-PC-01454 FullName: SRM-PC-01454.na.msds.rhi.com
2016/06/24 09:47:36 INFO  - jmeter.gui.action.LookAndFeelCommand: Using look and feel: javax.swing.plaf.metal.MetalLookAndFeel [Metal, CrossPlatform]
2016/06/24 09:47:36 INFO  - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties
2016/06/24 09:47:36 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2016/06/24 09:47:36 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2016/06/24 09:47:37 DEBUG - org.jmeterplugins.repository.PluginManager: Requesting http://jmeter-plugins.org/repo/?installID=1cdb45380f612bd14f5be5bceebdfdd5
2016/06/24 09:47:37 DEBUG - org.jmeterplugins.repository.PluginManager: Response with code HTTP/1.1 200 OK [Content-Type: text/html; charset="utf-8", Content-Length: 6, Connection: Close] org.apache.http.conn.BasicManagedEntity@51fadaff:    

 
2016/06/24 09:47:37 ERROR - org.jmeterplugins.repository.PluginManagerMenuCreator: Failed to load Plugins Manager net.sf.json.JSONException: Invalid JSON String
    at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:143)
    at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103)
    at org.jmeterplugins.repository.PluginManager.getJSON(PluginManager.java:116)
    at org.jmeterplugins.repository.PluginManager.load(PluginManager.java:52)
    at org.jmeterplugins.repository.PluginManagerMenuItem.<init>(PluginManagerMenuItem.java:23)
    at org.jmeterplugins.repository.PluginManagerMenuCreator.getMenuItemsAtLocation(PluginManagerMenuCreator.java:22)
    at org.apache.jmeter.gui.util.JMeterMenuBar.addPluginsMenuItems(JMeterMenuBar.java:572)
    at org.apache.jmeter.gui.util.JMeterMenuBar.makeOptionsMenu(JMeterMenuBar.java:349)
    at org.apache.jmeter.gui.util.JMeterMenuBar.createMenuBar(JMeterMenuBar.java:268)
    at org.apache.jmeter.gui.util.JMeterMenuBar.<init>(JMeterMenuBar.java:161)
    at org.apache.jmeter.gui.MainFrame.init(MainFrame.java:493)
    at org.apache.jmeter.gui.MainFrame.<init>(MainFrame.java:241)
    at org.apache.jmeter.JMeter.startGui(JMeter.java:327)
    at org.apache.jmeter.JMeter.start(JMeter.java:480)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.jmeter.NewDriver.main(NewDriver.java:259)

2016/06/24 09:47:37 INFO  - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22
2016/06/24 09:47:38 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2016/06/24 09:47:38 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2016/06/24 09:47:38 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2016/06/24 09:47:38 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2016/06/24 09:47:38 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2016/06/24 09:47:38 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
2016/06/24 09:47:38 INFO  - jorphan.exec.KeyToolUtils: keytool found at 'keytool'
2016/06/24 09:47:38 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/06/24 09:47:38 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.mongodb.config.MongoSourceElement
2016/06/24 09:47:38 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler
2016/06/24 09:47:39 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.visualizers.DistributionGraphVisualizer
2016/06/24 09:47:39 INFO  - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times
2016/06/24 09:47:39 INFO  - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
2016/06/24 09:47:39 INFO  - jmeter.samplers.SampleResult: sampleresult.useNanoTime=true
2016/06/24 09:47:39 INFO  - jmeter.samplers.SampleResult: sampleresult.nanoThreadSleep=5000
2016/06/24 09:47:39 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.visualizers.SplineVisualizer



Andrey Pokhilko

unread,
Jun 24, 2016, 1:31:26 PM6/24/16
to jmeter-...@googlegroups.com
Hi,

Can't it be the corporate firewall blocking?

Can you open http://jmeter-plugins.org/repo/ in your browser and see JSON there?

Andrey Pokhilko

--
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.

David Sharpe

unread,
Jun 24, 2016, 2:19:30 PM6/24/16
to jmeter-plugins
Thank you. I added proxy information to the command line options and it is working.

Cheers,
Dave
Reply all
Reply to author
Forward
0 new messages