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

Arisa fails to transition WEB tickets #661

Open
violine1101 opened this issue May 17, 2021 · 1 comment
Open

Arisa fails to transition WEB tickets #661

violine1101 opened this issue May 17, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@violine1101
Copy link
Member

violine1101 commented May 17, 2021

The Bug

Most likely because components have been added, UPDATE fails for WEB tickets now.

Example:

22:41:26.415 [main] ERROR Arisa - [UPDATE] [TO WEB-4401] [BY WEB-4436] Failed
net.rcarz.jiraclient.JiraException: Failed to transition issue WEB-4401
        at net.rcarz.jiraclient.Issue$FluentTransition.realExecute(Issue.java:484)
        at net.rcarz.jiraclient.Issue$FluentTransition.execute(Issue.java:518)
        at io.github.mojira.arisa.infrastructure.jira.FunctionsKt$applyFluentTransition$1$1.invokeSuspend(Functions.kt:241)
        at io.github.mojira.arisa.infrastructure.jira.FunctionsKt$applyFluentTransition$1$1.invoke(Functions.kt)
        at arrow.core.Either$Companion.catch(Either.kt:862)
        at arrow.core.Either$Companion.catch(Either.kt:858)
        at io.github.mojira.arisa.infrastructure.jira.FunctionsKt$applyFluentTransition$1.invokeSuspend(Functions.kt:240)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
        at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:271)
        at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:79)
        at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:54)
        at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
        at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:36)
        at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
        at io.github.mojira.arisa.infrastructure.jira.FunctionsKt.applyFluentTransition(Functions.kt:239)
        at io.github.mojira.arisa.infrastructure.jira.FunctionsKt.access$applyFluentTransition(Functions.kt:1)
        at io.github.mojira.arisa.infrastructure.jira.FunctionsKt$applyIssueChanges$2.invoke(Functions.kt:210)
        at io.github.mojira.arisa.infrastructure.jira.FunctionsKt$applyIssueChanges$2.invoke(Functions.kt)
        at arrow.syntax.function.PartialsKt$partially1$2.invoke(partials.kt:773)
        at arrow.syntax.function.PartialsKt$partially1$1.invoke(partials.kt:771)
        at io.github.mojira.arisa.modules.HelpersKt.tryRunAll(Helpers.kt:84)
        at io.github.mojira.arisa.infrastructure.jira.FunctionsKt.applyIssueChanges(Functions.kt:219)
        at io.github.mojira.arisa.infrastructure.IssueUpdateContextCache.applyChanges(IssueUpdateContextCache.kt:33)
        at io.github.mojira.arisa.ModuleExecutor.executeModule(ModuleExecutor.kt:102)
        at io.github.mojira.arisa.ModuleExecutor.execute(ModuleExecutor.kt:43)
        at io.github.mojira.arisa.ArisaMainKt.main(ArisaMain.kt:75)
        at io.github.mojira.arisa.ArisaMainKt.main(ArisaMain.kt)
Caused by: net.rcarz.jiraclient.RestException: 400 : {"errorMessages":[],"errors":{"components":"Component/s is required."}}
        at net.rcarz.jiraclient.RestClient.request(RestClient.java:171)
        at net.rcarz.jiraclient.RestClient.request(RestClient.java:193)
        at net.rcarz.jiraclient.RestClient.request(RestClient.java:238)
        at net.rcarz.jiraclient.RestClient.post(RestClient.java:328)
        at net.rcarz.jiraclient.RestClient.post(RestClient.java:372)
        at net.rcarz.jiraclient.Issue$FluentTransition.realExecute(Issue.java:482)
        ... 27 common frames omitted
@violine1101 violine1101 added the bug Something isn't working label May 17, 2021
@violine1101
Copy link
Member Author

Only appears to happen on old tickets that don't have Component set.

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
None yet
Development

No branches or pull requests

1 participant