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

CA - Feed is failing. Throws execptions in production #3362

Closed
RickHawesUSDS opened this issue Dec 8, 2021 · 0 comments
Closed

CA - Feed is failing. Throws execptions in production #3362

RickHawesUSDS opened this issue Dec 8, 2021 · 0 comments
Assignees
Labels
bug Issue Type label to flag an issue that is a bug High Priority Issue State label to flag an issue that is a high priority onboarding-ops Work related to onboarding with a partner. Addressed by the Onboarding & Operations team in RS. receiver Analytics label to flag work related to State/Receiver/STLT features

Comments

@RickHawesUSDS
Copy link
Contributor

Describe the bug
The CA feed is throwing exceptions in production.

Impact
CA is not getting their reports.

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.

Screenshots
If applicable, add screenshots to help explain your problem.

Logs
If applicable, please attach logs to help describe your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Result: Batch function exception for event: receiver&BATCH&ca-dph.elr-secondary&2021-12-08T11:21:00-05:00
Exception: originState must not be null
Stack: java.lang.NullPointerException: originState must not be null
	at gov.cdc.prime.router.serializers.Hl7Serializer.buildMessage$prime_router(Hl7Serializer.kt:583)
	at gov.cdc.prime.router.serializers.Hl7Serializer.createMessage$prime_router(Hl7Serializer.kt:396)
	at gov.cdc.prime.router.serializers.Hl7Serializer.writeBatch(Hl7Serializer.kt:97)
	at gov.cdc.prime.router.azure.BlobAccess.createBodyBytes(BlobAccess.kt:106)
	at gov.cdc.prime.router.azure.BlobAccess.uploadBody(BlobAccess.kt:71)
	at gov.cdc.prime.router.azure.WorkflowEngine.dispatchReport(WorkflowEngine.kt:130)
	at gov.cdc.prime.router.azure.BatchFunction$run$1.invoke(BatchFunction.kt:65)
	at gov.cdc.prime.router.azure.BatchFunction$run$1.invoke(BatchFunction.kt:40)
	at gov.cdc.prime.router.azure.WorkflowEngine$handleReceiverEvent$1.invoke(WorkflowEngine.kt:524)
	at gov.cdc.prime.router.azure.WorkflowEngine$handleReceiverEvent$1.invoke(WorkflowEngine.kt:491)
	at gov.cdc.prime.router.azure.DatabaseAccess.transact$lambda-0(DatabaseAccess.kt:73)
	at org.jooq.impl.DefaultDSLContext.lambda$transaction$5(DefaultDSLContext.java:611)
	at org.jooq.impl.DefaultDSLContext.lambda$transactionResult0$3(DefaultDSLContext.java:549)
	at org.jooq.impl.Tools$4$1.block(Tools.java:5243)
	at java.base/java.util.concurrent.ForkJoinPool.managedBlock(Unknown Source)
	at org.jooq.impl.Tools$4.get(Tools.java:5240)
	at org.jooq.impl.DefaultDSLContext.transactionResult0(DefaultDSLContext.java:597)
	at org.jooq.impl.DefaultDSLContext.transactionResult(DefaultDSLContext.java:521)
	at org.jooq.impl.DefaultDSLContext.transaction(DefaultDSLContext.java:610)
	at gov.cdc.prime.router.azure.DatabaseAccess.transact(DatabaseAccess.kt:73)
	at gov.cdc.prime.router.azure.WorkflowEngine.handleReceiverEvent(WorkflowEngine.kt:491)
	at gov.cdc.prime.router.azure.BatchFunction.run(BatchFunction.kt:40)
	at jdk.internal.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at com.microsoft.azure.functions.worker.broker.JavaMethodInvokeInfo.invoke(JavaMethodInvokeInfo.java:22)
	at com.microsoft.azure.functions.worker.broker.EnhancedJavaMethodExecutorImpl.execute(EnhancedJavaMethodExecutorImpl.java:55)
	at com.microsoft.azure.functions.worker.broker.JavaFunctionBroker.invokeMethod(JavaFunctionBroker.java:57)
	at com.microsoft.azure.functions.worker.handler.InvocationRequestHandler.execute(InvocationRequestHandler.java:33)
	at com.microsoft.azure.functions.worker.handler.InvocationRequestHandler.execute(InvocationRequestHandler.java:10)
	at com.microsoft.azure.functions.worker.handler.MessageHandler.handle(MessageHandler.java:45)
	at com.microsoft.azure.functions.worker.JavaWorkerClient$StreamingMessagePeer.lambda$onNext$0(JavaWorkerClient.java:92)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
@RickHawesUSDS RickHawesUSDS added bug Issue Type label to flag an issue that is a bug onboarding-ops Work related to onboarding with a partner. Addressed by the Onboarding & Operations team in RS. High Priority Issue State label to flag an issue that is a high priority labels Dec 8, 2021
@anshulkumar-usds anshulkumar-usds added the receiver Analytics label to flag work related to State/Receiver/STLT features label Dec 8, 2021
@anshulkumar-usds anshulkumar-usds changed the title CA Feed is failing. Throws execptions in production CA - Feed is failing. Throws execptions in production Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue Type label to flag an issue that is a bug High Priority Issue State label to flag an issue that is a high priority onboarding-ops Work related to onboarding with a partner. Addressed by the Onboarding & Operations team in RS. receiver Analytics label to flag work related to State/Receiver/STLT features
Projects
None yet
Development

No branches or pull requests

4 participants