java.lang.IllegalStateException: Unable to perform operation: method inject on com.data.services.server.rest.api.TestResource

Stack Overflow | devshorts | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Can't use path param or query param with jax-rs jersey2

    Stack Overflow | 7 months ago | devshorts
    java.lang.IllegalStateException: Unable to perform operation: method inject on com.data.services.server.rest.api.TestResource
  2. 0

    Connect Framework shutting down - exceptions are not catching

    Google Groups | 1 month ago | Sreejith S
    java.lang.IllegalStateException: ServiceLocatorImpl(__HK2_Generated_0,1,1522095831) has been shut down
  3. 0

    MultiException when try to inject EJB into REST

    Stack Overflow | 2 years ago
    java.lang.IllegalStateException: Unable to perform operation: resolve on com.company.userscontrol.rest.UserServiceFacade
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How can I cope with "IllegalStateException: BeanFactory not initialized or already closed"?

    Stack Overflow | 6 years ago | user569825
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext

    1 unregistered visitors
    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.IllegalStateException

      Unable to perform operation: method inject on com.data.services.server.rest.api.TestResource

      at org.glassfish.jersey.servlet.WebComponent.serviceImpl()
    2. jersey-container-servlet-core
      ServletContainer.service
      1. org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:489)[jersey-container-servlet-core-2.23.2.jar:na]
      2. org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[jersey-container-servlet-core-2.23.2.jar:na]
      3. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[jersey-container-servlet-core-2.23.2.jar:na]
      4. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[jersey-container-servlet-core-2.23.2.jar:na]
      5. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[jersey-container-servlet-core-2.23.2.jar:na]
      5 frames
    3. Guice - Servlet
      GuiceFilter.doFilter
      1. com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287)[guice-servlet-4.0.jar:na]
      2. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277)[guice-servlet-4.0.jar:na]
      3. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)[guice-servlet-4.0.jar:na]
      4. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)[guice-servlet-4.0.jar:na]
      5. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119)[guice-servlet-4.0.jar:na]
      6. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133)[guice-servlet-4.0.jar:na]
      7. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130)[guice-servlet-4.0.jar:na]
      8. com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203)[guice-servlet-4.0.jar:na]
      9. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130)[guice-servlet-4.0.jar:na]
      9 frames
    4. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
      3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
      4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
      5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
      6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
      7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
      8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
      9. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
      10. org.eclipse.jetty.server.Server.handle(Server.java:499)[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
      11. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
      12. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
      13. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[jetty-io-9.2.13.v20150730.jar:9.2.13.v20150730]
      14. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[jetty-util-9.2.14.v20151106.jar:9.2.14.v20151106]
      15. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[jetty-util-9.2.14.v20151106.jar:9.2.14.v20151106]
      15 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_77]
      1 frame