Questions asked by pttunghttps://answers.axonivy.com/questions/asked-by/1235/pttung/?type=rssQuestions asked by <a href="/users/1235/pttung" >pttung</a>enMon, 04 May 2020 06:24:47 -0400ivy.repo.save recursive Errorhttps://answers.axonivy.com/questions/4550/ivy-repo-save-recursive-error<p>Hi Comunity,</p>
<p>When i use the ivy.repo.save to save my business data. I got an error as below:</p>
<p>java.lang.StackOverflowError
JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: java.util.ArrayList[0]->ch.ivyteam.ivy.security.internal.Role["users"]->ch.ivyteam.ivy.persistence.client.PersistentClientObjectList[0]->ch.ivyteam.ivy.security.internal.User["allRoles"]->.....</p>
<pre><code>IvyRuntimeException: com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: java.util.ArrayList[0]->ch.ivyteam.ivy.security.internal.Role["users"]->ch.ivyteam.ivy.persistence.client.PersistentClientObjectList[0]->ch.ivyteam.ivy.security.internal.User["allRoles"].....
IvyScriptMethodInvocationException: Error calling method save(Object) on an object of class ch.ivyteam.ivy.business.data.store.internal.BusinessDataRepositoryImpl.
IvyScriptRuntimeException: IvyScript Runtime Exception in
Instruction:
ivy.repo.save(in.groundwaterProtectionZones)
</code></pre>
<p>Could any one help me to explain why it happen and how to solve it?
Thanks</p>pttungMon, 04 May 2020 06:24:47 -0400https://answers.axonivy.com/questions/4550/ivy-repo-save-recursive-errorbusiness-dataivyHow to get osgi.bundle package of ivy 8?https://answers.axonivy.com/questions/4360/how-to-get-osgi-bundle-package-of-ivy-8<p>In ivy 7, I use the repository as below to get osgi.bundle package.</p>
<p><repository>
<id>ivy.nightly.release</id>
<layout>p2</layout>
<url><a href="https://download.axonivy.rocks/p2/leading/">https://download.axonivy.rocks/p2/leading/</a></url>
</repository></p>
<p>It work well with Ivy version 7. But with Ivy version 8.0.2, it cannot work.</p>
<p>So, could you show me the repository need to use for version 8.0.2?</p>
<p>I try to change: <url><a href="https://download.axonivy.rocks/p2/leading/">https://download.axonivy.rocks/p2/leading/</a></url> => <url><a href="https://download.axonivy.rocks/p2/lts-8.0/">https://download.axonivy.rocks/p2/lts-8.0/</a></url> but it also cannot work.</p>
<p>Thank</p>pttungTue, 04 Feb 2020 06:42:16 -0500https://answers.axonivy.com/questions/4360/how-to-get-osgi-bundle-package-of-ivy-8axon.ivy