Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

de.schlichtherle.xml.PersistenceServiceException: java.lang.StackOverflowError: [no exception stack trace available because exception is thrown from code that must be allocation free] #39

Open
115305411 opened this issue Aug 22, 2024 · 1 comment

Comments

@115305411
Copy link

env:
graavm 17
springboot 3.3.2
truelicense-core 1.33

de.schlichtherle.xml.PersistenceServiceException: java.lang.StackOverflowError: [no exception stack trace available because exception is thrown from code that must be allocation free]
at de.schlichtherle.xml.PersistenceService.store(PersistenceService.java:222) ~[na:na]
at de.schlichtherle.xml.PersistenceService.store2ByteArray(PersistenceService.java:315) ~[na:na]
at de.schlichtherle.xml.GenericCertificate.sign(GenericCertificate.java:281) ~[na:na]
at de.schlichtherle.license.LicenseNotary.sign(LicenseNotary.java:205) ~[na:na]
at de.schlichtherle.license.LicenseNotary.sign(LicenseNotary.java:170) ~[na:na]
at de.schlichtherle.license.LicenseManager.create(LicenseManager.java:360) ~[na:na]
at de.schlichtherle.license.LicenseManager.store(LicenseManager.java:303) ~[na:na]
at de.schlichtherle.license.LicenseManager.store(LicenseManager.java:272) ~[na:na]

@christian-schlichtherle
Copy link
Owner

I don't see a loop here, so it may be that the stack is simply just too small for your application. Try increasing it, e.g. java -Xss1m MyApp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants