net.sf.json.JSONException: There is a cycle in the hierarchy!

Jenkins JIRA | Jesse Glick | 3 years ago
  1. 0

    [JENKINS-21693] JSONException: There is a cycle in the hierarchy! - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    net.sf.json.JSONException: There is a cycle in the hierarchy!
  2. 0

    @stephenconnolly has seen this personally and others have reported it as well. Needs better diagnosis. {code:none} net.sf.json.JSONException: There is a cycle in the hierarchy! at net.sf.json.util.CycleDetectionStrategy$StrictCycleDetectionStrategy.handleRepeatedReferenceAsObject(CycleDetectionStrategy.java:97) at net.sf.json.JSONObject._fromBean(JSONObject.java:600) at net.sf.json.JSONObject.fromObject(JSONObject.java:169) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:250) at net.sf.json.JSONObject._processValue(JSONObject.java:2599) at net.sf.json.JSONObject.processValue(JSONObject.java:2665) at net.sf.json.JSONObject.setInternal(JSONObject.java:2680) at net.sf.json.JSONObject.setValue(JSONObject.java:1376) at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:708) at net.sf.json.JSONObject._fromBean(JSONObject.java:642) at net.sf.json.JSONObject.fromObject(JSONObject.java:169) at org.kohsuke.stapler.HttpResponseRenderer$Default.handleJavaScriptProxyMethodCall(HttpResponseRenderer.java:89) at org.kohsuke.stapler.HttpResponseRenderer$Default.generateResponse(HttpResponseRenderer.java:64) at org.kohsuke.stapler.Function.renderResponse(Function.java:112) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:614) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:587) at org.kohsuke.stapler.Stapler.service(Stapler.java:218) {code}

    Jenkins JIRA | 3 years ago | Jesse Glick
    net.sf.json.JSONException: There is a cycle in the hierarchy!
  3. 0

    @stephenconnolly has seen this personally and others have reported it as well. Needs better diagnosis. {code:none} net.sf.json.JSONException: There is a cycle in the hierarchy! at net.sf.json.util.CycleDetectionStrategy$StrictCycleDetectionStrategy.handleRepeatedReferenceAsObject(CycleDetectionStrategy.java:97) at net.sf.json.JSONObject._fromBean(JSONObject.java:600) at net.sf.json.JSONObject.fromObject(JSONObject.java:169) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:250) at net.sf.json.JSONObject._processValue(JSONObject.java:2599) at net.sf.json.JSONObject.processValue(JSONObject.java:2665) at net.sf.json.JSONObject.setInternal(JSONObject.java:2680) at net.sf.json.JSONObject.setValue(JSONObject.java:1376) at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:708) at net.sf.json.JSONObject._fromBean(JSONObject.java:642) at net.sf.json.JSONObject.fromObject(JSONObject.java:169) at org.kohsuke.stapler.HttpResponseRenderer$Default.handleJavaScriptProxyMethodCall(HttpResponseRenderer.java:89) at org.kohsuke.stapler.HttpResponseRenderer$Default.generateResponse(HttpResponseRenderer.java:64) at org.kohsuke.stapler.Function.renderResponse(Function.java:112) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:614) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:587) at org.kohsuke.stapler.Stapler.service(Stapler.java:218) {code}

    Jenkins JIRA | 3 years ago | Jesse Glick
    net.sf.json.JSONException: There is a cycle in the hierarchy!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Find root cause of "net.sf.json.JSONException: JSON does not allow non-finite numbers"

    Stack Overflow | 5 years ago | user1083319
    net.sf.json.JSONException: JSON does not allow non-finite numbers
  6. 0

    Error: "A JSONObject text must begin with '{' at character 1 of Connection to http://localhost:5984 refused"

    GitHub | 6 years ago | tomkinsc
    net.sf.json.JSONException: A JSONObject text must begin with '{' at character 1 of Connection to http://localhost:5984 refused

    1 unregistered visitors
    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. net.sf.json.JSONException

      There is a cycle in the hierarchy!

      at net.sf.json.util.CycleDetectionStrategy$StrictCycleDetectionStrategy.handleRepeatedReferenceAsObject()
    2. json-lib
      JSONObject.fromObject
      1. net.sf.json.util.CycleDetectionStrategy$StrictCycleDetectionStrategy.handleRepeatedReferenceAsObject(CycleDetectionStrategy.java:97)
      2. net.sf.json.JSONObject._fromBean(JSONObject.java:600)
      3. net.sf.json.JSONObject.fromObject(JSONObject.java:169)
      4. net.sf.json.AbstractJSON._processValue(AbstractJSON.java:250)
      5. net.sf.json.JSONObject._processValue(JSONObject.java:2599)
      6. net.sf.json.JSONObject.processValue(JSONObject.java:2665)
      7. net.sf.json.JSONObject.setInternal(JSONObject.java:2680)
      8. net.sf.json.JSONObject.setValue(JSONObject.java:1376)
      9. net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:708)
      10. net.sf.json.JSONObject._fromBean(JSONObject.java:642)
      11. net.sf.json.JSONObject.fromObject(JSONObject.java:169)
      11 frames
    3. Stapler
      Stapler.service
      1. org.kohsuke.stapler.HttpResponseRenderer$Default.handleJavaScriptProxyMethodCall(HttpResponseRenderer.java:89)
      2. org.kohsuke.stapler.HttpResponseRenderer$Default.generateResponse(HttpResponseRenderer.java:64)
      3. org.kohsuke.stapler.Function.renderResponse(Function.java:112)
      4. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:614)
      5. org.kohsuke.stapler.Stapler.invoke(Stapler.java:799)
      6. org.kohsuke.stapler.Stapler.invoke(Stapler.java:587)
      7. org.kohsuke.stapler.Stapler.service(Stapler.java:218)
      7 frames