[
https://issues.apache.org/jira/browse/LOG4J2-1920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16024193#comment-16024193
]
Gary Gregory edited comment on LOG4J2-1920 at 5/25/17 4:54 AM:
---------------------------------------------------------------
That's hard to say. One of our PMC (volunteer) members would have to step up
and go through our release procedures. I do not have that many extra cycles
myself ATM.
was (Author: garydgregory):
That's hard to say. One of our PMC (volunteer) members would have to step up
and go through our release procedures. I'm do not have that many extra cycles
myself ATM.
> ScriptEngineManager is not available in Android and causes a
> NoClassDefFoundError
> ---------------------------------------------------------------------------------
>
> Key: LOG4J2-1920
> URL: https://issues.apache.org/jira/browse/LOG4J2-1920
> Project: Log4j 2
> Issue Type: Bug
> Components: JMX
> Affects Versions: 2.8.2
> Environment: While using with Android
> Reporter: Ajitha
> Assignee: Gary Gregory
> Priority: Blocker
> Fix For: 2.9
>
>
> Hi Team,
> I integrated Log4j v2.3 initially and I was getting the following crash in my
> application.
> 05-25 09:49:59.099 E/AndroidRuntime(24561): FATAL EXCEPTION: main
> 05-25 09:49:59.099 E/AndroidRuntime(24561): java.lang.NoClassDefFoundError:
> org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup
> Later on, I was checking the open tickets like
> https://issues.apache.org/jira/browse/LOG4J2-716 and found the issue to be
> the version that I am using.
> So, I upgraded to latest 2.8.2 version and made some modifications in the
> code. I see that the above JMX exception is being "caught" and printed in the
> console. So now I have bypassed that crash and landed in a new crash. I am
> pasting the stack trace below. Please have a look and advice.
> 05-25 15:12:58.634 E/AndroidRuntime(27649): FATAL EXCEPTION: main
> 05-25 15:12:58.634 E/AndroidRuntime(27649): java.lang.NoClassDefFoundError:
> Failed resolution of: Ljavax/script/ScriptEngineManager;
> 05-25 15:12:58.634 E/AndroidRuntime(27649): at
> org.apache.logging.log4j.core.script.ScriptManager.<init>(ScriptManager.java:68)
> 05-25 15:12:58.634 E/AndroidRuntime(27649): at
> org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:214)
> 05-25 15:12:58.634 E/AndroidRuntime(27649): at
> org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:244)
> 05-25 15:12:58.634 E/AndroidRuntime(27649): at
> org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:545)
> 05-25 15:12:58.634 E/AndroidRuntime(27649): at
> org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:261)
> This exception occurs when I am trying LoggerContext.start(). Please advise
> way forward.
> -Ajitha Yasmin
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)