{"action":"created","issue":{"url":"https://api.github.com/repos/payara/Payara/issues/814","repository_url":"https://api.github.com/repos/payara/Payara","labels_url":"https://api.github.com/repos/payara/Payara/issues/814/labels{/name}","comments_url":"https://api.github.com/repos/payara/Payara/issues/814/comments","events_url":"https://api.github.com/repos/payara/Payara/issues/814/events","html_url":"https://github.com/payara/Payara/issues/814","id":154697645,"number":814,"title":"Payara 4.1.1.162 NullPointer Batch job execution on Cluster setup only","user":{"login":"figolino","id":10230350,"avatar_url":"https://avatars.githubusercontent.com/u/10230350?v=3","gravatar_id":"","url":"https://api.github.com/users/figolino","html_url":"https://github.com/figolino","followers_url":"https://api.github.com/users/figolino/followers","following_url":"https://api.github.com/users/figolino/following{/other_user}","gists_url":"https://api.github.com/users/figolino/gists{/gist_id}","starred_url":"https://api.github.com/users/figolino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/figolino/subscriptions","organizations_url":"https://api.github.com/users/figolino/orgs","repos_url":"https://api.github.com/users/figolino/repos","events_url":"https://api.github.com/users/figolino/events{/privacy}","received_events_url":"https://api.github.com/users/figolino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-13T12:10:49Z","updated_at":"2016-05-13T12:45:40Z","closed_at":null,"body":"Hi with the new version of payara 162 on cluster setup only we have a nullPointer when we try to start a batch job.\r\n\r\nfor detail see stack trace:\r\n\r\n2016-05-13T11:40:32.787+0000] [Payara 4.1] [WARNING] [] [javax.enterprise.web] [tid: _ThreadID=33 _ThreadName=http-listener-1(4)] [timeMillis: 1463139632787] [levelValue: 900] [[\r\n  StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception\r\njava.lang.NullPointerException\r\n        at fish.payara.jbatch.persistence.rdbms.LazyBootPersistenceManager.jobOperatorGetJobInstanceIds(LazyBootPersistenceManager.java:79)\r\n        at com.ibm.jbatch.container.api.impl.JobOperatorImpl.getJobInstances(JobOperatorImpl.java:249)\r\n        at ch.incamail.batch.RemoteJobOperatorImpl.getJobInstances(RemoteJobOperatorImpl.java:33)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:483)\r\n        at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)\r\n        at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)\r\n        at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4789)\r\n        at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)\r\n        at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)\r\n        at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)\r\n        at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)\r\n        at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)\r\n        at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:483)\r\n"},"comment":{"url":"https://api.github.com/repos/payara/Payara/issues/comments/219032682","html_url":"https://github.com/payara/Payara/issues/814#issuecomment-219032682","issue_url":"https://api.github.com/repos/payara/Payara/issues/814","id":219032682,"user":{"login":"smillidge","id":939073,"avatar_url":"https://avatars.githubusercontent.com/u/939073?v=3","gravatar_id":"","url":"https://api.github.com/users/smillidge","html_url":"https://github.com/smillidge","followers_url":"https://api.github.com/users/smillidge/followers","following_url":"https://api.github.com/users/smillidge/following{/other_user}","gists_url":"https://api.github.com/users/smillidge/gists{/gist_id}","starred_url":"https://api.github.com/users/smillidge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smillidge/subscriptions","organizations_url":"https://api.github.com/users/smillidge/orgs","repos_url":"https://api.github.com/users/smillidge/repos","events_url":"https://api.github.com/users/smillidge/events{/privacy}","received_events_url":"https://api.github.com/users/smillidge/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T12:45:40Z","updated_at":"2016-05-13T12:45:40Z","body":"you will need to target the datasource to the cluster name. "}}