Unable to edit a scheduled issue after upgrade

Issue #120 closed
Scott Twitchell created an issue

We recently upgraded from JIRA 6.4.6 to 7.0.10 and Scheduler to 4.0.6. When we try to edit a scheduled issue we get the below error in the logs. If I click Edit on an issue, the first step appears to work, but after clicking Next, we get the error and the screen shot for the second step is attatched.

2016-02-09 09:08:07,569 http-nio-8080-exec-13 WARN sktwitch 548x1107x1 10d81jc 137.146.209.33 /projects/SCHDISS [c.atlassian.ozymandias.SafePluginPointAccess] A LinkageError indicates that plugin code was compiled with outdated versions. Unable to run plugin code because of 'java.lang.NoSuchMethodError - com.atlassian.jira.project.browse.BrowseContext.getUser()Lcom/atlassian/crowd/embedded/api/User;'. 2016-02-09 09:08:07,632 http-nio-8080-exec-13 WARN sktwitch 548x1107x1 10d81jc 137.146.209.33 /projects/SCHDISS [c.atlassian.ozymandias.SafePluginPointAccess] A LinkageError indicates that plugin code was compiled with outdated versions. Unable to run plugin code because of 'java.lang.NoSuchMethodError - com.atlassian.jira.project.browse.BrowseContext.getUser()Lcom/atlassian/crowd/embedded/api/User;'. 2016-02-09 09:08:07,632 http-nio-8080-exec-13 WARN sktwitch 548x1107x1 10d81jc 137.146.209.33 /projects/SCHDISS [c.atlassian.ozymandias.SafePluginPointAccess] A LinkageError indicates that plugin code was compiled with outdated versions. Unable to run plugin code because of 'java.lang.NoSuchMethodError - com.atlassian.jira.project.browse.BrowseContext.getUser()Lcom/atlassian/crowd/embedded/api/User;'. 2016-02-09 09:08:07,632 http-nio-8080-exec-13 WARN sktwitch 548x1107x1 10d81jc 137.146.209.33 /projects/SCHDISS [c.atlassian.ozymandias.SafePluginPointAccess] A LinkageError indicates that plugin code was compiled with outdated versions. Unable to run plugin code because of 'java.lang.NoSuchMethodError - com.atlassian.jira.project.browse.BrowseContext.getUser()Lcom/atlassian/crowd/embedded/api/User;'. 2016-02-09 09:08:08,460 http-nio-8080-exec-24 WARN sktwitch 548x1109x1 10d81jc 137.146.209.33 /rest/projects/1.0/project/SCHDISS/lastVisited [c.atlassian.ozymandias.SafePluginPointAccess] A LinkageError indicates that plugin code was compiled with outdated versions. Unable to run plugin code because of 'java.lang.NoSuchMethodError - com.atlassian.jira.project.browse.BrowseContext.getUser()Lcom/atlassian/crowd/embedded/api/User;'. 2016-02-09 09:08:08,460 http-nio-8080-exec-24 WARN sktwitch 548x1109x1 10d81jc 137.146.209.33 /rest/projects/1.0/project/SCHDISS/lastVisited [c.atlassian.ozymandias.SafePluginPointAccess] A LinkageError indicates that plugin code was compiled with outdated versions. Unable to run plugin code because of 'java.lang.NoSuchMethodError - com.atlassian.jira.project.browse.BrowseContext.getUser()Lcom/atlassian/crowd/embedded/api/User;'. 2016-02-09 09:08:30,695 http-nio-8080-exec-7 ERROR sktwitch 548x1119x1 10d81jc 137.146.209.33 /secure/pl.com.tt.thescheduler.EditScheduledIssue_Step2!default.jspa [webwork.util.ValueStack] query="issueFields" {[id="issueFields" type="8" values=""]} java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.util.ValueStack.findValue(ValueStack.java:417) at webwork.util.ValueStack.findValue(ValueStack.java:216) at webwork.view.velocity.VelocityHelper$WebWorkVelocityContext.getValueFromStack(VelocityHelper.java:247) at webwork.view.velocity.VelocityHelper$WebWorkVelocityContext.internalGet(VelocityHelper.java:237) at org.apache.velocity.context.AbstractContext.get(AbstractContext.java:193) at org.apache.velocity.context.InternalContextAdapterImpl.get(InternalContextAdapterImpl.java:286) at org.apache.velocity.runtime.parser.node.ASTReference.getVariableValue(ASTReference.java:843) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:222) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:282) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBodyImpl(DefaultVelocityManager.java:117) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBody(DefaultVelocityManager.java:97) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.toWriterImpl(DefaultVelocityTemplatingEngine.java:122) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml(DefaultVelocityTemplatingEngine.java:113) ... 4 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 50 filtered at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:59) ... 151 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: No enum constant pl.com.tt.thescheduler.fields.DueDateFieldWrapper.DueDateValue.DueDateType.NEXT_FIRE_TIME at java.lang.Enum.valueOf(Enum.java:238) at pl.com.tt.thescheduler.fields.DueDateFieldWrapper$DueDateValue$DueDateType.valueOf(DueDateFieldWrapper.java:307) at pl.com.tt.thescheduler.fields.DueDateFieldWrapper.populateFromParams(DueDateFieldWrapper.java:73) at pl.com.tt.thescheduler.actions.EditScheduledIssue_Step2.getIssueFields(EditScheduledIssue_Step2.java:265) at pl.com.tt.thescheduler.actions.EditScheduledIssue_Step2.getIssueFields(EditScheduledIssue_Step2.java:182)

Comments (4)

  1. Ziniewicz Maciej

    We received your notification and we fixed it. The fix to your issue will appear in the next The Scheduler version, we will notify you when we release it.

  2. Ziniewicz Maciej

    Hello Scott,

    Last Friday we have released new version of The Scheduler Plugin for Jira 7.x. This version should fix your problem with editing SI after upgrade. New TSP is published on Atlassian Marketplace, so you can do an update by perform "Update" button on add-ons page.

    You can also download it from here: https://marketplace.atlassian.com/plugins/pl.com.tt.jira.plugin.theschedulerpro/versions

    We would appreciate your feedback on the new version.

    Regards, Ziniewicz Maciej

  3. Log in to comment