org.codehaus.jettison.json.JSONException: JSONObject["value"] not found.

Stack Overflow | LeonB | 4 months ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Atlassian plugin in Intellij throw error

    Stack Overflow | 4 months ago | LeonB
    org.codehaus.jettison.json.JSONException: JSONObject["value"] not found.
  2. 0

    There is an issue I have tested on IDEA 12.1.4 and IDEA 13 EAP, with the plugin 3.0.11 and 3.0.12-SNAPSHOT. I open the "Project Settings" dialog window and in the tab "Servers" add new JIRA server. Then I push the "Test Connection" button and receive the mentioned *RemoteApiException* {noformat} com.atlassian.theplugin.commons.remoteapi.RemoteApiException: username:[password 10 chars]@ org.codehaus.jettison.json.JSONException: JSONObject["loginCount"] not found. at at at at com.atlassian.connector.commons.jira.JiraRESTFacade2Impl.testServerConnection( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl$1.invoke( at $Proxy38.testServerConnection(Unknown Source) at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.testServerConnection( at com.atlassian.theplugin.commons.jira.IntelliJJiraServerFacade.testServerConnection( at com.atlassian.theplugin.idea.config.serverconfig.ProductConnector.connect( at Caused by: org.codehaus.jettison.json.JSONException: JSONObject["loginCount"] not found. at at at at at ... 13 more Caused by: org.codehaus.jettison.json.JSONException: JSONObject["loginCount"] not found. at org.codehaus.jettison.json.JSONObject.get( at org.codehaus.jettison.json.JSONObject.getInt( at at at at$ at ... 17 more {noformat} I have examined the documentation and figure out it is something related to to the GET method REST API request at [/rest/auth/1/session|] The JSON result of that method is supposed to have the *loginInfo* field with the *loginCount* field within. I have examined the results of the mentioned request - the *loginInfo* field is filled - the *loginInfo* field is empty This weird bug is truly a showstopper in the latest versions of the plugin since I can not even add the JIRA server to interact with. Why does the plugin require that field and why is it empty and how to fix that? Whether is the plugin compatible with JIRA 5.2.6 yet? This bug was also filed as but there seems to be no attention anymore. By the way, on IDEA 12.1.4 the plugin version *3.0.10* worked fine, so the bug was introduced with version *3.0.11* and still remains there.

    Ecosystem JIRA | 4 years ago | Ilia Sretenskii
    org.codehaus.jettison.json.JSONException: JSONObject["loginCount"] not found.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Cannot download details: org.codehaus.jettison.json.JSONException: JSONObject["jql"] not found. - Atlassian Answers | 11 months ago
    com.atlassian.connector.commons.jira.rss.JIRAException: org.codehaus.jettison.json.JSONException: JSONObject["jql"] not found.
  5. 0

    Connect IntelliJ IDEA with free JIRA instance

    Stack Overflow | 4 months ago | Aleksandar
    com.atlassian.theplugin.commons.remoteapi.RemoteApiException: my_username:[password XX chars]@ Login failed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.codehaus.jettison.json.JSONException

      JSONObject["value"] not found.

    2. com.atlassian.connector
      4. com.atlassian.connector.commons.jira.JiraRESTFacade2Impl.testServerConnection(
      4 frames