Workflow rule "jetbrains-youtrack-workTimer->Stop timer" threw an exception in project

Hi list,

I just updated from youtrack 4.2.4 to youtrack-5.0. Now if i try to move an issue on agile board from "In Progress" to "Fixed" I get an error message presented:


Workflow rule "jetbrains-youtrack-workTimer->Stop timer" threw an exception in
<<<

My logs show something like this:
ERROR Workflow runtime exception
java.lang.RuntimeException: No localized entry with id 'Stop_timer.The_work_item_automatically_added_by_the_timer'.
java.lang.RuntimeException: No localized entry with id 'Stop_timer.The_work_item_automatically_added_by_the_timer'.
 at jetbrains.mps.internationalization.runtime.Localizer.getDefaultMsg(Localizer.java:72)
 at jetbrains.mps.internationalization.runtime.Localizer.localizedMsg(Localizer.java:56)
 at jetbrains.youtrack.workflow.wrappers.WFLocalizer.getMessage(WFLocalizer.java:22)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
 at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
 at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
 at org.mozilla.javascript.gen.c82._c44(initialscript.js:398)
 at org.mozilla.javascript.gen.c82.call(initialscript.js)
 at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
 at org.mozilla.javascript.gen.c83._c2(jetbrains-youtrack-workTimer->Stop timer:20)
 at org.mozilla.javascript.gen.c83.call(jetbrains-youtrack-workTimer->Stop timer)
 at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
 at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
 at org.mozilla.javascript.gen.c83.call(jetbrains-youtrack-workTimer->Stop timer)
 at org.mozilla.javascript.JavaAdapter.doCall(JavaAdapter.java:578)
 at org.mozilla.javascript.JavaAdapter.callMethod(JavaAdapter.java:553)
 at adapter2.action(<adapter>)
 at jetbrains.youtrack.workflow.model.StatelessRule.handle(StatelessRule.java:45)
 at jetbrains.youtrack.workflow.model.StatelessRule$1.invoke(StatelessRule.java:91)
 at jetbrains.youtrack.workflow.model.RhinoRuleLoader.runInContext(RhinoRuleLoader.java:83)
 at jetbrains.youtrack.workflow.model.StatelessRule.handleBeforeFlush(StatelessRule.java:84)
 at jetbrains.youtrack.workflow.ext.WorkflowIssueListener.beforeFlush(WorkflowIssueListener.java:137)
 at com.jetbrains.teamsys.dnq.database.TransientSessionImpl$4.visit(TransientSessionImpl.java:1039)
 at com.jetbrains.teamsys.dnq.database.TransientEntityStoreImpl.forAllListeners(TransientEntityStoreImpl.java:315)
 at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.notifyBeforeFlushListeners(TransientSessionImpl.java:1036)
 at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.beforeFlush(TransientSessionImpl.java:931)
 at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.flushChanges(TransientSessionImpl.java:722)
 at com.jetbrains.teamsys.dnq.database.TransientSessionImpl.flush(TransientSessionImpl.java:155)
 at jetbrains.youtrack.agile.sprint.rest.VersionSprintSubresource.moveIssue(VersionSprintSubresource.java:522)
 at jetbrains.youtrack.agile.sprint.rest.VersionSprintSubresource.post_IssueIssue(VersionSprintSubresource.java:390)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)


In previous version I could move such issues between these states. Do I miss something? Do I have to update something else in order to get youtrack-5.0 run ?

Any hints are welcome.

Best Regards,
Tilman
2 comments
Comment actions Permalink
It seems that this behaviour occurs if i try to move from in progress to fixed. from fixed to verified works.
Even if i edit the issue and set the state manually to fixed i get an error:

Workflow jetbrains-youtrack-workTimer reports error: No localized entry with id 'Stop_timer.The_work_item_automatically_added_by_the_timer'.

And the state remains "in progress"...
0
Comment actions Permalink
Thank you for the feedback, this is know problem JT-21049 which is included in the upcoming bug fix.
0

Please sign in to leave a comment.