java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.grizzly.localization.LogMessages

MuleSoft JIRA | Federico Donnarumma | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Deploy the attached application, do a request to {code} localhost:8081/batch {code} then you will see randomly that mule log this error message: {code} java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.grizzly.localization.LogMessages at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:90) ~[grizzly-framework-2.3.24.jar:2.3.24] at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:526) ~[grizzly-framework-2.3.24.jar:2.3.24] at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112) ~[grizzly-framework-2.3.24.jar:2.3.24] at org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.run0(ExecutorPerServerAddressIOStrategy.java:102) ~[mule-module-http-3.8.0.jar:3.8.0] at org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.executeIoEvent(ExecutorPerServerAddressIOStrategy.java:75) ~[mule-module-http-3.8.0.jar:3.8.0] at org.glassfish.grizzly.strategies.AbstractIOStrategy.executeIoEvent(AbstractIOStrategy.java:89) ~[grizzly-framework-2.3.24.jar:2.3.24] at org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents(SelectorRunner.java:415) ~[grizzly-framework-2.3.24.jar:2.3.24] at org.glassfish.grizzly.nio.SelectorRunner.iterateKeys(SelectorRunner.java:384) ~[grizzly-framework-2.3.24.jar:2.3.24] at org.glassfish.grizzly.nio.SelectorRunner.doSelect(SelectorRunner.java:348) ~[grizzly-framework-2.3.24.jar:2.3.24] at org.glassfish.grizzly.nio.SelectorRunner.run(SelectorRunner.java:279) ~[grizzly-framework-2.3.24.jar:2.3.24] at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591) ~[grizzly-framework-2.3.24.jar:2.3.24] at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571) ~[grizzly-framework-2.3.24.jar:2.3.24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102] {code}

    MuleSoft JIRA | 6 months ago | Federico Donnarumma
    java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.grizzly.localization.LogMessages
  2. 0

    Mule HTTP Listener Thread Can't Resolve org.glassfish.grizzly.localization.LogMessages

    Stack Overflow | 3 months ago | James Jiang
    java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.grizzly.localization.LogMessages

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class org.glassfish.grizzly.localization.LogMessages

      at org.glassfish.grizzly.ProcessorExecutor.execute()
    2. Grizzly
      AbstractIOStrategy.fireIOEvent
      1. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:90)[grizzly-framework-2.3.24.jar:2.3.24]
      2. org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:526)[grizzly-framework-2.3.24.jar:2.3.24]
      3. org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)[grizzly-framework-2.3.24.jar:2.3.24]
      3 frames
    3. Mule HTTP Connector
      ExecutorPerServerAddressIOStrategy.executeIoEvent
      1. org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.run0(ExecutorPerServerAddressIOStrategy.java:102)[mule-module-http-3.8.0.jar:3.8.0]
      2. org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.executeIoEvent(ExecutorPerServerAddressIOStrategy.java:75)[mule-module-http-3.8.0.jar:3.8.0]
      2 frames
    4. Grizzly
      AbstractThreadPool$Worker.run
      1. org.glassfish.grizzly.strategies.AbstractIOStrategy.executeIoEvent(AbstractIOStrategy.java:89)[grizzly-framework-2.3.24.jar:2.3.24]
      2. org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents(SelectorRunner.java:415)[grizzly-framework-2.3.24.jar:2.3.24]
      3. org.glassfish.grizzly.nio.SelectorRunner.iterateKeys(SelectorRunner.java:384)[grizzly-framework-2.3.24.jar:2.3.24]
      4. org.glassfish.grizzly.nio.SelectorRunner.doSelect(SelectorRunner.java:348)[grizzly-framework-2.3.24.jar:2.3.24]
      5. org.glassfish.grizzly.nio.SelectorRunner.run(SelectorRunner.java:279)[grizzly-framework-2.3.24.jar:2.3.24]
      6. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)[grizzly-framework-2.3.24.jar:2.3.24]
      7. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)[grizzly-framework-2.3.24.jar:2.3.24]
      7 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_102]
      1 frame