jersey
  1. jersey
  2. JERSEY-2086

NPE when adding item for sse-item-store-webapp (WLS, Firefox)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.4.1
    • Component/s: examples
    • Labels:
      None

      Description

      Firefox specific:it throws out the NullPointerException on weblogic log console when adding item for sse-item-store-webapp example application.

      java.lang.NullPointerException
      	at java.util.concurrent.ConcurrentLinkedQueue.checkNotNull(ConcurrentLinkedQueue.java:807)
      	at java.util.concurrent.ConcurrentLinkedQueue.offer(ConcurrentLinkedQueue.java:326)
      	at java.util.concurrent.ConcurrentLinkedQueue.add(ConcurrentLinkedQueue.java:296)
      	at org.glassfish.jersey.examples.sseitemstore.ItemStoreResource.addItem(ItemStoreResource.java:85)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
      	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:128)
      	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:136)
      	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:94)
      	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:353)
      	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:343)
      	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
      	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:237)
      	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
      	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
      	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      	at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
      	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:322)
      	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:211)
      	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:979)
      	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:344)
      	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:372)
      	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:335)
      	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:218)
      	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
      	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:238)
      	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3364)
      	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3334)
      	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      	at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2221)
      	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2147)
      	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2125)
      	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1569)
      	at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
      	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:264)
      	at weblogic.work.ExecuteThread.run(ExecuteThread.java:217)
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Michal Gajdos
            Reporter:
            Michal Gajdos
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 hours
              2h