When a uploading image the Mendix (on premises) server is trowing an error.
Production has trowing this error while the Acceptance environment is not.
Did anybody did see this before?
Any suggestion, on what kind of things can try to get i fixed?
java.lang.NoClassDefFoundError: Could not initialize class com.sun.imageio.plugins.jpeg.JPEGImageReader
at com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi.createReaderInstance(JPEGImageReaderSpi.java:85)
at javax.imageio.spi.ImageReaderSpi.createReaderInstance(ImageReaderSpi.java:320)
at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:529)
at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:513)
at javax.imageio.ImageIO.read(ImageIO.java:1443)
at javax.imageio.ImageIO.read(ImageIO.java:1352)
at com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl.checkImageValidity(FileDocumentProcessorImpl.java:194)
at com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl.access$000(FileDocumentProcessorImpl.java:43)
at com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl$1.execute(FileDocumentProcessorImpl.java:131)
at com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl$1.execute(FileDocumentProcessorImpl.java:128)
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
at com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl.storeImage(FileDocumentProcessorImpl.java:134)
at com.mendix.core.component.InternalCore.storeImageDocumentContent(InternalCore.java:1710)
at com.mendix.webui.requesthandling.FileRequestHandler.doUpload(FileRequestHandler.scala:164)
at com.mendix.webui.requesthandling.FileRequestHandler.handleUpload(FileRequestHandler.scala:88)
at com.mendix.webui.requesthandling.FileRequestHandler.handleRequest(FileRequestHandler.scala:61)
at com.mendix.webui.requesthandling.FileRequestHandler.processRequest(FileRequestHandler.scala:54)
at com.mendix.externalinterface.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:68)
at com.mendix.externalinterface.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:66)
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
at com.mendix.externalinterface.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:71)
at com.mendix.core.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:719)
at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.handle(RuntimeHandler.java:41)
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:368)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)
at org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChannelEndPoint.run(BlockingChannelConnector.java:298)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:745)