]
Cheng Fang reassigned WFLY-9657:
--------------------------------
Assignee: James Perkins (was: Cheng Fang)
NullPointerException when trying to get all job executions
----------------------------------------------------------
Key: WFLY-9657
URL:
https://issues.jboss.org/browse/WFLY-9657
Project: WildFly
Issue Type: Bug
Components: Batch
Affects Versions: 11.0.0.Final
Reporter: Cheng Fang
Assignee: James Perkins
In jberet-ui, the job executions page by default displays all known job executions in the
batch runtime. When running in WildFly 11, clicking the jberet-ui job executions page
shows no job execution, and in server.log, there is the NPE:
{code:text}
Caused by: java.lang.NullPointerException
at
org.wildfly.extension.batch.jberet.deployment.JobOperatorService.getJobExecutions(JobOperatorService.java:295)
at
org.jberet.operations.DelegatingJobOperator.getJobExecutions(DelegatingJobOperator.java:92)
at org.jberet.rest.service.JobService.getJobExecutions(JobService.java:113)
at
org.jberet.rest.resource.JobExecutionResource.getJobExecutions(JobExecutionResource.java:64)
at
org.jberet.rest.resource.JobExecutionResource$Proxy$_$$_WeldClientProxy.getJobExecutions(Unknown
Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
at
org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:236)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:406)
... 43 more
{code}