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

MuleSoft JIRA | Federico Donnarumma | 4 months ago
  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 | 4 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 | 2 weeks ago | James Jiang
    java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.grizzly.localization.LogMessages
  3. 0

    maven repo and 5.0-X version

    Google Groups | 2 years ago | Zsolt Kúti
    java.lang.NoClassDefFoundError: Could not initialize class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoClassDefFoundError while creating mock object in java

    Stack Overflow | 7 months ago | Manas Kantha
    java.lang.NoClassDefFoundError: Could not initialize class
  6. 0

    External Properties file and classpath

    Oracle Community | 6 years ago | 393585
    java.lang.NoClassDefFoundError: Could not initialize class

    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.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