Forum Discussion

pakumar's avatar
pakumar
New Contributor
8 years ago

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)
  • nmrao's avatar
    nmrao
    Champion Level 3
    The stack trace itself does not help unless more details are provided.
    • pakumar's avatar
      pakumar
      New Contributor

      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!

      • groovyguy's avatar
        groovyguy
        Community Hero

        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!

  • ruxviii's avatar
    ruxviii
    New Contributor

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

     

    Error occurs whenever I click on plugin.

  • ruxviii's avatar
    ruxviii
    New Contributor

    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,