Unable to comple content creation workflow #817
Replies: 4 comments 4 replies
-
|
As suggested by Jerald's team, I double checked the existence of 'content-plugins/org.ekstep.navigation-1.0/renderer/controller/navigation_ctrl.js' file in the OCI object storage as below: Please advise. |
Beta Was this translation helpful? Give feedback.
-
|
upgraded to v7.7.0 and I am now more specific error as below: so what are the supported storage types? |
Beta Was this translation helpful? Give feedback.
-
|
this is what I am using: |
Beta Was this translation helpful? Give feedback.
-
|
ok using oci fixed the issue, but some other issue popped up.
Closing this ticket and will create other specific content issue tickets separately |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Here is the sequence of performing this workflow to create a Content:
Upon check content job task manager, here is the log:
2025-08-29 07:10:51,513 ERROR org.sunbird.job.content.publish.helpers.CollectionPublisher [] - CollectionPublisher:: generateTOC:: Error while uploading file java.util.NoSuchElementException: None.get at scala.None$.get(Option.scala:529) ~[asset-enrichment-1.0.0.jar:?] at scala.None$.get(Option.scala:527) ~[asset-enrichment-1.0.0.jar:?] at org.sunbird.cloud.storage.service.OCIS3StorageService.<init>(OCIS3StorageService.scala:20) ~[asset-enrichment-1.0.0.jar:?] at org.sunbird.cloud.storage.factory.StorageServiceFactory$.getStorageService(StorageServiceFactory.scala:27) ~[asset-enrichment-1.0.0.jar:?] at org.sunbird.job.util.CloudStorageUtil.getService(CloudStorageUtil.scala:24) ~[asset-enrichment-1.0.0.jar:?] at org.sunbird.job.util.CloudStorageUtil.uploadFile(CloudStorageUtil.scala:39) ~[asset-enrichment-1.0.0.jar:?] at org.sunbird.job.content.publish.helpers.CollectionPublisher.generateTOC(CollectionPublisher.scala:431) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.publish.helpers.CollectionPublisher.generateTOC$(CollectionPublisher.scala:423) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.function.CollectionPublishFunction.generateTOC(CollectionPublishFunction.scala:27) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.publish.helpers.CollectionPublisher.enrichCollection(CollectionPublisher.scala:347) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.publish.helpers.CollectionPublisher.enrichCollection$(CollectionPublisher.scala:323) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.function.CollectionPublishFunction.enrichCollection(CollectionPublishFunction.scala:27) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.publish.helpers.CollectionPublisher.processCollection(CollectionPublisher.scala:273) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.publish.helpers.CollectionPublisher.getObjectWithEcar(CollectionPublisher.scala:145) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.publish.helpers.CollectionPublisher.getObjectWithEcar$(CollectionPublisher.scala:140) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.function.CollectionPublishFunction.getObjectWithEcar(CollectionPublishFunction.scala:27) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.function.CollectionPublishFunction.processElement(CollectionPublishFunction.scala:107) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.function.CollectionPublishFunction.processElement(CollectionPublishFunction.scala:27) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.BaseProcessFunction.processElement(BaseProcessFunction.scala:49) ~[asset-enrichment-1.0.0.jar:?] at org.apache.flink.streaming.api.operators.ProcessOperator.processElement(ProcessOperator.java:66) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.pushToOperator(CopyingChainingOutput.java:71) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:57) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.BroadcastingOutputCollector.collect(BroadcastingOutputCollector.java:82) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:56) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.api.operators.ProcessOperator$ContextImpl.output(ProcessOperator.java:103) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.sunbird.job.content.function.PublishEventRouter.processElement(PublishEventRouter.scala:43) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.function.PublishEventRouter.processElement(PublishEventRouter.scala:13) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.BaseProcessFunction.processElement(BaseProcessFunction.scala:49) ~[asset-enrichment-1.0.0.jar:?] at org.apache.flink.streaming.api.operators.ProcessOperator.processElement(ProcessOperator.java:66) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask$StreamTaskNetworkOutput.emitRecord(OneInputStreamTask.java:205) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.io.AbstractStreamTaskNetworkInput.processElement(AbstractStreamTaskNetworkInput.java:134) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.io.AbstractStreamTaskNetworkInput.emitNext(AbstractStreamTaskNetworkInput.java:105) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:66) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:423) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:204) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:684) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.StreamTask.executeInvoke(StreamTask.java:639) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.StreamTask.runWithCleanUpOnFail(StreamTask.java:650) [flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:623) [flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:779) [flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.runtime.taskmanager.Task.run(Task.java:566) [flink-dist_2.12-1.13.6.jar:1.13.6] at java.lang.Thread.run(Unknown Source) [?:?] 2025-08-29 07:10:51,517 INFO org.sunbird.job.content.publish.helpers.CollectionPublisher [] - CollectionPublisher:: generateTOC:: Deleting Uploaded files org.sunbird.job.exception.InvalidInputException: CollectionPublisher:: generateTOC:: Error while uploading file at org.sunbird.job.content.publish.helpers.CollectionPublisher.generateTOC(CollectionPublisher.scala:441) at org.sunbird.job.content.publish.helpers.CollectionPublisher.generateTOC$(CollectionPublisher.scala:423) at org.sunbird.job.content.function.CollectionPublishFunction.generateTOC(CollectionPublishFunction.scala:27) at org.sunbird.job.content.publish.helpers.CollectionPublisher.enrichCollection(CollectionPublisher.scala:347) at org.sunbird.job.content.publish.helpers.CollectionPublisher.enrichCollection$(CollectionPublisher.scala:323) at org.sunbird.job.content.function.CollectionPublishFunction.enrichCollection(CollectionPublishFunction.scala:27) at org.sunbird.job.content.publish.helpers.CollectionPublisher.processCollection(CollectionPublisher.scala:273) at org.sunbird.job.content.publish.helpers.CollectionPublisher.getObjectWithEcar(CollectionPublisher.scala:145) at org.sunbird.job.content.publish.helpers.CollectionPublisher.getObjectWithEcar$(CollectionPublisher.scala:140) at org.sunbird.job.content.function.CollectionPublishFunction.getObjectWithEcar(CollectionPublishFunction.scala:27) at org.sunbird.job.content.function.CollectionPublishFunction.processElement(CollectionPublishFunction.scala:107) at org.sunbird.job.content.function.CollectionPublishFunction.processElement(CollectionPublishFunction.scala:27) at org.sunbird.job.BaseProcessFunction.processElement(BaseProcessFunction.scala:49) at org.apache.flink.streaming.api.operators.ProcessOperator.processElement(ProcessOperator.java:66) at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.pushToOperator(CopyingChainingOutput.java:71) at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:57) at org.apache.flink.streaming.runtime.tasks.BroadcastingOutputCollector.collect(BroadcastingOutputCollector.java:82) at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:56) at org.apache.flink.streaming.api.operators.ProcessOperator$ContextImpl.output(ProcessOperator.java:103) at org.sunbird.job.content.function.PublishEventRouter.processElement(PublishEventRouter.scala:43) at org.sunbird.job.content.function.PublishEventRouter.processElement(PublishEventRouter.scala:13) at org.sunbird.job.BaseProcessFunction.processElement(BaseProcessFunction.scala:49) at org.apache.flink.streaming.api.operators.ProcessOperator.processElement(ProcessOperator.java:66) at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask$StreamTaskNetworkOutput.emitRecord(OneInputStreamTask.java:205) at org.apache.flink.streaming.runtime.io.AbstractStreamTaskNetworkInput.processElement(AbstractStreamTaskNetworkInput.java:134) at org.apache.flink.streaming.runtime.io.AbstractStreamTaskNetworkInput.emitNext(AbstractStreamTaskNetworkInput.java:105) at org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:66) at org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:423) at org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:204) at org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:684) at org.apache.flink.streaming.runtime.tasks.StreamTask.executeInvoke(StreamTask.java:639) at org.apache.flink.streaming.runtime.tasks.StreamTask.runWithCleanUpOnFail(StreamTask.java:650) at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:623) at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:779) at org.apache.flink.runtime.taskmanager.Task.run(Task.java:566) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.util.NoSuchElementException: None.get at scala.None$.get(Option.scala:529) at scala.None$.get(Option.scala:527) at org.sunbird.cloud.storage.service.OCIS3StorageService.<init>(OCIS3StorageService.scala:20) at org.sunbird.cloud.storage.factory.StorageServiceFactory$.getStorageService(StorageServiceFactory.scala:27) at org.sunbird.job.util.CloudStorageUtil.getService(CloudStorageUtil.scala:24) at org.sunbird.job.util.CloudStorageUtil.uploadFile(CloudStorageUtil.scala:39) at org.sunbird.job.content.publish.helpers.CollectionPublisher.generateTOC(CollectionPublisher.scala:431) ... 35 more 2025-08-29 07:10:51,523 INFO org.sunbird.job.publish.helpers.ObjectUpdater [] - ObjectUpdater:: saveOnFailure:: Query: MATCH (n:domain{IL_UNIQUE_ID:"do_214388849672650752113"}) SET n.status="Failed", n.pkgVersion=1.0, n.publishError="CollectionPublisher:: generateTOC:: Error while uploading file", n.lastUpdatedOn="2025-08-29T07:10:51.523+0000",n.lastStatusChangedOn="2025-08-29T07:10:51.523+0000"; 2025-08-29 07:10:51,524 INFO org.sunbird.job.util.CSPMetaUtil [] - CSPMetaUtil ::: updateRelativePath ::: query before url replace :: MATCH (n:domain{IL_UNIQUE_ID:"do_214388849672650752113"}) SET n.status="Failed", n.pkgVersion=1.0, n.publishError="CollectionPublisher:: generateTOC:: Error while uploading file", n.lastUpdatedOn="2025-08-29T07:10:51.523+0000",n.lastStatusChangedOn="2025-08-29T07:10:51.523+0000"; 2025-08-29 07:10:51,524 INFO org.sunbird.job.util.CSPMetaUtil [] - CSPMetaUtil ::: updateRelativePath ::: query after url replace :: MATCH (n:domain{IL_UNIQUE_ID:"do_214388849672650752113"}) SET n.status="Failed", n.pkgVersion=1.0, n.publishError="CollectionPublisher:: generateTOC:: Error while uploading file", n.lastUpdatedOn="2025-08-29T07:10:51.523+0000",n.lastStatusChangedOn="2025-08-29T07:10:51.523+0000"; 2025-08-29 07:10:51,623 ERROR org.sunbird.job.content.function.CollectionPublishFunction [] - CollectionPublishFunction::Error while publishing collection :: 0 and Offset: 2. Error : CollectionPublisher:: generateTOC:: Error while uploading file org.sunbird.job.exception.InvalidInputException: CollectionPublisher:: generateTOC:: Error while uploading file at org.sunbird.job.content.publish.helpers.CollectionPublisher.generateTOC(CollectionPublisher.scala:441) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.publish.helpers.CollectionPublisher.generateTOC$(CollectionPublisher.scala:423) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.function.CollectionPublishFunction.generateTOC(CollectionPublishFunction.scala:27) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.publish.helpers.CollectionPublisher.enrichCollection(CollectionPublisher.scala:347) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.publish.helpers.CollectionPublisher.enrichCollection$(CollectionPublisher.scala:323) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.function.CollectionPublishFunction.enrichCollection(CollectionPublishFunction.scala:27) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.publish.helpers.CollectionPublisher.processCollection(CollectionPublisher.scala:273) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.publish.helpers.CollectionPublisher.getObjectWithEcar(CollectionPublisher.scala:145) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.publish.helpers.CollectionPublisher.getObjectWithEcar$(CollectionPublisher.scala:140) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.function.CollectionPublishFunction.getObjectWithEcar(CollectionPublishFunction.scala:27) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.function.CollectionPublishFunction.processElement(CollectionPublishFunction.scala:107) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.function.CollectionPublishFunction.processElement(CollectionPublishFunction.scala:27) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.BaseProcessFunction.processElement(BaseProcessFunction.scala:49) ~[asset-enrichment-1.0.0.jar:?] at org.apache.flink.streaming.api.operators.ProcessOperator.processElement(ProcessOperator.java:66) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.pushToOperator(CopyingChainingOutput.java:71) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:57) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.BroadcastingOutputCollector.collect(BroadcastingOutputCollector.java:82) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:56) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.api.operators.ProcessOperator$ContextImpl.output(ProcessOperator.java:103) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.sunbird.job.content.function.PublishEventRouter.processElement(PublishEventRouter.scala:43) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.content.function.PublishEventRouter.processElement(PublishEventRouter.scala:13) ~[content-publish-1.0.0.jar:?] at org.sunbird.job.BaseProcessFunction.processElement(BaseProcessFunction.scala:49) ~[asset-enrichment-1.0.0.jar:?] at org.apache.flink.streaming.api.operators.ProcessOperator.processElement(ProcessOperator.java:66) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask$StreamTaskNetworkOutput.emitRecord(OneInputStreamTask.java:205) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.io.AbstractStreamTaskNetworkInput.processElement(AbstractStreamTaskNetworkInput.java:134) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.io.AbstractStreamTaskNetworkInput.emitNext(AbstractStreamTaskNetworkInput.java:105) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:66) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:423) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:204) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:684) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.StreamTask.executeInvoke(StreamTask.java:639) ~[flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.StreamTask.runWithCleanUpOnFail(StreamTask.java:650) [flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:623) [flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:779) [flink-dist_2.12-1.13.6.jar:1.13.6] at org.apache.flink.runtime.taskmanager.Task.run(Task.java:566) [flink-dist_2.12-1.13.6.jar:1.13.6] at java.lang.Thread.run(Unknown Source) [?:?] Caused by: java.util.NoSuchElementException: None.get at scala.None$.get(Option.scala:529) ~[asset-enrichment-1.0.0.jar:?] at scala.None$.get(Option.scala:527) ~[asset-enrichment-1.0.0.jar:?] at org.sunbird.cloud.storage.service.OCIS3StorageService.<init>(OCIS3StorageService.scala:20) ~[asset-enrichment-1.0.0.jar:?] at org.sunbird.cloud.storage.factory.StorageServiceFactory$.getStorageService(StorageServiceFactory.scala:27) ~[asset-enrichment-1.0.0.jar:?] at org.sunbird.job.util.CloudStorageUtil.getService(CloudStorageUtil.scala:24) ~[asset-enrichment-1.0.0.jar:?] at org.sunbird.job.util.CloudStorageUtil.uploadFile(CloudStorageUtil.scala:39) ~[asset-enrichment-1.0.0.jar:?] at org.sunbird.job.content.publish.helpers.CollectionPublisher.generateTOC(CollectionPublisher.scala:431) ~[content-publish-1.0.0.jar:?] ... 35 moreBeta Was this translation helpful? Give feedback.
All reactions