Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9657

NullPointerException when trying to get all job executions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 14.0.0.Beta2
    • 11.0.0.Final
    • Batch
    • None

      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:

      Unable to find source-code formatter for language: text. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      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
      

              rhn-cservice-bbaranow Bartosz Baranowski
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: