java.lang.IllegalStateException: recursive invocation

java.com | 1 month ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Bug ID: JDK-6240665 java.lang.IllegalStateException: recursive invocation using LANG=ja(japanese)

    java.com | 6 months ago
    java.lang.IllegalStateException: recursive invocation
  3. 0

    {{java.lang.IllegalStateException}} is logged for the attached applications when redeploying the application. To reproduce: # Copy the attached application to {{MULE_HOME/apps/}} # Start Mule using: {{bin/mule -M-Duser.timezone=Australia/Sydney}} # Wait for some requests to be processed # Open the application xml and modify cron expression (for example you can use {{* * 5 ? * WED}} # Wait for redeployment (At this point in mule_ee.log the IllegalStateException was printed) # Wait for some requests to be processed Redeployment error: {noformat} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Started app 'timezone-polling' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 05:45:34.495 [[timezone-polling].timezone-pollingFlow.stage1.01] ERROR org.mule.exception.DefaultSystemExceptionStrategy - Caught exception in Exception Strategy: zip file closed java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(ZipFile.java:669) ~[?:1.8.0_73] at java.util.zip.ZipFile.getEntry(ZipFile.java:309) ~[?:1.8.0_73] at java.util.jar.JarFile.getEntry(JarFile.java:240) ~[?:1.8.0_73] at java.util.jar.JarFile.getJarEntry(JarFile.java:223) ~[?:1.8.0_73] at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:1005) ~[?:1.8.0_73] at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:983) ~[?:1.8.0_73] at sun.misc.URLClassPath.findResource(URLClassPath.java:188) ~[?:1.8.0_73] at java.net.URLClassLoader$2.run(URLClassLoader.java:569) ~[?:1.8.0_73] at java.net.URLClassLoader$2.run(URLClassLoader.java:567) ~[?:1.8.0_73] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_73] at java.net.URLClassLoader.findResource(URLClassLoader.java:566) ~[?:1.8.0_73] at java.lang.ClassLoader.getResource(ClassLoader.java:1093) ~[?:1.8.0_73] at org.mule.module.launcher.MuleApplicationClassLoader.getResource(MuleApplicationClassLoader.java:140) ~[mule-module-launcher-3.8.0-SNAPSHOT.jar:3.8.0-SNAPSHOT] at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:232) ~[?:1.8.0_73] at org.mule.module.launcher.application.CompositeApplicationClassLoader.getResourceAsStream(CompositeApplicationClassLoader.java:146) ~[mule-module-launcher-3.8.0-SNAPSHOT.jar:3.8.0-SNAPSHOT] at org.apache.xerces.parsers.SecuritySupport$6.run(Unknown Source) ~[?:?] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_73] at org.apache.xerces.parsers.SecuritySupport.getResourceAsStream(Unknown Source) ~[?:?] at org.apache.xerces.parsers.ObjectFactory.findJarServiceProvider(Unknown Source) ~[?:?] at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source) ~[?:?] at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source) ~[?:?] at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source) ~[?:?] at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source) ~[?:?] at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source) ~[?:?] at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source) ~[?:?] at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.setFeature(Unknown Source) ~[?:?] at org.apache.logging.log4j.core.config.xml.XmlConfiguration.enableXInclude(XmlConfiguration.java:228) ~[log4j-core-2.5.jar:2.5] at org.apache.logging.log4j.core.config.xml.XmlConfiguration.newDocumentBuilder(XmlConfiguration.java:200) ~[log4j-core-2.5.jar:2.5] at org.apache.logging.log4j.core.config.xml.XmlConfiguration.<init>(XmlConfiguration.java:94) ~[log4j-core-2.5.jar:2.5] at org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory.getConfiguration(XmlConfigurationFactory.java:44) ~[log4j-core-2.5.jar:2.5] at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:235) ~[log4j-core-2.5.jar:2.5] at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:444) ~[log4j-core-2.5.jar:2.5] at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:256) ~[log4j-core-2.5.jar:2.5] at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:561) ~[log4j-core-2.5.jar:2.5] at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:578) ~[log4j-core-2.5.jar:2.5] at org.mule.module.launcher.log4j2.MuleLoggerContext.reconfigure(MuleLoggerContext.java:103) ~[mule-module-launcher-3.8.0-SNAPSHOT.jar:3.8.0-SNAPSHOT] at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:214) ~[log4j-core-2.5.jar:2.5] at org.mule.module.launcher.log4j2.LoggerContextCache.getLoggerContext(LoggerContextCache.java:158) ~[mule-module-launcher-3.8.0-SNAPSHOT.jar:3.8.0-SNAPSHOT] at org.mule.module.launcher.log4j2.ArtifactAwareContextSelector.getContext(ArtifactAwareContextSelector.java:69) ~[mule-module-launcher-3.8.0-SNAPSHOT.jar:3.8.0-SNAPSHOT] at org.mule.module.launcher.log4j2.ArtifactAwareContextSelector.getContext(ArtifactAwareContextSelector.java:63) ~[mule-module-launcher-3.8.0-SNAPSHOT.jar:3.8.0-SNAPSHOT] at org.mule.module.launcher.log4j2.DispatchingLogger.getLogger(DispatchingLogger.java:78) ~[mule-module-launcher-3.8.0-SNAPSHOT.jar:3.8.0-SNAPSHOT] at org.mule.module.launcher.log4j2.DispatchingLogger.isEnabled(DispatchingLogger.java:169) ~[mule-module-launcher-3.8.0-SNAPSHOT.jar:3.8.0-SNAPSHOT] at org.apache.logging.slf4j.Log4jLogger.isTraceEnabled(Log4jLogger.java:83) ~[log4j-slf4j-impl-2.5.jar:2.5] at org.apache.commons.logging.impl.SLF4JLocationAwareLog.isTraceEnabled(SLF4JLocationAwareLog.java:60) ~[jcl-over-slf4j-1.7.7.jar:1.7.7] at org.mule.processor.SedaStageInterceptingMessageProcessor.dequeue(SedaStageInterceptingMessageProcessor.java:149) ~[mule-core-3.8.0-SNAPSHOT.jar:3.8.0-SNAPSHOT] at org.mule.processor.SedaStageInterceptingMessageProcessor.run(SedaStageInterceptingMessageProcessor.java:230) [mule-core-3.8.0-SNAPSHOT.jar:3.8.0-SNAPSHOT] at org.mule.work.WorkerContext.run(WorkerContext.java:286) [mule-core-3.8.0-SNAPSHOT.jar:3.8.0-SNAPSHOT] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_73] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_73] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_73] {noformat}

    MuleSoft JIRA | 7 months ago | Alejandro Sequeira
    java.lang.IllegalStateException: zip file closed

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      recursive invocation

      at java.lang.ClassLoader.initSystemClassLoader()
    2. Java RT
      ClassLoader.getResource
      1. java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1139)
      2. java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1122)
      3. java.nio.charset.Charset$1.<init>(Charset.java:297)
      4. java.nio.charset.Charset.providers(Charset.java:294)
      5. java.nio.charset.Charset.access$000(Charset.java:245)
      6. java.nio.charset.Charset$2.run(Charset.java:362)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.nio.charset.Charset.lookupViaProviders(Charset.java:359)
      9. java.nio.charset.Charset.lookup2(Charset.java:437)
      10. java.nio.charset.Charset.lookup(Charset.java:425)
      11. java.nio.charset.Charset.isSupported(Charset.java:463)
      12. java.lang.StringCoding.lookupCharset(StringCoding.java:82)
      13. java.lang.StringCoding.decode(StringCoding.java:211)
      14. java.lang.StringCoding.decode(StringCoding.java:230)
      15. java.lang.String.<init>(String.java:371)
      16. java.lang.String.<init>(String.java:390)
      17. java.io.UnixFileSystem.canonicalize0(Native Method)
      18. java.io.UnixFileSystem.canonicalize(UnixFileSystem.java:157)
      19. java.io.File.getCanonicalPath(File.java:513)
      20. java.io.File.getCanonicalFile(File.java:534)
      21. sun.misc.Launcher.getFileURL(Launcher.java:389)
      22. sun.misc.Launcher.pathToURLs(Launcher.java:332)
      23. sun.misc.Launcher.access$300(Launcher.java:37)
      24. sun.misc.Launcher$3.run(Launcher.java:319)
      25. java.security.AccessController.doPrivileged(Native Method)
      26. sun.misc.Launcher.getBootstrapClassPath(Launcher.java:316)
      27. java.lang.ClassLoader.getBootstrapClassPath(ClassLoader.java:973)
      28. java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:948)
      29. java.lang.ClassLoader.getResource(ClassLoader.java:810)
      30. java.lang.ClassLoader.getResource(ClassLoader.java:808)
      30 frames
    3. workshop.core
      AppClassLoader.<init>
      1. workshop.core.AppClassLoader$PatchUtil.initializeDir(AppClassLoader.java:454)
      2. workshop.core.AppClassLoader$PatchUtil.newFile(AppClassLoader.java:488)
      3. workshop.core.AppClassLoader$PatchUtil.getPatchList(AppClassLoader.java:379)
      4. workshop.core.AppClassLoader.<init>(AppClassLoader.java:113)
      4 frames
    4. Java RT
      ClassLoader.getSystemClassLoader
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      5. java.lang.SystemClassLoaderAction.run(ClassLoader.java:1853)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1147)
      8. java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1122)
      8 frames