java.lang.NoClassDefFoundError: Could not initialize class javax.imageio.ImageIO

GitHub | skylabz0rz | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Cannot upload custom icon

    GitHub | 7 months ago | skylabz0rz
    java.lang.NoClassDefFoundError: Could not initialize class javax.imageio.ImageIO

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class javax.imageio.ImageIO

      at org.traccar.web.server.model.PicturesServlet.doPost()
    2. org.traccar.web
      UserCheck.invoke
      1. org.traccar.web.server.model.PicturesServlet.doPost(PicturesServlet.java:105)
      2. org.traccar.web.server.model.UserCheck.invoke(UserCheck.java:41)
      3. org.traccar.web.server.model.UserCheck.invoke(UserCheck.java:41)
      3 frames
    3. com.google.inject
      JpaLocalTxnInterceptor.invoke
      1. com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:66)
      1 frame
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      2 frames
    5. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
      2. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
      3. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
      4. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
      5. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      6. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      7. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      8. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      9. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      10. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      11. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      12. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      12 frames
    6. com.google.inject
      PersistFilter.doFilter
      1. com.google.inject.persist.PersistFilter.doFilter(PersistFilter.java:89)
      1 frame
    7. Guice - Servlet
      GuiceFilter.doFilter
      1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
      2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      3. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
      4. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
      4 frames
    8. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      11. org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
      12. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      13. org.eclipse.jetty.server.Server.handle(Server.java:499)
      14. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
      15. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      16. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
      17. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      18. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      18 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame