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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Jesse Glick, 1 year ago
via jenkins-ci.org by Unknown author, 2 years ago
via Jenkins JIRA by Jesse Glick, 1 year ago
via Stack Overflow by Nikunj Chavda
, 7 months ago
via Coderanch by André Asantos, 1 year ago
There is a cycle in the hierarchy!
via Stack Overflow by F3RN1
, 2 years ago
There is a cycle in the hierarchy!
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.