java.lang.NoClassDefFoundError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Federico Donnarumma,
    • 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]
    No Bugmate found.