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

Publish request fails for quick apps #653

Closed
astsiapanay opened this issue Jan 28, 2025 · 0 comments
Closed

Publish request fails for quick apps #653

astsiapanay opened this issue Jan 28, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@astsiapanay
Copy link
Collaborator

When user tries to publish quick app the following error is thrown in Core:

2025-01-28 12:58:40.087 WARN [vert.x-eventloop-thread-1] [PublicationController] Can't create publicationjava.lang.StringIndexOutOfBoundsException: begin 20, end 19, length 45at java.lang.String.checkBoundsBeginEnd(String.java:4606)at java.lang.String.substring(String.java:2709)at com.epam.aidial.core.server.service.PublicationService.buildTargetFolderForCustomAppFiles(PublicationService.java:394)at com.epam.aidial.core.server.service.PublicationService.lambda$addCustomApplicationRelatedFiles$19(PublicationService.java:419)at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273)at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)at java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)at com.epam.aidial.core.server.service.PublicationService.addCustomApplicationRelatedFiles(PublicationService.java:440)at com.epam.aidial.core.server.service.PublicationService.prepareAndValidatePublicationRequest(PublicationService.java:350)at com.epam.aidial.core.server.service.PublicationService.createPublication(PublicationService.java:153)at com.epam.aidial.core.server.controller.PublicationController.lambda$createPublication$8(PublicationController.java:90)at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$0(ContextImpl.java:178)at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:270)at io.vertx.core.impl.ContextImpl.lambda$internalExecuteBlocking$2(ContextImpl.java:210)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)at java.lang.Thread.run(Thread.java:840) 2025-01-28 12:58:40.087 WARN [vert.x-eventloop-thread-1] [ProxyContext] Responding with error. Project: null. Trace: a632b8632df3b4d620b58f565af91eaf. Span: 66f32aab7ba073ea. Status: INTERNAL_SERVER_ERROR. Body:
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
Status: Done
Development

No branches or pull requests

1 participant