java.lang.ExceptionInInitializerError

GitHub | djKooks | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 79#236343057

    GitHub | 9 months ago | djKooks
    java.lang.ExceptionInInitializerError
  2. 0

    Check Kafka not invoked if Connector is not Kafka

    GitHub | 1 year ago | simonredfern
    java.lang.NullPointerException: An Empty Box was opened. The justification for allowing the openOrThrowException was no kafka.request_topic set

    Root Cause Analysis

    1. java.lang.NullPointerException

      An Empty Box was opened. The justification for allowing the openOrThrowException was OBP-00001: Hostname not specified. Could not get hostname from Props. Please edit your props file. Here are some example settings: hostname=http://127.0.0.1:8080 or hostname=https://www.example.com

      at net.liftweb.common.EmptyBox.openOrThrowException()
    2. Lift Common
      EmptyBox.openOrThrowException
      1. net.liftweb.common.EmptyBox.openOrThrowException(Box.scala:697)
      2. net.liftweb.common.EmptyBox.openOrThrowException(Box.scala:665)
      2 frames
    3. code.api
      Constant$.<clinit>
      1. code.api.Constant$.<init>(constant.scala:12)
      2. code.api.Constant$.<clinit>(constant.scala)
      2 frames
    4. bootstrap.liftweb
      Boot$$anonfun$boot$12.apply
      1. bootstrap.liftweb.Boot$$anonfun$boot$12.apply(Boot.scala:186)
      2. bootstrap.liftweb.Boot$$anonfun$boot$12.apply(Boot.scala:186)
      2 frames
    5. Lift Common
      WrappedLogger.info
      1. net.liftweb.common.Logger$class.info(Logging.scala:195)
      2. net.liftweb.common.WrappedLogger.info(Logging.scala:246)
      2 frames
    6. bootstrap.liftweb
      Boot.boot
      1. bootstrap.liftweb.Boot.boot(Boot.scala:186)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    8. Lift Util
      ClassHelpers$$anonfun$createInvoker$1.apply
      1. net.liftweb.util.ClassHelpers$$anonfun$createInvoker$1.apply(ClassHelpers.scala:364)
      2. net.liftweb.util.ClassHelpers$$anonfun$createInvoker$1.apply(ClassHelpers.scala:362)
      2 frames
    9. Lift WebKit
      DefaultBootstrap$$anonfun$boot$1.apply
      1. net.liftweb.http.DefaultBootstrap$$anonfun$boot$1.apply(LiftRules.scala:2040)
      2. net.liftweb.http.DefaultBootstrap$$anonfun$boot$1.apply(LiftRules.scala:2040)
      2 frames
    10. Lift Common
      Full.map
      1. net.liftweb.common.Full.map(Box.scala:610)
      1 frame
    11. Lift WebKit
      LiftFilter.init
      1. net.liftweb.http.DefaultBootstrap$.boot(LiftRules.scala:2040)
      2. net.liftweb.http.provider.HTTPProvider$class.bootLift(HTTPProvider.scala:88)
      3. net.liftweb.http.LiftFilter.bootLift(LiftServlet.scala:928)
      4. net.liftweb.http.provider.servlet.ServletFilterProvider$class.init(ServletFilterProvider.scala:40)
      5. net.liftweb.http.LiftFilter.init(LiftServlet.scala:928)
      5 frames
    12. Jetty Server
      FilterHolder.doStart
      1. org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
      1 frame
    13. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    14. Jetty Server
      WebAppContext.doStart
      1. org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
      2. org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
      3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
      4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
      5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
      5 frames
    15. Jetty :: Jetty Maven Plugin
      Jetty6PluginWebAppContext.doStart
      1. org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115)
      1 frame
    16. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    17. Jetty Server
      ContextHandlerCollection.doStart
      1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
      2. org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
      2 frames
    18. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    19. Jetty Server
      HandlerCollection.doStart
      1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
      1 frame
    20. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    21. Jetty Server
      Server.doStart
      1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      2. org.mortbay.jetty.Server.doStart(Server.java:224)
      2 frames
    22. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    23. Jetty :: Jetty Maven Plugin
      Jetty6RunMojo.execute
      1. org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
      2. org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:454)
      3. org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:396)
      4. org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)
      5. org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
      5 frames
    24. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      1 frame
    25. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      10 frames
    26. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      3 frames
    27. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    28. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames