java.lang.IllegalArgumentException: While attempting to create a Proxy for javax.servlet.http.HttpServletRequest in scope org.glassfish.jersey.process.internal.RequestScoped an error occured while creating the proxy

Stack Overflow | user3884762 | 3 months ago
  1. 0

    java.lang.IllegalArgumentException: interface org.glassfish.hk2.api.ProxyCtl is not visible from class loader

    Stack Overflow | 3 months ago | user3884762
    java.lang.IllegalArgumentException: While attempting to create a Proxy for javax.servlet.http.HttpServletRequest in scope org.glassfish.jersey.process.internal.RequestScoped an error occured while creating the proxy
  2. 0

    inject context HttpServletRequest cause "interface org.glassfish.hk2.api.ProxyCtl is not visible from class loader" (jersey 2.21, weblogic 12.1.3)

    Stack Overflow | 1 year ago | James.Y
    java.lang.IllegalArgumentException: While attempting to create a Proxy for javax.servlet.http.HttpServletRequest in scope org.glassfish.jersey.process.internal.RequestScoped an error occured while creating the proxy
  3. 0

    Jersey 2.4 on Glassfish 4.0.1: How to inject context HttpServletRequest into ContainerRequestFilter?

    Stack Overflow | 3 years ago | Viacheslav Dobromyslov
    java.lang.IllegalArgumentException: While attempting to create a Proxy for javax.servlet.http.HttpServletRequest in proxiable scope org.glassfish.jersey.process.internal.RequestScoped an error occured while creating the proxy
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [#GLASSFISH-20885] Jersey 2.4: deployment exception when using @Context HttpServletRequest in ContainerRequestFilter

    java.net | 1 year ago
    java.lang.IllegalArgumentException: While attempting to create a Proxy javax.servlet.http.HttpServletRequest in proxiable scope org.glassfish.jersey.process.internal.RequestScoped an error occured creating the proxy
  6. 0

    Jersey 2.4 on Glassfish 4.0.1: How to inject context HttpServletRequest into ContainerRequestFilter?

    wenda.io | 1 year ago
    java.lang.IllegalArgumentException: While attempting to create a Proxy for javax.servlet.http.HttpServletRequest in proxiable scope org.glassfish.jersey.process.internal.RequestScoped an error occured while creating the proxy

    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.IllegalArgumentException

      While attempting to create a Proxy for javax.servlet.http.HttpServletRequest in scope org.glassfish.jersey.process.internal.RequestScoped an error occured while creating the proxy

      at org.jvnet.hk2.internal.ProxyUtilities.generateProxy()
    2. ServiceLocator Default Implementation
      ServiceHandleImpl.getService
      1. org.jvnet.hk2.internal.ProxyUtilities.generateProxy(ProxyUtilities.java:214)
      2. org.jvnet.hk2.internal.Utilities.createService(Utilities.java:1992)
      3. org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
      4. org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)
      4 frames
    3. Jersey Core
      ContextInjectionResolver.resolve
      1. org.glassfish.jersey.internal.inject.ContextInjectionResolver.resolve(ContextInjectionResolver.java:126)
      1 frame
    4. ServiceLocator Default Implementation
      SingletonContext$1.compute
      1. org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:211)
      2. org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:234)
      3. org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:357)
      4. org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
      5. org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:83)
      6. org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:71)
      6 frames
    5. HK2 Implementation Utilities
      Cache$OriginThreadAwareFuture$1.call
      1. org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
      1 frame
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      1 frame
    7. HK2 Implementation Utilities
      Cache.compute
      1. org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
      2. org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
      2 frames
    8. ServiceLocator Default Implementation
      ServiceHandleImpl.getService
      1. org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:122)
      2. org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2020)
      3. org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
      4. org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)
      4 frames
    9. Jersey Core
      Providers.getAllRankedProviders
      1. org.glassfish.jersey.internal.inject.Providers.getAllRankedProviders(Providers.java:247)
      1 frame
    10. jersey-core-server
      ApplicationHandler$3.call
      1. org.glassfish.jersey.server.ApplicationHandler.getProcessingProviders(ApplicationHandler.java:772)
      2. org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:537)
      3. org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:184)
      4. org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:350)
      5. org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:347)
      5 frames
    11. Jersey Core
      Errors.processWithException
      1. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      2. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      3. org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255)
      3 frames
    12. jersey-core-server
      ApplicationHandler.<init>
      1. org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:347)
      1 frame
    13. jersey-container-servlet-core
      ServletContainer.init
      1. org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392)
      2. org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177)
      3. org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369)
      3 frames
    14. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:158)
      1 frame
    15. Glassfish Core
      ContainerBase$StartChild.call
      1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1194)
      2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1110)
      3. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1000)
      4. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4902)
      5. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5212)
      6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
      7. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1403)
      8. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
      8 frames
    16. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames