You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to preview ION files that contains type annotations i'm issuing the following error :
Here's a extract of the error (that by far too long to be paste here) : Internal Server Error: Error encoding object [io.kestra.webserver.utils.filepreview.IonFileRender@8131f19] to JSON: Document nesting depth (1001) exceeds the maximum allowed (1000, from StreamWriteConstraints.getMaxNestingDepth()) (through reference chain: io.kestra.webserver.utils.filepreview.IonFileRender["content"]->java.util.ArrayList[1]->java.util.LinkedHashMap["attributes"]->java.util.LinkedHashMap["description"]->java.util.ArrayList[0]->com.amazon.ion.impl.lite.IonStringLite["system"]->com.amazon .......
Here's an extract of the Ion file content :
{dn:"cn=bloup,dc=fr",attributes:{description:["bloup bloup"]}}
{dn:"cn=bloup,dc=fr",attributes:{description:[base64::"wqlwYXJ0ZW1lbnQgVEMgVE9VTE9VU0U="]}}
{dn:"cn=bloup,dc=fr",attributes:{description:["bloup bloup"]}}
Downloading the file works well and the content isn't corrupted.
Environment
Kestra Version: 0.18.8
Operating System (OS/Docker/Kubernetes): Docker
The text was updated successfully, but these errors were encountered:
Describe the issue
While trying to preview ION files that contains type annotations i'm issuing the following error :
![image](https://private-user-images.githubusercontent.com/173693464/370198338-20fe5877-4cbf-4765-895b-46cdb4e62d0a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjk0MjIsIm5iZiI6MTczOTE2OTEyMiwicGF0aCI6Ii8xNzM2OTM0NjQvMzcwMTk4MzM4LTIwZmU1ODc3LTRjYmYtNDc2NS04OTViLTQ2Y2RiNGU2MmQwYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQwNjMyMDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mOGVkMWEzNGRlYmI0YzZjZTFmMTRkZjNhOTYxNGNkMDI2ODM2MmQ0NWMzYjE3OTNlMTc4OWE1MDljMzg0Nzg3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.RA5oOQY16aisUxisq6NfU8Tsff9KXqaEGvYyyT8SEa0)
Here's a extract of the error (that by far too long to be paste here) :
Internal Server Error: Error encoding object [io.kestra.webserver.utils.filepreview.IonFileRender@8131f19] to JSON: Document nesting depth (1001) exceeds the maximum allowed (1000, from StreamWriteConstraints.getMaxNestingDepth()) (through reference chain: io.kestra.webserver.utils.filepreview.IonFileRender["content"]->java.util.ArrayList[1]->java.util.LinkedHashMap["attributes"]->java.util.LinkedHashMap["description"]->java.util.ArrayList[0]->com.amazon.ion.impl.lite.IonStringLite["system"]->com.amazon .......
Here's an extract of the Ion file content :
{dn:"cn=bloup,dc=fr",attributes:{description:["bloup bloup"]}}
{dn:"cn=bloup,dc=fr",attributes:{description:[base64::"wqlwYXJ0ZW1lbnQgVEMgVE9VTE9VU0U="]}}
{dn:"cn=bloup,dc=fr",attributes:{description:["bloup bloup"]}}
Downloading the file works well and the content isn't corrupted.
Environment
The text was updated successfully, but these errors were encountered: