logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Sicker (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LOG4J2-1330) On Google AppEngine: Reflection is a restricted class.
Date Fri, 25 Mar 2016 14:12:25 GMT

     [ https://issues.apache.org/jira/browse/LOG4J2-1330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matt Sicker resolved LOG4J2-1330.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.6

Fixed in master. Please verify and close.

> On Google AppEngine: Reflection is a restricted class.
> ------------------------------------------------------
>
>                 Key: LOG4J2-1330
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1330
>             Project: Log4j 2
>          Issue Type: Bug
>    Affects Versions: 2.4.1
>         Environment: JDK7, Google AppEngine
>            Reporter: Lukasz Lenart
>            Assignee: Matt Sicker
>             Fix For: 2.6
>
>
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message