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

Fix error on nihms deposit update message #905

Closed
rpoet-jh opened this issue Feb 15, 2024 · 0 comments · Fixed by eclipse-pass/pass-support#89
Closed

Fix error on nihms deposit update message #905

rpoet-jh opened this issue Feb 15, 2024 · 0 comments · Fixed by eclipse-pass/pass-support#89
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rpoet-jh
Copy link
Contributor

When a nihms deposit is made, when the deposit updated, it produces a message and the following error is thrown:

org.eclipse.pass.deposit.DepositServiceRuntimeException: Failed to update deposit status for [247113], parsing the status document referenced by nihms-package:nihms-native-2022-05_2024-02-15_19-02-52_247108 failed: Cannot invoke "org.eclipse.pass.deposit.config.repository.RepositoryDepositConfig.getDepositProcessing()" because the return value of "org.eclipse.pass.deposit.config.repository.RepositoryConfig.getRepositoryDepositConfig()" is null
    at org.eclipse.pass.deposit.service.DepositTaskHelper$DepositStatusCriFunc.lambda$critical$3(DepositTaskHelper.java:281)
    at org.eclipse.pass.deposit.cri.CriticalPath.performCritical(CriticalPath.java:178)
    at org.eclipse.pass.deposit.cri.CriticalRepositoryInteraction.performCritical(CriticalRepositoryInteraction.java:146)
    at org.eclipse.pass.deposit.service.DepositTaskHelper.processDepositStatus(DepositTaskHelper.java:151)
    at org.eclipse.pass.deposit.service.DepositProcessor.accept(DepositProcessor.java:73)
    at org.eclipse.pass.deposit.service.DepositListener.processDepositMessage(DepositListener.java:45)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:169)
    at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:119)
    at org.springframework.jms.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:110)
    at org.springframework.jms.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:84)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:783)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:741)
    at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:719)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:333)
    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:270)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1258)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1248)
    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:1141)
    at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException: Cannot invoke "org.eclipse.pass.deposit.config.repository.RepositoryDepositConfig.getDepositProcessing()" because the return value of "org.eclipse.pass.deposit.config.repository.RepositoryConfig.getRepositoryDepositConfig()" is null
    at org.eclipse.pass.deposit.service.DepositTaskHelper$DepositStatusCriFunc.lambda$critical$3(DepositTaskHelper.java:273)
    ... 22 common frames omitted
@rpoet-jh rpoet-jh converted this from a draft issue Feb 15, 2024
@rpoet-jh rpoet-jh added the bug Something isn't working label Feb 15, 2024
@rpoet-jh rpoet-jh added this to the 1.4.0 milestone Feb 15, 2024
@rpoet-jh rpoet-jh changed the title Fix error on deposit update message Fix error on nihms deposit update message Feb 15, 2024
@rpoet-jh rpoet-jh self-assigned this Feb 16, 2024
@rpoet-jh rpoet-jh moved this from Backlog to In Progress in Eclipse PASS Feb 16, 2024
@rpoet-jh rpoet-jh moved this from In Progress to Peer Review/QA in Eclipse PASS Feb 19, 2024
@rpoet-jh rpoet-jh linked a pull request Feb 20, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from Peer Review/QA to Done in Eclipse PASS Feb 21, 2024
@rpoet-jh rpoet-jh moved this from Done to Deployed in Eclipse PASS Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant