java.lang.IllegalArgumentException: Registered component class cannot be null.

GitHub | kuez | 8 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

    java.lang.NoClassDefFoundError: org/crsh/plugin/PluginLifeCycle

    GitHub | 8 months ago | kuez
    java.lang.IllegalArgumentException: Registered component class cannot be null.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Registered component class cannot be null.

      at org.glassfish.jersey.model.internal.CommonConfig.checkComponentClassNotNull()
    2. Jersey Core
      CommonConfig.register
      1. org.glassfish.jersey.model.internal.CommonConfig.checkComponentClassNotNull(CommonConfig.java:579)
      2. org.glassfish.jersey.model.internal.CommonConfig.register(CommonConfig.java:417)
      2 frames
    3. jersey-core-server
      ResourceConfig.<init>
      1. org.glassfish.jersey.server.ResourceConfig.register(ResourceConfig.java:425)
      2. org.glassfish.jersey.server.ResourceConfig.registerClasses(ResourceConfig.java:501)
      3. org.glassfish.jersey.server.ResourceConfig.<init>(ResourceConfig.java:367)
      3 frames
    4. GlassFish Admin
      RestAdapter.service
      1. org.glassfish.admin.rest.adapter.AbstractRestResourceProvider.getResourceConfig(AbstractRestResourceProvider.java:104)
      2. org.glassfish.admin.rest.adapter.RestManagementResourceProvider.getResourceConfig(RestManagementResourceProvider.java:96)
      3. org.glassfish.admin.rest.adapter.RestAdapter.exposeContext(RestAdapter.java:304)
      4. org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:175)
      4 frames
    5. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:466)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:169)
      2 frames
    6. Grizzly Server
      HttpServerFilter.handleRead
      1. org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
      2. org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
      3. org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
      3 frames
    7. Grizzly
      AbstractThreadPool$Worker.run
      1. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      2. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
      3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
      4. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
      5. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      6. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
      7. org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:526)
      8. org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
      9. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
      10. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
      11. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
      12. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
      13. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
      13 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame