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

Google Groups | alex | 6 years ago
  1. 0

    clientside logging into a file --> Error java.io.FileOutputStream is a restricted class.

    Google Groups | 6 years ago | alex
    java.lang.NoClassDefFoundError: java.io.FileOutputStream is a restricted class. Please see the Google App Engine developer's guide for more details.
  2. 0

    jython / modjy FileOutputStream exception

    Google Groups | 7 years ago | Riley
    java.lang.NoClassDefFoundError: java.io.FileOutputStream is a restricted class. Please see the Google App Engine developer's guide for more details.
  3. 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    System.procTime triggers Error in AppEngine environment

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

    JNDI availability not correctly detected in Google App Engine

    GitHub | 3 years ago | rmartony
    java.lang.NoClassDefFoundError: javax.naming.InitialContext is a restricted class. Please see the Google App Engine developer's guide for more details.

    11 unregistered visitors
    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

      java.io.FileOutputStream is a restricted class. Please see the Google App Engine developer's guide for more details.

      at com.google.appengine.tools.development.agent.runtime.Runtime.reject()
    2. com.google.appengine
      Runtime.reject
      1. com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51)
      1 frame
    3. Apache Log4j
      Logger.getLogger
      1. org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
      2. org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:194)
      3. org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)
      4. org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
      5. org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:285)
      6. org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:171)
      7. org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:184)
      8. org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:502)
      9. org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:471)
      10. org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:921)
      11. org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:790)
      12. org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:696)
      13. org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
      14. org.apache.log4j.LogManager.<clinit>(LogManager.java:125)
      15. org.apache.log4j.Logger.getLogger(Logger.java:105)
      15 frames
    4. com.allen_sauer.gwt
      RemoteLoggerServiceImpl.log
      1. com.allen_sauer.gwt.log.server.ServerLogImplLog4J.<init>(ServerLogImplLog4J.java:30)
      2. com.allen_sauer.gwt.log.client.Log.tryLog4J(Log.java:289)
      3. com.allen_sauer.gwt.log.client.Log.<clinit>(Log.java:58)
      4. com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl.log(RemoteLoggerServiceImpl.java:38)
      4 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    6. com.google.appengine
      Runtime.invoke
      1. com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:100)
      1 frame
    7. Jetty Contrib :: jetty-gwt RemoteServiceServlet
      AbstractRemoteServiceServlet.doPost
      1. com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
      2. com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188)
      3. com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
      4. com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
      4 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
      2 frames
    9. 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
    10. com.google.appengine
      ServeBlobFilter.doFilter
      1. com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:51)
      1 frame
    11. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      1 frame
    12. Google AppEngine
      TransactionCleanupFilter.doFilter
      1. com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
      1 frame
    13. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      1 frame
    14. AppEngine Testing
      StaticFileFilter.doFilter
      1. com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122)
      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
      DevAppEngineWebAppContext.handle
      1. com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
      1 frame
    17. Jetty Server
      HandlerWrapper.handle
      1. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      1 frame
    18. AppEngine Testing
      JettyContainerService$ApiProxyHandler.handle
      1. com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:349)
      1 frame
    19. Jetty Server
      SelectChannelEndPoint.run
      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.content(HttpConnection.java:938)
      5. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
      6. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
      7. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      8. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      8 frames
    20. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      1 frame