com.mirth.connect.server.controllers.ControllerException: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: com.mirth.connect.model.filters.MessageObjectFilter

tip

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

tip

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

tip

Check if you didn't forget to instantiate your topic in the kafka broker.

tip

NoClassDefFoundError means java has failed to find a class you're trying to instantiate, look if you've added the class you're trying to instantiate to the dependencies.

tip

This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k

tip

jsp-api and servlet-api jars must NOT be deployed by your web app. They should be marked as provided but not deployed by your app.

tip

You need to add httpcore to your dependencies. Try adding version 4.3 or further.

tip

The server rejects all jars that already belong to the server runtime (such as tomcat-**.jar, servlet**.jar). Consider substituting the CORS filter you're using for this one: https://goo.gl/ctQ7Fs

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • When trying to remove individual or filtered messages in a channel through the message browser, an exception is thrown. This only occurs with the distribution. Removing all messages works fine. The exception is below: com.mirth.connect.server.servlets.MessageObjectServlet: com.mirth.connect.server.controllers.ControllerException: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: com.mirth.connect.model.filters.MessageObjectFilter at com.mirth.connect.server.controllers.DefaultMessageObjectController.removeMessages(DefaultMessageObjectController.java:409) at com.mirth.connect.server.servlets.MessageObjectServlet.doPost(MessageObjectServlet.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:475) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114) at org.eclipse.jetty.server.Server.handle(Server.java:352) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1068) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:805) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:451) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: com.mirth.connect.model.filters.MessageObjectFilter at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:165) at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:192) at org.apache.commons.lang.SerializationUtils.clone(SerializationUtils.java:80) at com.mirth.connect.server.controllers.DefaultMessageObjectController.removeMessagesFromQueue(DefaultMessageObjectController.java:516) at com.mirth.connect.server.controllers.DefaultMessageObjectController.removeMessages(DefaultMessageObjectController.java:404) ... 24 more Caused by: java.lang.ClassNotFoundException: com.mirth.connect.model.filters.MessageObjectFilter at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at java.io.ObjectInputStream.resolveClass(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:162) ... 28 more
    via by Jacob Brauer,
  • When trying to remove individual or filtered messages in a channel through the message browser, an exception is thrown. This only occurs with the distribution. Removing all messages works fine. The exception is below: com.mirth.connect.server.servlets.MessageObjectServlet: com.mirth.connect.server.controllers.ControllerException: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: com.mirth.connect.model.filters.MessageObjectFilter at com.mirth.connect.server.controllers.DefaultMessageObjectController.removeMessages(DefaultMessageObjectController.java:409) at com.mirth.connect.server.servlets.MessageObjectServlet.doPost(MessageObjectServlet.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:475) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114) at org.eclipse.jetty.server.Server.handle(Server.java:352) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1068) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:805) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:451) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: com.mirth.connect.model.filters.MessageObjectFilter at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:165) at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:192) at org.apache.commons.lang.SerializationUtils.clone(SerializationUtils.java:80) at com.mirth.connect.server.controllers.DefaultMessageObjectController.removeMessagesFromQueue(DefaultMessageObjectController.java:516) at com.mirth.connect.server.controllers.DefaultMessageObjectController.removeMessages(DefaultMessageObjectController.java:404) ... 24 more Caused by: java.lang.ClassNotFoundException: com.mirth.connect.model.filters.MessageObjectFilter at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at java.io.ObjectInputStream.resolveClass(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:162) ... 28 more
    via by Jacob Brauer,
  • I have a clean install of 3.5.1 running on a Mac 10.9.5. Artifactory starts w/o error but when I try to access the "admin" tab, I get the stack trace below. 2015-02-06 00:14:07,694 [http-bio-8081-exec-8] [ERROR] (o.a.w.DefaultExceptionMapper:114) - Unexpected error occurred org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public org.artifactory.webapp.wicket.page.config.general.GeneralConfigPage()'. Might be it doesn't exist, may be it is not visible (public). at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:196) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:68) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:47) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:103) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.handler.PageProvider.resolvePageInstance(PageProvider.java:264) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.handler.PageProvider.getPageInstance(PageProvider.java:165) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.handler.RenderPageRequestHandler.getPage(RenderPageRequestHandler.java:160) ~[wicket-core-1.5.5.jar:1.5.5] at org.artifactory.common.wicket.application.ResponsePageSupport.fetchPageFromHandler(ResponsePageSupport.java:60) ~[artifactory-web-common-3.5.1.jar:na] at org.artifactory.common.wicket.application.ResponsePageSupport.onRequestHandlerResolved(ResponsePageSupport.java:45) ~[artifactory-web-common-3.5.1.jar:na] at org.apache.wicket.request.cycle.RequestCycleListenerCollection$5.notify(RequestCycleListenerCollection.java:145) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection$5.notify(RequestCycleListenerCollection.java:143) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80) ~[wicket-util-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection.onRequestHandlerResolved(RequestCycleListenerCollection.java:141) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection$5.notify(RequestCycleListenerCollection.java:145) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection$5.notify(RequestCycleListenerCollection.java:143) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80) ~[wicket-util-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection.onRequestHandlerResolved(RequestCycleListenerCollection.java:141) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:254) [wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:212) [wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:283) [wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:185) [wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:241) [wicket-core-1.5.5.jar:1.5.5] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.56] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:173) [artifactory-web-application-3.5.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85) [artifactory-web-application-3.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.56] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:314) [artifactory-web-application-3.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:190) [artifactory-web-application-3.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:152) [artifactory-web-application-3.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.56] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:67) [artifactory-web-application-3.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.56] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:92) [artifactory-web-application-3.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.56] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.56] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.56] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) [catalina.jar:7.0.56] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [catalina.jar:7.0.56] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.56] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) [catalina.jar:7.0.56] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) [tomcat-coyote.jar:7.0.56] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) [tomcat-coyote.jar:7.0.56] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) [tomcat-coyote.jar:7.0.56] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_60] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.56] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60] Caused by: java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_60] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_60] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_60] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_60] at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:177) ~[wicket-core-1.5.5.jar:1.5.5] ... 51 common frames omitted Caused by: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.artifactory.descriptor.config.CentralConfigDescriptorImpl at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:166) ~[commons-lang-2.6.jar:2.6] at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:193) ~[commons-lang-2.6.jar:2.6] at org.apache.commons.lang.SerializationUtils.clone(SerializationUtils.java:81) ~[commons-lang-2.6.jar:2.6] at org.artifactory.config.CentralConfigServiceImpl.getMutableDescriptor(CentralConfigServiceImpl.java:221) ~[artifactory-core-3.5.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_60] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_60] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.4.RELEASE.jar:4.1.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.4.RELEASE.jar:4.1.4.RELEASE] at com.sun.proxy.$Proxy33.getMutableDescriptor(Unknown Source) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_60] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_60] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) ~[wicket-ioc-1.5.5.jar:1.5.5] at org.apache.wicket.proxy.$Proxy110.getMutableDescriptor(Unknown Source) ~[na:1.5.5] at org.artifactory.webapp.wicket.page.config.general.GeneralConfigPage.<init>(GeneralConfigPage.java:67) ~[artifactory-web-application-3.5.1.jar:na] ... 56 common frames omitted Caused by: java.lang.ClassNotFoundException: org.artifactory.descriptor.config.CentralConfigDescriptorImpl at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[na:1.7.0_60] at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[na:1.7.0_60] at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_60] at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[na:1.7.0_60] at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[na:1.7.0_60] at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[na:1.7.0_60] at java.lang.Class.forName0(Native Method) ~[na:1.7.0_60] at java.lang.Class.forName(Class.java:270) ~[na:1.7.0_60] at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:625) ~[na:1.7.0_60] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1612) ~[na:1.7.0_60] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517) ~[na:1.7.0_60] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771) ~[na:1.7.0_60] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350) ~[na:1.7.0_60] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) ~[na:1.7.0_60] at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:163) ~[commons-lang-2.6.jar:2.6] ... 73 common frames omitted
    via by John Cartwright,
  • During release testing, I found the following issue {code} robert@hn0-flink0:~/flink010-26-211/flink-0.10.0$ ./bin/flink run ../../scratch/target/flink0.10-scala2.11-1.0-SNAPSHOT.jar --input hdfs:///user/robert/file.txt --out hdfs:///user/robert/result Found YARN properties file /tmp/.yarn-properties-robert Using JobManager address from YARN properties 10.0.0.5/10.0.0.5:59812 org.apache.flink.client.program.ProgramInvocationException: The main method caused an error. at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:512) at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:395) at org.apache.flink.client.program.Client.runBlocking(Client.java:252) at org.apache.flink.client.CliFrontend.executeProgramBlocking(CliFrontend.java:675) at org.apache.flink.client.CliFrontend.run(CliFrontend.java:326) at org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:977) at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1027) Caused by: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: com.dataartisans.Job$$anon$3$$anon$2 at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:166) at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:193) at org.apache.commons.lang.SerializationUtils.clone(SerializationUtils.java:81) at org.apache.flink.streaming.api.datastream.WindowedStream.reduce(WindowedStream.java:172) at org.apache.flink.streaming.api.scala.WindowedStream.aggregate(WindowedStream.scala:352) at org.apache.flink.streaming.api.scala.WindowedStream.aggregate(WindowedStream.scala:332) at org.apache.flink.streaming.api.scala.WindowedStream.sum(WindowedStream.scala:300) at com.dataartisans.Job$.main(Job.scala:59) at com.dataartisans.Job.main(Job.scala) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:497) ... 6 more Caused by: java.lang.ClassNotFoundException: com.dataartisans.Job$$anon$3$$anon$2 at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:278) at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:625) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1612) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1997) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1921) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1997) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1921) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:163) ... 19 more The exception above occurred while trying to run your command. {code} The problem is that we are using the org.apache.commons.lang.SerializationUtils with the wrong classloader.
    via by Robert Metzger,
  • I have a clean install of 3.5.1 running on a Mac 10.9.5. Artifactory starts w/o error but when I try to access the "admin" tab, I get the stack trace below. 2015-02-06 00:14:07,694 [http-bio-8081-exec-8] [ERROR] (o.a.w.DefaultExceptionMapper:114) - Unexpected error occurred org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public org.artifactory.webapp.wicket.page.config.general.GeneralConfigPage()'. Might be it doesn't exist, may be it is not visible (public). at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:196) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:68) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:47) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:103) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.handler.PageProvider.resolvePageInstance(PageProvider.java:264) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.handler.PageProvider.getPageInstance(PageProvider.java:165) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.handler.RenderPageRequestHandler.getPage(RenderPageRequestHandler.java:160) ~[wicket-core-1.5.5.jar:1.5.5] at org.artifactory.common.wicket.application.ResponsePageSupport.fetchPageFromHandler(ResponsePageSupport.java:60) ~[artifactory-web-common-3.5.1.jar:na] at org.artifactory.common.wicket.application.ResponsePageSupport.onRequestHandlerResolved(ResponsePageSupport.java:45) ~[artifactory-web-common-3.5.1.jar:na] at org.apache.wicket.request.cycle.RequestCycleListenerCollection$5.notify(RequestCycleListenerCollection.java:145) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection$5.notify(RequestCycleListenerCollection.java:143) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80) ~[wicket-util-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection.onRequestHandlerResolved(RequestCycleListenerCollection.java:141) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection$5.notify(RequestCycleListenerCollection.java:145) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection$5.notify(RequestCycleListenerCollection.java:143) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80) ~[wicket-util-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycleListenerCollection.onRequestHandlerResolved(RequestCycleListenerCollection.java:141) ~[wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:254) [wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:212) [wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:283) [wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:185) [wicket-core-1.5.5.jar:1.5.5] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:241) [wicket-core-1.5.5.jar:1.5.5] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.56] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:173) [artifactory-web-application-3.5.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85) [artifactory-web-application-3.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.56] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:314) [artifactory-web-application-3.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:190) [artifactory-web-application-3.5.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:152) [artifactory-web-application-3.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.56] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:67) [artifactory-web-application-3.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.56] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:92) [artifactory-web-application-3.5.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.56] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.56] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.56] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.56] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) [catalina.jar:7.0.56] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [catalina.jar:7.0.56] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.56] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) [catalina.jar:7.0.56] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) [tomcat-coyote.jar:7.0.56] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) [tomcat-coyote.jar:7.0.56] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) [tomcat-coyote.jar:7.0.56] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_60] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.56] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60] Caused by: java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_60] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_60] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_60] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_60] at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:177) ~[wicket-core-1.5.5.jar:1.5.5] ... 51 common frames omitted Caused by: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: org.artifactory.descriptor.config.CentralConfigDescriptorImpl at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:166) ~[commons-lang-2.6.jar:2.6] at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:193) ~[commons-lang-2.6.jar:2.6] at org.apache.commons.lang.SerializationUtils.clone(SerializationUtils.java:81) ~[commons-lang-2.6.jar:2.6] at org.artifactory.config.CentralConfigServiceImpl.getMutableDescriptor(CentralConfigServiceImpl.java:221) ~[artifactory-core-3.5.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_60] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_60] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.4.RELEASE.jar:4.1.4.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.4.RELEASE.jar:4.1.4.RELEASE] at com.sun.proxy.$Proxy33.getMutableDescriptor(Unknown Source) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_60] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_60] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) ~[wicket-ioc-1.5.5.jar:1.5.5] at org.apache.wicket.proxy.$Proxy110.getMutableDescriptor(Unknown Source) ~[na:1.5.5] at org.artifactory.webapp.wicket.page.config.general.GeneralConfigPage.<init>(GeneralConfigPage.java:67) ~[artifactory-web-application-3.5.1.jar:na] ... 56 common frames omitted Caused by: java.lang.ClassNotFoundException: org.artifactory.descriptor.config.CentralConfigDescriptorImpl at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[na:1.7.0_60] at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[na:1.7.0_60] at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_60] at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[na:1.7.0_60] at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[na:1.7.0_60] at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[na:1.7.0_60] at java.lang.Class.forName0(Native Method) ~[na:1.7.0_60] at java.lang.Class.forName(Class.java:270) ~[na:1.7.0_60] at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:625) ~[na:1.7.0_60] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1612) ~[na:1.7.0_60] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517) ~[na:1.7.0_60] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771) ~[na:1.7.0_60] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350) ~[na:1.7.0_60] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) ~[na:1.7.0_60] at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:163) ~[commons-lang-2.6.jar:2.6] ... 73 common frames omitted
    via by John Cartwright,
    • com.mirth.connect.server.controllers.ControllerException: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: com.mirth.connect.model.filters.MessageObjectFilter at com.mirth.connect.server.controllers.DefaultMessageObjectController.removeMessages(DefaultMessageObjectController.java:409) at com.mirth.connect.server.servlets.MessageObjectServlet.doPost(MessageObjectServlet.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:534) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:475) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114) at org.eclipse.jetty.server.Server.handle(Server.java:352) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1068) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:805) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:451) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.commons.lang.SerializationException: java.lang.ClassNotFoundException: com.mirth.connect.model.filters.MessageObjectFilter at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:165) at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:192) at org.apache.commons.lang.SerializationUtils.clone(SerializationUtils.java:80) at com.mirth.connect.server.controllers.DefaultMessageObjectController.removeMessagesFromQueue(DefaultMessageObjectController.java:516) at com.mirth.connect.server.controllers.DefaultMessageObjectController.removeMessages(DefaultMessageObjectController.java:404) ... 24 more Caused by: java.lang.ClassNotFoundException: com.mirth.connect.model.filters.MessageObjectFilter at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at java.io.ObjectInputStream.resolveClass(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.apache.commons.lang.SerializationUtils.deserialize(SerializationUtils.java:162) ... 28 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    1194 more bugmates