cancel
Showing results for 
Search instead for 
Did you mean: 

An error occurred [Invalid JSON String], see error log for detail when clicks Plugins at 2.0

Highlighted
New Contributor

An error occurred [Invalid JSON String], see error log for detail when clicks Plugins at 2.0

Recently we have upgraded from Ready API 1.9 to 2.0.

 

An error occurred [Invalid JSON String], see error log for details message is displayed at when tried to click on the Preference log.

 

Below message from error log.

  • Fri May 12 13:49:45 EDT 2017:ERROR:net.sf.json.JSONException: Invalid JSON String
  • 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 net.sf.json.groovy.JsonSlurper.parseText(JsonSlurper.java:78)
  • at com.eviware.soapui.plugins.PluginManager$AvailablePluginsLoader.a(PluginManager.java:462)
  • at com.eviware.soapui.plugins.PluginManager$AvailablePluginsLoader.readAvailablePlugins(PluginManager.java:440)
  • at com.eviware.soapui.plugins.PluginManager.getAvailablePlugins(PluginManager.java:296)
  • at com.eviware.soapui.actions.plugin.PluginManagerAction$AvailablePluginsTableModel.(PluginManagerAction.java:602)
  • at com.eviware.soapui.actions.plugin.PluginManagerAction.actionPerformed(PluginManagerAction.java:95)
  • at com.eviware.soapui.support.action.support.WrapperSoapUIAction.perform(WrapperSoapUIAction.java:20)
  • at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:128)
  • at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
  • at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
  • at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
  • at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
  • at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
  • at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
  • at java.awt.Component.processMouseEvent(Unknown Source)
  • at javax.swing.JComponent.processMouseEvent(Unknown Source)
  • at java.awt.Component.processEvent(Unknown Source)
  • at java.awt.Container.processEvent(Unknown Source)
  • at java.awt.Component.dispatchEventImpl(Unknown Source)
  • at java.awt.Container.dispatchEventImpl(Unknown Source)
  • at java.awt.Component.dispatchEvent(Unknown Source)
  • at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
  • at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
  • at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
  • at java.awt.Container.dispatchEventImpl(Unknown Source)
  • at java.awt.Window.dispatchEventImpl(Unknown Source)
  • at java.awt.Component.dispatchEvent(Unknown Source)
  • at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
  • at java.awt.EventQueue.access$500(Unknown Source)
  • at java.awt.EventQueue$3.run(Unknown Source)
  • at java.awt.EventQueue$3.run(Unknown Source)
  • at java.security.AccessController.doPrivileged(Native Method)
  • at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
  • at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
  • at java.awt.EventQueue$4.run(Unknown Source)
  • at java.awt.EventQueue$4.run(Unknown Source)
  • at java.security.AccessController.doPrivileged(Native Method)
  • at java.security.ProtectionDomain$JavaSecurityAccessImpl.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)
7 REPLIES 7
Highlighted
Community Hero

Re: An error occurred [Invalid JSON String], see error log for detail when clicks Plugins at 2.0

The stack trace itself does not help unless more details are provided.


Regards,
Rao.
Highlighted
New Contributor

Re: An error occurred [Invalid JSON String], see error log for detail when clicks Plugins at 2.0

Issue is straight forward. Install Ready API 2.0 and click on 'Plugins' link on the top. you will get the error. Anyway thanks for reply. It seems  to be a bug with Ready API 2.0 and I'm working with Smart Bear. Thanks!

Highlighted
Community Hero

Re: An error occurred [Invalid JSON String], see error log for detail when clicks Plugins at 2.0

@pakumar: It's good that you're working with support, hopefully they can help you. Meanwhile, not everyone will run into the same errors you are following the same exact process. Unfortunately it may be something only you've ran into, and as such providing stack traces and more information never hurts!




---

Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!
Highlighted
Occasional Contributor

Re: An error occurred [Invalid JSON String], see error log for detail when clicks Plugins at 2.0

Same issue here. Thanks @pakumar for raising this defect. I am pretty sure that we are not the only one getting this error.

 

Cheers

Highlighted
Community Hero

Re: An error occurred [Invalid JSON String], see error log for detail when clicks Plugins at 2.0

You may want to try opening up a support ticket. https://support.smartbear.com/




---

Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!
Highlighted
New Contributor

Re: An error occurred [Invalid JSON String], see error log for detail when clicks Plugins at 2.0

I have the same problem with version 2.2.0 , did anyone find a fix for it?

 

Error occurs whenever I click on plugin.

Highlighted
New Contributor

Re: An error occurred [Invalid JSON String], see error log for detail when clicks Plugins at 2.0

Okay found out a workarround:

 

Option A:

 

1: Lookup the plugin you need

 

http://productextensions.s3.amazonaws.com/ReadyAPI-Plugins/availablePlugins.json

and download it manually from the source.

 

2: Set your readyAPI Proxi OFF (left of Plugins)

 

3. Press plugins

 

4. Ignore error message

 

Tada the plugin manager shows on screen. Now you can install or upgrade of load a plugin from file.

 

option B: fix your proxy.

 

 

You like the reply. How to give a Kudos / Accept as solution?

 

Best regards,

 

 

New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Compete with community members in the TechCorner Challenge and get into the Leaderboard!

Rank Participant Points Earned
1 msiadak 12
2 nmrao 8
3 HimanshuTayal 3
Top Kudoed Authors