Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$import Exit Status on Matrixed Resources results in NPE #2479

Closed
prb112 opened this issue Jun 7, 2021 · 1 comment
Closed

$import Exit Status on Matrixed Resources results in NPE #2479

prb112 opened this issue Jun 7, 2021 · 1 comment
Assignees
Labels
bug Something isn't working bulk-data

Comments

@prb112
Copy link
Contributor

prb112 commented Jun 7, 2021

Describe the bug
$import Exit Status on Matrixed Resources results in NPE

[6/7/21, 16:50:20:919 UTC] com.ibm.ws.batch.JobLogger CWWKY0034I: An exception occurred while running the final portion of the job.
com.ibm.jbatch.container.exception.BatchContainerRuntimeException: java.lang.NullPointerException
at com.ibm.jbatch.container.artifact.proxy.JobListenerProxy.afterJob(JobListenerProxy.java:35)
at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl.jobListenersAfterJob(WorkUnitThreadControllerImpl.java:450)
at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl.endOfWorkUnit(WorkUnitThreadControllerImpl.java:259)
at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl.executeWorkUnit(WorkUnitThreadControllerImpl.java:210)
at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl$AbstractControllerHelper.runExecutionOnThread(WorkUnitThreadControllerImpl.java:503)
at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl.runExecutionOnThread(WorkUnitThreadControllerImpl.java:92)
at com.ibm.jbatch.container.util.BatchWorkUnit.run(BatchWorkUnit.java:113)
at com.ibm.ws.context.service.serializable.ContextualRunnable.run(ContextualRunnable.java:79)
at com.ibm.ws.threading.internal.ExecutorServiceImpl$RunnableWrapper.run(ExecutorServiceImpl.java:238)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:836)
Caused by: java.lang.NullPointerException
at com.ibm.fhir.bulkdata.jbatch.load.listener.ExitStatus.generateResultExitStatus(ExitStatus.java:65)
at com.ibm.fhir.bulkdata.jbatch.load.ImportJobListener.afterJob(ImportJobListener.java:88)
at com.ibm.jbatch.container.artifact.proxy.JobListenerProxy.afterJob(JobListenerProxy.java:33)
... 13 more

Environment
Which version of IBM FHIR Server?

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

@prb112 prb112 added the bug Something isn't working label Jun 7, 2021
@prb112 prb112 added this to the Sprint 2021-08 milestone Jun 7, 2021
@prb112 prb112 self-assigned this Jun 7, 2021
prb112 added a commit that referenced this issue Jun 7, 2021
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
@d0roppe
Copy link
Collaborator

d0roppe commented Jun 22, 2021

Verified the issue with the _seg0, 1, and 2 on a file in the main bucket and also in a folder. works fine.

@d0roppe d0roppe closed this as completed Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bulk-data
Projects
None yet
Development

No branches or pull requests

2 participants