Uploaded image for project: 'Seam 3 Distribution'
  1. Seam 3 Distribution
  2. SEAM-108

seam-booking: BookingAgent.bookHotel() throws NPE on GlassFish

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 3.1.0.Beta3
    • Fix Version/s: 3.1.0.Beta4
    • Component/s: Shared Examples
    • Labels:
      None
    • Environment:
      GlassFish 3.1.1
      Seam Booking (f5a0ad2bc0e5d9194629a6d4ee3f8933b5ad43f3)
    • Affects:
      Release Notes

      Description

      The issue seems very similar to SEAM-93 (use the same steps for reproducing), however is still present on GlassFish.

      [#|2011-10-10T14:26:30.801+0200|WARNING|glassfish3.1.1|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=21;_ThreadName=Thread-2;|A system exception occurred during an invocation on EJB BookingAgent method public void org.jboss.seam.examples.booking.booking.BookingAgent.bookHotel()
      javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean
              at com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:5049)
              at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4884)
              at com.sun.ejb.containers.StatefulSessionContainer.postInvokeTx(StatefulSessionContainer.java:1653)
              at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2039)
              at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1990)
              at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222)
              at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
              at $Proxy484.bookHotel(Unknown Source)
              at org.jboss.seam.examples.booking.booking.__EJB31_Generated__BookingAgent__Intf____Bean__.bookHotel(Unknown Source)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
              at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:125)
              at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:62)
              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
              at org.jboss.seam.examples.booking.booking.org$jboss$weld$bean-seam-booking-SessionBean-BookingAgent_$$_WeldProxy.bookHotel(org$jboss$weld$bean-seam-booking-SessionBean-BookingAgent_$$_WeldProxy.java)
              at org.jboss.seam.examples.booking.booking.org$jboss$weld$bean-seam-booking-SessionBean-BookingAgent_$$_WeldClientProxy.bookHotel(org$jboss$weld$bean-seam-booking-SessionBean-BookingAgent_$$_WeldClientProxy.java)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at com.sun.el.parser.AstValue.invoke(AstValue.java:234)
              at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
              at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)
              at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)
              at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
              at javax.faces.component.UICommand.broadcast(UICommand.java:315)
              at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
              at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
              at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
              at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:785)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:483)
              at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:454)
              at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:350)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:300)
              at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:107)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
              at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
              at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
              at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
              at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.NullPointerException
              at org.jboss.seam.examples.booking.booking.BookingAgent.bookHotel(BookingAgent.java:107)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
              at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
              at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
              at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
              at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
              at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
              at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:46)
              at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
              at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
              at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
              at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)
              at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)
              at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
              ... 73 more
      |#]
       
      [#|2011-10-10T14:26:30.803+0200|WARNING|glassfish3.1.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=21;_ThreadName=Thread-2;|#{bookingAgent.bookHotel}: javax.ejb.EJBTransactionRolledbackException
      javax.faces.FacesException: #{bookingAgent.bookHotel}: javax.ejb.EJBTransactionRolledbackException
              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
              at javax.faces.component.UICommand.broadcast(UICommand.java:315)
              at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
              at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
              at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
              at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:115)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:785)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:483)
              at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:454)
              at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:350)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:300)
              at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:107)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
              at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
              at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
              at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
              at java.lang.Thread.run(Thread.java:662)
      Caused by: javax.faces.el.EvaluationException: javax.ejb.EJBTransactionRolledbackException
              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
              ... 46 more
      Caused by: javax.ejb.EJBTransactionRolledbackException
              at com.sun.ejb.containers.BaseContainer.mapLocal3xException(BaseContainer.java:2305)
              at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2088)
              at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1990)
              at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222)
              at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
              at $Proxy484.bookHotel(Unknown Source)
              at org.jboss.seam.examples.booking.booking.__EJB31_Generated__BookingAgent__Intf____Bean__.bookHotel(Unknown Source)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
              at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:125)
              at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:62)
              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)
              at org.jboss.seam.examples.booking.booking.org$jboss$weld$bean-seam-booking-SessionBean-BookingAgent_$$_WeldProxy.bookHotel(org$jboss$weld$bean-seam-booking-SessionBean-BookingAgent_$$_WeldProxy.java)
              at org.jboss.seam.examples.booking.booking.org$jboss$weld$bean-seam-booking-SessionBean-BookingAgent_$$_WeldClientProxy.bookHotel(org$jboss$weld$bean-seam-booking-SessionBean-BookingAgent_$$_WeldClientProxy.java)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at com.sun.el.parser.AstValue.invoke(AstValue.java:234)
              at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
              at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)
              at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)
              at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
              ... 47 more
      Caused by: javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean
              at com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:5049)
              at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4884)
              at com.sun.ejb.containers.StatefulSessionContainer.postInvokeTx(StatefulSessionContainer.java:1653)
              at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2039)
              ... 75 more
      Caused by: java.lang.NullPointerException
              at org.jboss.seam.examples.booking.booking.BookingAgent.bookHotel(BookingAgent.java:107)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
              at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
              at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)
              at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
              at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
              at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
              at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:46)
              at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
              at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
              at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
              at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)
              at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)
              at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
              ... 73 more
      

        Gliffy Diagrams

          Activity

          Hide
          lightguard Jason Porter added a comment -

          This is dying because the logger is null. Still digging to figure out why.

          Show
          lightguard Jason Porter added a comment - This is dying because the logger is null. Still digging to figure out why.
          Hide
          lightguard Jason Porter added a comment -

          It worked the second time I tried it. Now I'm confused.

          Show
          lightguard Jason Porter added a comment - It worked the second time I tried it. Now I'm confused.
          Hide
          lightguard Jason Porter added a comment -

          It's GLASSFISH-17184

          Show
          lightguard Jason Porter added a comment - It's GLASSFISH-17184
          Hide
          lightguard Jason Porter added a comment -

          This is a Glassfish bug: http://java.net/jira/browse/GLASSFISH-17184

          It's also documented at http://seamframework.org/Seam3/CompatibilityHome#H-IntermittentInterceptors

          I tried to upgrade weld to 1.1.2, but there appear to be some problems upgrading to that version, hopefully they'll be fixed with 1.1.3, or the glassfish guys will have a fix out for upgrading the weld jar.

          Show
          lightguard Jason Porter added a comment - This is a Glassfish bug: http://java.net/jira/browse/GLASSFISH-17184 It's also documented at http://seamframework.org/Seam3/CompatibilityHome#H-IntermittentInterceptors I tried to upgrade weld to 1.1.2, but there appear to be some problems upgrading to that version, hopefully they'll be fixed with 1.1.3, or the glassfish guys will have a fix out for upgrading the weld jar.
          Hide
          jharting Jozef Hartinger added a comment - - edited

          We can workaround the issue by specifying the interceptor explicitly in the @Interceptors annotation. This is a pretty minor change[1]. I am not sure if it's worth pulling in the workaround in for the time being.

          [1] https://github.com/jharting/seam-examples/pull/new/SEAM-108-workaround

          Show
          jharting Jozef Hartinger added a comment - - edited We can workaround the issue by specifying the interceptor explicitly in the @Interceptors annotation. This is a pretty minor change [1] . I am not sure if it's worth pulling in the workaround in for the time being. [1] https://github.com/jharting/seam-examples/pull/new/SEAM-108-workaround
          Hide
          jharting Jozef Hartinger added a comment -

          Resolved by applying the temporary workaround (enabling interceptors explicitly using @Interceptors).

          Show
          jharting Jozef Hartinger added a comment - Resolved by applying the temporary workaround (enabling interceptors explicitly using @Interceptors).

            People

            • Assignee:
              jharting Jozef Hartinger
              Reporter:
              jharting Jozef Hartinger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development