java.lang.NoClassDefFoundError: sun.misc.Unsafe is a restricted class. Please see the Google App Engine developer's guide for more details.

Google Groups | Arun Menon | 2 years ago
  1. 0

    HysterixCommand issue running in Google App engine

    Google Groups | 2 years ago | Arun Menon
    java.lang.NoClassDefFoundError: sun.misc.Unsafe is a restricted class. Please see the Google App Engine developer's guide for more details.
  2. 0

    GitHub comment 15#90784508

    GitHub | 2 years ago | henri-tremblay
    java.lang.NoClassDefFoundError: sun.misc.Unsafe is a restricted class. Please see the Google App Engine developer's guide for more details.
  3. 0

    JRuby Google App Engine throws sun.misc.Unsafe is a restricted class for new Rails App

    Stack Overflow | 3 years ago | Scott Feinberg
    java.lang.NoClassDefFoundError: sun.misc.Unsafe is a restricted class. Please see the Google App Engine developer's guide for more details.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exceptions when deploying to app engine

    GitHub | 3 years ago | zerbino
    java.lang.NoClassDefFoundError: sun.misc.Unsafe is a restricted class. Please see the Google App Engine developer's guide for more details.
  6. 0

    Unable to use JRuby with google app engine due to use of sun.misc.Unsafe

    GitHub | 2 years ago | jaydonnell
    java.lang.NoClassDefFoundError: sun.misc.Unsafe is a restricted class. Please see the Google App Engine developer's guide for more details.

    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

      sun.misc.Unsafe is a restricted class. Please see the Google App Engine developer's guide for more details.

      at com.google.apphosting.runtime.security.shared.stub.sun.misc.Unsafe.<clinit>()
    2. com.google.apphosting
      Unsafe.<clinit>
      1. com.google.apphosting.runtime.security.shared.stub.sun.misc.Unsafe.<clinit>(Unsafe.java)
      1 frame
    3. hystrix-core
      HystrixCommand.<init>
      1. com.netflix.hystrix.util.Striped64.getUnsafe(Striped64.java:341)
      2. com.netflix.hystrix.util.Striped64.<clinit>(Striped64.java:321)
      3. com.netflix.hystrix.util.HystrixRollingNumber$CumulativeSum.<init>(HystrixRollingNumber.java:446)
      4. com.netflix.hystrix.util.HystrixRollingNumber.<init>(HystrixRollingNumber.java:64)
      5. com.netflix.hystrix.util.HystrixRollingNumber.<init>(HystrixRollingNumber.java:67)
      6. com.netflix.hystrix.HystrixCommandMetrics.<init>(HystrixCommandMetrics.java:123)
      7. com.netflix.hystrix.HystrixCommandMetrics.getInstance(HystrixCommandMetrics.java:71)
      8. com.netflix.hystrix.HystrixCommand.<init>(HystrixCommand.java:263)
      9. com.netflix.hystrix.HystrixCommand.<init>(HystrixCommand.java:188)
      10. com.netflix.hystrix.HystrixCommand.<init>(HystrixCommand.java:170)
      10 frames
    4. com.espn.commands
      GetUserCardCommand.<init>
      1. com.espn.commands.GetUserCardCommand.<init>(GetUserCardCommand.java:16)
      1 frame
    5. com.espncricinfo.gnow
      CreateNowCards.doGet
      1. com.espncricinfo.gnow.CreateNowCards.sendCard(CreateNowCards.java:398)
      2. com.espncricinfo.gnow.CreateNowCards.createTableCard(CreateNowCards.java:306)
      3. com.espncricinfo.gnow.CreateNowCards.processUsers(CreateNowCards.java:240)
      4. com.espncricinfo.gnow.CreateNowCards.process(CreateNowCards.java:134)
      5. com.espncricinfo.gnow.CreateNowCards.doGet(CreateNowCards.java:115)
      5 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    7. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
      2 frames
    8. Google AppEngine
      ParseBlobUploadFilter.doFilter
      1. com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:125)
      1 frame
    9. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      1 frame
    10. com.google.apphosting
      SaveSessionFilter.doFilter
      1. com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35)
      1 frame
    11. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      1 frame
    12. Google AppEngine
      JdbcMySqlConnectionCleanupFilter.doFilter
      1. com.google.apphosting.utils.servlet.JdbcMySqlConnectionCleanupFilter.doFilter(JdbcMySqlConnectionCleanupFilter.java:60)
      1 frame
    13. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      1 frame
    14. Google AppEngine
      TransactionCleanupFilter.doFilter
      1. com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
      1 frame
    15. Jetty Server
      WebAppContext.handle
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      6 frames
    16. com.google.apphosting
      AppVersionHandlerMap.handle
      1. com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:254)
      1 frame
    17. Jetty Server
      HttpConnection$RequestHandler.headerComplete
      1. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      2. org.mortbay.jetty.Server.handle(Server.java:326)
      3. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      4. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
      4 frames
    18. com.google.apphosting
      RpcRequestParser.parseAvailable
      1. com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76)
      1 frame
    19. Jetty Server
      HttpConnection.handle
      1. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      1 frame
    20. com.google.apphosting
      JettyServletEngineAdapter.serviceRequest
      1. com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:146)
      1 frame
    21. appengine-managed-runtime
      JavaRuntime$RequestRunnable.run
      1. com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:527)
      1 frame
    22. Google tracing
      TraceContext$TraceContextRunnable.run
      1. com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:437)
      2. com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:444)
      3. com.google.tracing.CurrentContext.runInContext(CurrentContext.java:220)
      4. com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:308)
      5. com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:300)
      6. com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:441)
      6 frames
    23. appengine-managed-runtime
      ThreadGroupPool$PoolEntry.run
      1. com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:251)
      1 frame
    24. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:724)
      1 frame