Uploaded image for project: 'Antarcticle'
  1. Antarcticle
  2. ANTARCTICLE-294

Deployment fails on JRE 8

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1 Penguins, 2.7 Penguins
    • Fix Version/s: 2.7 Penguins
    • Labels:
      None
    • Sprint:
      2.7 Penguins

      Description

      Antracticle uses Parboled parser behind the markup processor, which, in turn, relies on asm to do code instrumentation. Old versions of asm are known to be uncompatible with JRE 8.

      We should try to update either parboled, or asm. Version 5.0 of the latter is known to work without problems on Java 8.

      Here's the full stack trace we have:

       
      play.api.Application$$anon$1: Execution exception[[RuntimeException: Error creating extended parser class: null]]
      	at play.api.Application$class.handleError(Application.scala:293) ~[play_2.10-2.2.2.jar:2.2.2]
      	at play.api.DefaultApplication.handleError(Application.scala:399) [play_2.10-2.2.2.jar:2.2.2]
      	at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$12$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:165) [play_2.10-2.2.2.jar:2.2.2]
      	at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$12$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:162) [play_2.10-2.2.2.jar:2.2.2]
      	at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33) [scala-library-2.10.3.jar:na]
      	at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185) [scala-library-2.10.3.jar:na]
      	at scala.util.Try$.apply(Try.scala:161) [scala-library-2.10.3.jar:na]
      	at scala.util.Failure.recover(Try.scala:185) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.Future$$anonfun$recover$1.apply(Future.scala:324) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.Future$$anonfun$recover$1.apply(Future.scala:324) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) [scala-library-2.10.3.jar:na]
      	at play.api.libs.iteratee.Execution$$anon$1.execute(Execution.scala:43) [play-iteratees_2.10-2.2.2.jar:2.2.2]
      	at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:40) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:248) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.Promise$class.complete(Promise.scala:55) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:153) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) [scala-library-2.10.3.jar:na]
      	at play.api.libs.iteratee.Execution$$anon$2.execute(Execution.scala:70) [play-iteratees_2.10-2.2.2.jar:2.2.2]
      	at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:40) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:248) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.Promise$class.complete(Promise.scala:55) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:153) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) [scala-library-2.10.3.jar:na]
      	at play.api.libs.iteratee.Execution$$anon$2.execute(Execution.scala:70) [play-iteratees_2.10-2.2.2.jar:2.2.2]
      	at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:40) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:248) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.Promise$class.complete(Promise.scala:55) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:153) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:23) [scala-library-2.10.3.jar:na]
      	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:42) [akka-actor_2.10.jar:2.2.0]
      	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386) [akka-actor_2.10.jar:2.2.0]
      	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [scala-library-2.10.3.jar:na]
      Caused by: java.lang.RuntimeException: Error creating extended parser class: null
      	at org.parboiled.Parboiled.createParser(Parboiled.java:58) ~[parboiled-java-1.1.6.jar:na]
      	at views.helpers.Markdown$.toHtml(Markdown.scala:11) ~[classes/:na]
      	at views.html.templates.bareArticleList$$anonfun$apply$1.apply(bareArticleList.template.scala:38) ~[classes/:na]
      	at views.html.templates.bareArticleList$$anonfun$apply$1.apply(bareArticleList.template.scala:29) ~[classes/:na]
      	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) ~[scala-library-2.10.3.jar:na]
      	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) ~[scala-library-2.10.3.jar:na]
      	at scala.collection.immutable.List.foreach(List.scala:318) ~[scala-library-2.10.3.jar:na]
      	at scala.collection.TraversableLike$class.map(TraversableLike.scala:244) ~[scala-library-2.10.3.jar:na]
      	at scala.collection.AbstractTraversable.map(Traversable.scala:105) ~[scala-library-2.10.3.jar:na]
      	at views.html.templates.bareArticleList$.apply(bareArticleList.template.scala:29) ~[classes/:na]
      	at views.html.articles$.apply(articles.template.scala:48) ~[classes/:na]
      	at controllers.ArticleController$$anonfun$listArticlesPaged$1$$anonfun$apply$4.apply(ArticleController.scala:38) ~[classes/:na]
      	at controllers.ArticleController$$anonfun$listArticlesPaged$1$$anonfun$apply$4.apply(ArticleController.scala:38) ~[classes/:na]
      	at scalaz.Validation$class.fold(Validation.scala:63) ~[scalaz-core_2.10-7.0.5.jar:na]
      	at scalaz.Success.fold(Validation.scala:347) ~[scalaz-core_2.10-7.0.5.jar:na]
      	at controllers.ArticleController$$anonfun$listArticlesPaged$1.apply(ArticleController.scala:36) ~[classes/:na]
      	at controllers.ArticleController$$anonfun$listArticlesPaged$1.apply(ArticleController.scala:35) ~[classes/:na]
      	at play.api.mvc.ActionBuilder$$anonfun$apply$10.apply(Action.scala:221) ~[play_2.10-2.2.2.jar:2.2.2]
      	at play.api.mvc.ActionBuilder$$anonfun$apply$10.apply(Action.scala:220) ~[play_2.10-2.2.2.jar:2.2.2]
      	at play.api.mvc.Action$.invokeBlock(Action.scala:357) ~[play_2.10-2.2.2.jar:2.2.2]
      	at play.api.mvc.ActionBuilder$$anon$1.apply(Action.scala:309) ~[play_2.10-2.2.2.jar:2.2.2]
      	at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:109) ~[play_2.10-2.2.2.jar:2.2.2]
      	at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:109) ~[play_2.10-2.2.2.jar:2.2.2]
      	at play.utils.Threads$.withContextClassLoader(Threads.scala:18) ~[play_2.10-2.2.2.jar:2.2.2]
      	at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:108) ~[play_2.10-2.2.2.jar:2.2.2]
      	at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:107) ~[play_2.10-2.2.2.jar:2.2.2]
      	at scala.Option.map(Option.scala:145) ~[scala-library-2.10.3.jar:na]
      	at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:107) ~[play_2.10-2.2.2.jar:2.2.2]
      	at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:100) ~[play_2.10-2.2.2.jar:2.2.2]
      	at play.api.libs.iteratee.Iteratee$$anonfun$mapM$1.apply(Iteratee.scala:481) ~[play-iteratees_2.10-2.2.2.jar:2.2.2]
      	at play.api.libs.iteratee.Iteratee$$anonfun$mapM$1.apply(Iteratee.scala:481) ~[play-iteratees_2.10-2.2.2.jar:2.2.2]
      	at play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1.apply(Iteratee.scala:517) ~[play-iteratees_2.10-2.2.2.jar:2.2.2]
      	at play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1.apply(Iteratee.scala:517) ~[play-iteratees_2.10-2.2.2.jar:2.2.2]
      	at play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$13.apply(Iteratee.scala:493) ~[play-iteratees_2.10-2.2.2.jar:2.2.2]
      	at play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$13.apply(Iteratee.scala:493) ~[play-iteratees_2.10-2.2.2.jar:2.2.2]
      	at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) [scala-library-2.10.3.jar:na]
      	at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) [scala-library-2.10.3.jar:na]
      	... 6 common frames omitted
      Caused by: java.lang.IllegalArgumentException: null
      	at org.objectweb.asm.ClassReader.<init>(Unknown Source) ~[asm.jar:4.1]
      	at org.objectweb.asm.ClassReader.<init>(Unknown Source) ~[asm.jar:4.1]
      	at org.objectweb.asm.ClassReader.<init>(Unknown Source) ~[asm.jar:4.1]
      	at org.parboiled.transform.AsmUtils.createClassReader(AsmUtils.java:56) ~[parboiled-java-1.1.6.jar:na]
      	at org.parboiled.transform.ClassNodeInitializer.process(ClassNodeInitializer.java:62) ~[parboiled-java-1.1.6.jar:na]
      	at org.parboiled.transform.ParserTransformer.extendParserClass(ParserTransformer.java:44) ~[parboiled-java-1.1.6.jar:na]
      	at org.parboiled.transform.ParserTransformer.transformParser(ParserTransformer.java:38) ~[parboiled-java-1.1.6.jar:na]
      	at org.parboiled.Parboiled.createParser(Parboiled.java:54) ~[parboiled-java-1.1.6.jar:na]
      
       

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  varro Artem R
                  Reporter:
                  jk1 Evgeniy Naumenko
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel