{"action":"closed","issue":{"url":"https://api.github.com/repos/javaee/glassfish/issues/21072","repository_url":"https://api.github.com/repos/javaee/glassfish","labels_url":"https://api.github.com/repos/javaee/glassfish/issues/21072/labels{/name}","comments_url":"https://api.github.com/repos/javaee/glassfish/issues/21072/comments","events_url":"https://api.github.com/repos/javaee/glassfish/issues/21072/events","html_url":"https://github.com/javaee/glassfish/issues/21072","id":223314154,"number":21072,"title":"NullPointerException at com.sun.enterprise.resource.pool.PoolManagerImpl.handleLazilyAssociatedConnectionPools(PoolManagerImpl.java:623)","user":{"login":"glassfishrobot","id":6104758,"avatar_url":"https://avatars0.githubusercontent.com/u/6104758?v=4","gravatar_id":"","url":"https://api.github.com/users/glassfishrobot","html_url":"https://github.com/glassfishrobot","followers_url":"https://api.github.com/users/glassfishrobot/followers","following_url":"https://api.github.com/users/glassfishrobot/following{/other_user}","gists_url":"https://api.github.com/users/glassfishrobot/gists{/gist_id}","starred_url":"https://api.github.com/users/glassfishrobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glassfishrobot/subscriptions","organizations_url":"https://api.github.com/users/glassfishrobot/orgs","repos_url":"https://api.github.com/users/glassfishrobot/repos","events_url":"https://api.github.com/users/glassfishrobot/events{/privacy}","received_events_url":"https://api.github.com/users/glassfishrobot/received_events","type":"User","site_admin":false},"labels":[{"id":587834655,"url":"https://api.github.com/repos/javaee/glassfish/labels/Component:%20jca","name":"Component: jca","color":"db7298","default":false},{"id":587848769,"url":"https://api.github.com/repos/javaee/glassfish/labels/ERR:%20Assignee","name":"ERR: Assignee","color":"ededed","default":false},{"id":587834363,"url":"https://api.github.com/repos/javaee/glassfish/labels/Priority:%20Minor","name":"Priority: Minor","color":"5bf7b9","default":false},{"id":587834333,"url":"https://api.github.com/repos/javaee/glassfish/labels/Type:%20Bug","name":"Type: Bug","color":"fcbfc5","default":false}],"state":"closed","locked":false,"assignee":{"login":"naman223","id":16036225,"avatar_url":"https://avatars0.githubusercontent.com/u/16036225?v=4","gravatar_id":"","url":"https://api.github.com/users/naman223","html_url":"https://github.com/naman223","followers_url":"https://api.github.com/users/naman223/followers","following_url":"https://api.github.com/users/naman223/following{/other_user}","gists_url":"https://api.github.com/users/naman223/gists{/gist_id}","starred_url":"https://api.github.com/users/naman223/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naman223/subscriptions","organizations_url":"https://api.github.com/users/naman223/orgs","repos_url":"https://api.github.com/users/naman223/repos","events_url":"https://api.github.com/users/naman223/events{/privacy}","received_events_url":"https://api.github.com/users/naman223/received_events","type":"User","site_admin":false},"assignees":[{"login":"naman223","id":16036225,"avatar_url":"https://avatars0.githubusercontent.com/u/16036225?v=4","gravatar_id":"","url":"https://api.github.com/users/naman223","html_url":"https://github.com/naman223","followers_url":"https://api.github.com/users/naman223/followers","following_url":"https://api.github.com/users/naman223/following{/other_user}","gists_url":"https://api.github.com/users/naman223/gists{/gist_id}","starred_url":"https://api.github.com/users/naman223/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naman223/subscriptions","organizations_url":"https://api.github.com/users/naman223/orgs","repos_url":"https://api.github.com/users/naman223/repos","events_url":"https://api.github.com/users/naman223/events{/privacy}","received_events_url":"https://api.github.com/users/naman223/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/javaee/glassfish/milestones/35","html_url":"https://github.com/javaee/glassfish/milestone/35","labels_url":"https://api.github.com/repos/javaee/glassfish/milestones/35/labels","id":2468843,"number":35,"title":"5.0","description":null,"creator":{"login":"glassfishrobot","id":6104758,"avatar_url":"https://avatars0.githubusercontent.com/u/6104758?v=4","gravatar_id":"","url":"https://api.github.com/users/glassfishrobot","html_url":"https://github.com/glassfishrobot","followers_url":"https://api.github.com/users/glassfishrobot/followers","following_url":"https://api.github.com/users/glassfishrobot/following{/other_user}","gists_url":"https://api.github.com/users/glassfishrobot/gists{/gist_id}","starred_url":"https://api.github.com/users/glassfishrobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glassfishrobot/subscriptions","organizations_url":"https://api.github.com/users/glassfishrobot/orgs","repos_url":"https://api.github.com/users/glassfishrobot/repos","events_url":"https://api.github.com/users/glassfishrobot/events{/privacy}","received_events_url":"https://api.github.com/users/glassfishrobot/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":231,"state":"open","created_at":"2017-04-20T07:17:26Z","updated_at":"2017-08-07T08:25:21Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2014-05-26T15:03:13Z","updated_at":"2017-08-07T08:25:21Z","closed_at":"2017-08-07T08:25:21Z","body":"We have a message processing application that receives messages via a message queue.\nSo there is a MDB that receives messages from this queue and forwards them to a singleton EJB for further processing.\n\nTransactions:\nMDB: @TransactionManagement(TransactionManagementType.BEAN)\nSingleton EJB: @ConcurrencyManagement(ConcurrencyManagementType.BEAN)\n\nAfter a few hours of load testing we continuously get exceptions in GF when MDB invokes a local call to Singleton EJB (MDB00037). After that the JMS message redelivered (MQJMSRA_MR2001) is received.\n\nException snippet:\n=============================================================================\n\n[#|2014-05-23T12:01:16.698+0200|WARNING|glassfish3.1.2|javax.enterprise.system.container.ejb.mdb.com.sun.ejb.containers|_ThreadID=752;_ThreadName=Thread-2;|MDB00037: [ht-ear-2.7.0-SNAPSHOT-PRETTY-7527:ObdMessageBean]: Message-driven bean invocation exception: [javax.ejb.EJBException]|#]\n\n[#|2014-05-23T12:01:16.699+0200|WARNING|glassfish3.1.2|javax.enterprise.system.container.ejb.mdb.com.sun.ejb.containers|_ThreadID=752;_ThreadName=Thread-2;|javax.ejb.EJBException\njavax.ejb.EJBException\nat com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5215)\nat com.sun.ejb.containers.BaseContainer.checkExceptionNoTx(BaseContainer.java:5044)\nat com.sun.ejb.containers.BaseContainer.checkExceptionBeanMgTx(BaseContainer.java:4965)\nat com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4865)\nat com.sun.ejb.containers.MessageBeanContainer.afterMessageDeliveryInternal(MessageBeanContainer.java:1211)\nat com.sun.ejb.containers.MessageBeanContainer.afterMessageDelivery(MessageBeanContainer.java:1186)\nat com.sun.ejb.containers.MessageBeanListenerImpl.afterMessageDelivery(MessageBeanListenerImpl.java:86)\nat com.sun.enterprise.connectors.inbound.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:190)\nat com.sun.proxy.$Proxy669.onMessage(Unknown Source)\nat com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:260)\nat com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:114)\nat com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)\nat com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)\nCaused by: java.lang.NullPointerException\nat com.sun.enterprise.resource.pool.PoolManagerImpl.handleLazilyAssociatedConnectionPools(PoolManagerImpl.java:623)\nat com.sun.enterprise.resource.pool.PoolManagerImpl.postInvoke(PoolManagerImpl.java:601)\nat com.sun.enterprise.resource.pool.PoolManagerImpl.afterPostInvoke(PoolManagerImpl.java:580)\nat org.glassfish.api.invocation.InvocationManagerImpl.postInvoke(InvocationManagerImpl.java:220)\nat com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2021)\nat com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1994)\nat com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222)\nat com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:89)\nat com.sun.proxy.$Proxy566.receiveMessages(Unknown Source)\nat com.ht.ms.obd.ObdMessageBean.processMessage(ObdMessageBean.java:115)\nat com.ht.ms.obd.ObdMessageBean.onMessage(ObdMessageBean.java:70)\nat sun.reflect.GeneratedMethodAccessor1959.invoke(Unknown Source)\nat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\nat java.lang.reflect.Method.invoke(Method.java:606)\nat org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)\nat org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)\nat com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:4180)\nat com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5368)\nat com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)\nat com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:1099)\nat com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:81)\nat com.sun.enterprise.connectors.inbound.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:171)\n... 5 more\n\n| #] |\n\n[#|2014-05-23T12:01:16.702+0200|INFO|glassfish3.1.2|com.ht.message.logic.MessageValidationBean|_ThreadID=679;_ThreadName=Thread-2;|Validating message Message[id=12792, obdId=null]|#]\n\n[#|2014-05-23T12:01:16.703+0200|INFO|glassfish3.1.2|com.ht.logic.equipmentdetection.EquipmentDetectionProcessorBean|_ThreadID=679;_ThreadName=Thread-2;|No equipment processing for Message[id=12792], does not contain equipment couple info.|#]\n\n[#|2014-05-23T12:01:16.704+0200|INFO|glassfish3.1.2|com.ht.logic.message.MessageProcessorBean|_ThreadID=679;_ThreadName=Thread-2;|Finished processing of Message[id=12792, obdId=null]|#]\n\n[#|2014-05-23T12:01:16.701+0200|WARNING|glassfish3.1.2|javax.resourceadapter.mqjmsra.inbound.message|_ThreadID=752;_ThreadName=Thread-2;|MQJMSRA_MR2001: run:Caught Exception from onMessage():Redelivering:\njavax.ejb.EJBException: message-driven bean method public abstract void javax.jms.MessageListener.onMessage(javax.jms.Message) system exception\nat com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:1134)\nat com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:81)\nat com.sun.enterprise.connectors.inbound.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:171)\nat com.sun.proxy.$Proxy669.onMessage(Unknown Source)\nat com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:260)\nat com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:114)\nat com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)\nat com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)\nCaused by: java.lang.NullPointerException\nat com.sun.enterprise.resource.pool.PoolManagerImpl.handleLazilyAssociatedConnectionPools(PoolManagerImpl.java:623)\nat com.sun.enterprise.resource.pool.PoolManagerImpl.postInvoke(PoolManagerImpl.java:601)\nat com.sun.enterprise.resource.pool.PoolManagerImpl.afterPostInvoke(PoolManagerImpl.java:580)\nat org.glassfish.api.invocation.InvocationManagerImpl.postInvoke(InvocationManagerImpl.java:220)\nat com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2021)\nat com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1994)\nat com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222)\nat com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:89)\nat com.sun.proxy.$Proxy566.receiveMessages(Unknown Source)\nat com.ht.ms.obd.ObdMessageBean.processMessage(ObdMessageBean.java:115)\nat com.ht.ms.obd.ObdMessageBean.onMessage(ObdMessageBean.java:70)\nat sun.reflect.GeneratedMethodAccessor1959.invoke(Unknown Source)\nat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\nat java.lang.reflect.Method.invoke(Method.java:606)\nat org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)\nat org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)\nat com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:4180)\nat com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5368)\nat com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)\nat com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:1099)\n... 7 more\n\n| #]\n============================================================================= |\n#### Affected Versions\n[3.1.2.2]"}}
{"actor":{"display_login":"yaminikb"}}