[ 
https://issues.apache.org/jira/browse/TWILL-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14006034#comment-14006034
 ] 

Steve Loughran commented on TWILL-82:
-------------------------------------

stack
{code}
2014-05-22 16:28:36,084 [Thread-375] ERROR server.NIOServerCnxnFactory 
(NIOServerCnxnFactory.java:uncaughtException(44)) - Thread 
Thread[Thread-375,5,main] died
com.google.common.util.concurrent.UncheckedExecutionException: 
java.lang.Exception: Service failed to start.
        at 
com.google.common.util.concurrent.Futures.wrapAndThrowUnchecked(Futures.java:1358)
        at 
com.google.common.util.concurrent.Futures.getUnchecked(Futures.java:1344)
        at 
org.apache.twill.internal.AbstractExecutionServiceController.stopAndWait(AbstractExecutionServiceController.java:86)
        at 
org.apache.hadoop.examples.render.twill.RenderTwillMain.lambda$1(RenderTwillMain.java:100)
        at 
org.apache.hadoop.examples.render.twill.RenderTwillMain$$Lambda$2/2031026979.run(Unknown
 Source)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.Exception: Service failed to start.
        at 
com.google.common.util.concurrent.AbstractService$1.failed(AbstractService.java:121)
        at 
com.google.common.util.concurrent.AbstractService$6$1.run(AbstractService.java:456)
        at 
com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:293)
        at 
com.google.common.util.concurrent.AbstractService$ListenerExecutorPair.execute(AbstractService.java:482)
        at 
com.google.common.util.concurrent.AbstractService$6.run(AbstractService.java:454)
        at 
com.google.common.util.concurrent.AbstractService.executeListeners(AbstractService.java:381)
        at 
com.google.common.util.concurrent.AbstractService.notifyFailed(AbstractService.java:314)
        at 
com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:46)
        ... 1 more
Caused by: java.lang.IllegalArgumentException
        at org.objectweb.asm.ClassReader.<init>(Unknown Source)
        at org.objectweb.asm.ClassReader.<init>(Unknown Source)
        at 
org.apache.twill.internal.utils.Dependencies.findClassDependencies(Dependencies.java:102)
        at 
org.apache.twill.internal.ApplicationBundler.findDependencies(ApplicationBundler.java:179)
        at 
org.apache.twill.internal.ApplicationBundler.createBundle(ApplicationBundler.java:136)
        at 
org.apache.twill.yarn.YarnTwillPreparer.createContainerJar(YarnTwillPreparer.java:388)
        at 
org.apache.twill.yarn.YarnTwillPreparer.access$300(YarnTwillPreparer.java:106)
        at 
org.apache.twill.yarn.YarnTwillPreparer$1.call(YarnTwillPreparer.java:264)
        at 
org.apache.twill.yarn.YarnTwillPreparer$1.call(YarnTwillPreparer.java:253)
        at 
org.apache.twill.yarn.YarnTwillController.doStartUp(YarnTwillController.java:98)
        at 
org.apache.twill.internal.AbstractZKServiceController.startUp(AbstractZKServiceController.java:82)
        at 
org.apache.twill.internal.AbstractExecutionServiceController$ServiceDelegate.startUp(AbstractExecutionServiceController.java:109)
        at 
com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43)
        ... 1 more
{code}

> IllegalArgumentException in asm on Java8
> ----------------------------------------
>
>                 Key: TWILL-82
>                 URL: https://issues.apache.org/jira/browse/TWILL-82
>             Project: Apache Twill
>          Issue Type: Bug
>    Affects Versions: 0.3.0-incubating
>         Environment: java version "1.8.0_05"
> Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
>            Reporter: Steve Loughran
>
> Trying to run a simple twill app on Java 8 generates a stack trace in a 
> constructor, asm 4.x isn't expecting to see java 8 code.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to