I have a problem when Im tried to create Json from REST Endpoint. Map with result is correct and I can log it (screen 1, log before Json build), but REST return a error:
{"message":null,"stack-trace":"java.lang.StackOverflowError\n\tat org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2121)\n\tat
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1607)\n\tat org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)\n\tat
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)\n","status-code":"INTERNAL_SERVER_ERROR"}
What values (type of values) you have in your map?
This error usually happen when one of the variables in the map is Jira object (for example: user, group, project, issue and so on)
Instead of jira object, build custom object only with the derails you actually need
Thank you very much, Im tried put in result Map a LazyLoadedOption object
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So yes, as i said, don't put any object came from Jira, build your own object only with the details you actually need from the Jira object
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.