Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1330

On Google AppEngine: Reflection is a restricted class.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 2.6
    • None
    • None
    • JDK7, Google AppEngine

    Description

      java.lang.NoClassDefFoundError: sun.reflect.Reflection is a restricted class. Please see the Google App Engine developer's guide for more details.
      at Request.process-92b13ea1693d58d4() (com.google.appengine.runtime)
      at Reflection.<clinit>() (sun.reflect)
      at Method.invoke():44 (java.lang.reflect)
      at ReflectionUtil.<clinit>():67 (org.apache.logging.log4j.util)
      at ThrowableProxy.<init>():134 (org.apache.logging.log4j.core.impl)
      at ThrowableProxy.<init>():117 (org.apache.logging.log4j.core.impl)
      at Log4jLogEvent.getThrownProxy():482 (org.apache.logging.log4j.core.impl)
      at ExtendedThrowablePatternConverter.format():64 (org.apache.logging.log4j.core.pattern)
      at PatternFormatter.format():36 (org.apache.logging.log4j.core.pattern)
      at PatternLayout$PatternSerializer.toSerializable():292 (org.apache.logging.log4j.core.layout)
      at PatternLayout.toSerializable():206 (org.apache.logging.log4j.core.layout)
      at PatternLayout.toSerializable():56 (org.apache.logging.log4j.core.layout)
      at AbstractStringLayout.toByteArray():148 (org.apache.logging.log4j.core.layout)
      at AbstractOutputStreamAppender.append():112 (org.apache.logging.log4j.core.appender)
      at AppenderControl.tryCallAppender():152 (org.apache.logging.log4j.core.config)
      at AppenderControl.callAppender0():125 (org.apache.logging.log4j.core.config)
      at AppenderControl.callAppenderPreventRecursion():116 (org.apache.logging.log4j.core.config)
      at AppenderControl.callAppender():84 (org.apache.logging.log4j.core.config)
      at LoggerConfig.callAppenders():390 (org.apache.logging.log4j.core.config)
      at LoggerConfig.processLogEvent():378 (org.apache.logging.log4j.core.config)
      at LoggerConfig.log():362 (org.apache.logging.log4j.core.config)
      at LoggerConfig.logParent():384 (org.apache.logging.log4j.core.config)
      at LoggerConfig.processLogEvent():379 (org.apache.logging.log4j.core.config)
      at LoggerConfig.log():362 (org.apache.logging.log4j.core.config)
      at LoggerConfig.log():352 (org.apache.logging.log4j.core.config)
      at AwaitCompletionReliabilityStrategy.log():63 (org.apache.logging.log4j.core.config)
      at Logger.logMessage():147 (org.apache.logging.log4j.core)
      at AbstractLogger.logMessage():1022 (org.apache.logging.log4j.spi)
      at AbstractLogger.logIfEnabled():980 (org.apache.logging.log4j.spi)
      at AbstractLogger.error():397 (org.apache.logging.log4j.spi)
      at Dispatcher.logConfigurationException():590 (org.apache.struts2.dispatcher)
      at Dispatcher.serviceAction():564 (org.apache.struts2.dispatcher)
      at ExecuteOperations.executeAction():81 (org.apache.struts2.dispatcher)
      at StrutsPrepareAndExecuteFilter.doFilter():102 (org.apache.struts2.dispatcher.filter)
      at ServletHandler$CachedChain.doFilter():1157 (org.mortbay.jetty.servlet)
      at ServletHandler$CachedChain.doFilter():1157 (org.mortbay.jetty.servlet)
      at ServletHandler$CachedChain.doFilter():1157 (org.mortbay.jetty.servlet)
      at ServletHandler$CachedChain.doFilter():1157 (org.mortbay.jetty.servlet)
      at ServletHandler$CachedChain.doFilter():1157 (org.mortbay.jetty.servlet)
      at ServletHandler.handle():388 (org.mortbay.jetty.servlet)
      at SecurityHandler.handle():216 (org.mortbay.jetty.security)
      at SessionHandler.handle():182 (org.mortbay.jetty.servlet)
      at ContextHandler.handle():765 (org.mortbay.jetty.handler)
      at WebAppContext.handle():418 (org.mortbay.jetty.webapp)
      at HandlerWrapper.handle():152 (org.mortbay.jetty.handler)
      at Server.handle():326 (org.mortbay.jetty)
      at HttpConnection.handleRequest():542 (org.mortbay.jetty)
      at HttpConnection$RequestHandler.headerComplete():923 (org.mortbay.jetty)
      at HttpConnection.handle():404 (org.mortbay.jetty)
      at TraceContext$TraceContextRunnable.runInContext():437 (com.google.tracing)
      at TraceContext$TraceContextRunnable$1.run():444 (com.google.tracing)
      at CurrentContext.runInContext():256 (com.google.tracing)
      at TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref():308 (com.google.tracing)
      at TraceContext$AbstractTraceContextCallback.runInInheritedContext():300 (com.google.tracing)
      at TraceContext$TraceContextRunnable.run():441 (com.google.tracing)
      at Thread.run():745 (java.lang)
      

      Attachments

        Activity

          People

            mattsicker Matt Sicker
            lukaszlenart Lukasz Lenart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: