java.lang.IllegalStateException: recursive invocation

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

java.lang.IllegalStateException: recursive invocation
at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1139)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1122)
at java.nio.charset.Charset$1.(Charset.java:297)
at java.nio.charset.Charset.providers(Charset.java:294)
at java.nio.charset.Charset.access$000(Charset.java:245)
at java.nio.charset.Charset$2.run(Charset.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.nio.charset.Charset.lookupViaProviders(Charset.java:359)
at java.nio.charset.Charset.lookup2(Charset.java:437)
at java.nio.charset.Charset.lookup(Charset.java:425)
at java.nio.charset.Charset.isSupported(Charset.java:463)
at java.lang.StringCoding.lookupCharset(StringCoding.java:82)
at java.lang.StringCoding.decode(StringCoding.java:211)
at java.lang.StringCoding.decode(StringCoding.java:230)
at java.lang.String.(String.java:371)
at java.lang.String.(String.java:390)
at java.io.UnixFileSystem.canonicalize0(Native Method)
at java.io.UnixFileSystem.canonicalize(UnixFileSystem.java:157)
at java.io.File.getCanonicalPath(File.java:513)
at java.io.File.getCanonicalFile(File.java:534)
at sun.misc.Launcher.getFileURL(Launcher.java:389)
at sun.misc.Launcher.pathToURLs(Launcher.java:332)
at sun.misc.Launcher.access$300(Launcher.java:37)
at sun.misc.Launcher$3.run(Launcher.java:319)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.Launcher.getBootstrapClassPath(Launcher.java:316)
at java.lang.ClassLoader.getBootstrapClassPath(ClassLoader.java:973)
at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:948)
at java.lang.ClassLoader.getResource(ClassLoader.java:810)
at java.lang.ClassLoader.getResource(ClassLoader.java:808)
at workshop.core.AppClassLoader$PatchUtil.initializeDir(AppClassLoader.java:454)
at workshop.core.AppClassLoader$PatchUtil.newFile(AppClassLoader.java:488)
at workshop.core.AppClassLoader$PatchUtil.getPatchList(AppClassLoader.java:379)
at workshop.core.AppClassLoader.(AppClassLoader.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.SystemClassLoaderAction.run(ClassLoader.java:1853)
at java.security.AccessController.doPrivileged(Native Method)
at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1147)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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