java.lang.NoSuchFieldError: Assets

Google Groups | Matthew Chartier | 2 years ago
  1. 0

    java.lang.NoSuchFieldError: Assets when running as prod ('dist'), runs fine with 'run'

    Google Groups | 2 years ago | Matthew Chartier
    java.lang.NoSuchFieldError: Assets
  2. 0

    java.lang.NoSuchFieldError: Assets when running as prod ('dist'), runs fine with 'run'

    Google Groups | 2 years ago | Matthew Chartier
    java.lang.NoSuchFieldError: Assets
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Production Mode Error

    Google Groups | 2 years ago | Unknown author
    java.lang.NoSuchFieldError: Assets

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchFieldError

      Assets

      at securesocial.core.services.RoutesService$Default.valueFor()
    2. SecureSocial
      RoutesService$Default.<init>
      1. securesocial.core.services.RoutesService$Default.valueFor(RoutesService.scala:73)
      2. securesocial.core.services.RoutesService$Default.<init>(RoutesService.scala:80)
      2 frames
    3. controllers
      CustomRoutesService.<init>
      1. controllers.CustomRoutesService.<init>(CustomLoginController.scala:17)
      1 frame
    4. Unknown
      AppInit$MyRuntimeEnvironment$.routes
      1. AppInit$MyRuntimeEnvironment$.routes$lzycompute(AppInit.scala:36)
      2. AppInit$MyRuntimeEnvironment$.routes(AppInit.scala:36)
      3. AppInit$MyRuntimeEnvironment$.routes(AppInit.scala:35)
      3 frames
    5. SecureSocial
      RuntimeEnvironment$Default.providers
      1. securesocial.core.RuntimeEnvironment$Default.providers$lzycompute(RuntimeEnvironment.scala:75)
      2. securesocial.core.RuntimeEnvironment$Default.providers(RuntimeEnvironment.scala:73)
      3. securesocial.core.RuntimeEnvironment$Default.providers(RuntimeEnvironment.scala:46)
      3 frames
    6. views.html.auth
      login$.apply
      1. views.html.auth.login$.apply(login.template.scala:51)
      1 frame
    7. views.auth
      AuthViews.getLoginPage
      1. views.auth.AuthViews.getLoginPage(AuthViews.scala:15)
      1 frame
    8. SecureSocial
      BaseLoginPage$$anonfun$login$1.apply
      1. securesocial.controllers.BaseLoginPage$$anonfun$login$1.apply(LoginPage.scala:60)
      2. securesocial.controllers.BaseLoginPage$$anonfun$login$1.apply(LoginPage.scala:50)
      2 frames
    9. Play
      ActionBuilder$$anonfun$apply$16.apply
      1. play.api.mvc.ActionBuilder$$anonfun$apply$16.apply(Action.scala:433)
      2. play.api.mvc.ActionBuilder$$anonfun$apply$16.apply(Action.scala:432)
      2 frames
    10. SecureSocial
      SecureSocial$UserAwareActionBuilder$$anonfun$invokeBlock$1.apply
      1. securesocial.core.SecureSocial$UserAwareActionBuilder$$anonfun$invokeBlock$1.apply(SecureSocial.scala:167)
      2. securesocial.core.SecureSocial$UserAwareActionBuilder$$anonfun$invokeBlock$1.apply(SecureSocial.scala:159)
      2 frames
    11. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)
      2. scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249)
      3. scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
      4. scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)
      5. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      6. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253)
      7. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346)
      8. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      9. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      9 frames