java.lang.RuntimeException: com/atlassian/plugins/rest/common/json/JacksonJsonProviderFactory

Atlassian JIRA | Janet Albion [Atlassian] | 3 years ago
  1. 0

    h4. +Steps to reproduce+ # install new JIRA 6.1.5 # add a new project and create new issue # add a new Webhook as per [^NewWebhook.png] # add a link using the Web Link as per [^Weblink.png] # issue is linked correctly, but JIRA throws this error in the log: {noformat} 2014-01-22 18:11:10,437 http-bio-9615-exec-17 ERROR admin 1091x690x1 1e7mb5x 127.0.0.1 /secure/AddWebLink.jspa [atlassian.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event 'com.atlassian.jira.event.issue.link.RemoteIssueLinkCreateEvent@3c7ab8c3' from the invoker 'SingleParameterMethodListenerInvoker{method=public void com.atlassian.webhooks.plugin.WebHookEventsProcessor.onEvent(java.lang.Object), listener=com.atlassian.webhooks.plugin.WebHookEventsProcessor@59ab4398}'. java.lang.RuntimeException: com/atlassian/plugins/rest/common/json/JacksonJsonProviderFactory at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.jira.issue.link.DefaultRemoteIssueLinkManager.createRemoteIssueLink(DefaultRemoteIssueLinkManager.java:113) at com.atlassian.jira.bc.issue.link.DefaultRemoteIssueLinkService.create(DefaultRemoteIssueLinkService.java:280) at com.atlassian.jira.bc.issue.link.DefaultRemoteIssueLinkService.create(DefaultRemoteIssueLinkService.java:254) ... Caused by: java.lang.NoClassDefFoundError: com/atlassian/plugins/rest/common/json/JacksonJsonProviderFactory at com.atlassian.linkaggregation.jira.webhooks.RemoteIssueLinkEventSerializerFactory$1.getWebHookBody(RemoteIssueLinkEventSerializerFactory.java:37) at com.atlassian.webhooks.plugin.OsgiWebHookProviderWebHookRegistry$2$1.get(OsgiWebHookProviderWebHookRegistry.java:90) at com.atlassian.webhooks.plugin.OsgiWebHookProviderWebHookRegistry$2$1.get(OsgiWebHookProviderWebHookRegistry.java:86) {noformat} h4. +Notes+ * This is tested with JIRA 6.1.5 * Events such as Created, Updated seems to be posted correctly to requestb.in

    Atlassian JIRA | 3 years ago | Janet Albion [Atlassian]
    java.lang.RuntimeException: com/atlassian/plugins/rest/common/json/JacksonJsonProviderFactory
  2. 0

    h4. +Steps to reproduce+ # install new JIRA 6.1.5 # add a new project and create new issue # add a new Webhook as per [^NewWebhook.png] # add a link using the Web Link as per [^Weblink.png] # issue is linked correctly, but JIRA throws this error in the log: {noformat} 2014-01-22 18:11:10,437 http-bio-9615-exec-17 ERROR admin 1091x690x1 1e7mb5x 127.0.0.1 /secure/AddWebLink.jspa [atlassian.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event 'com.atlassian.jira.event.issue.link.RemoteIssueLinkCreateEvent@3c7ab8c3' from the invoker 'SingleParameterMethodListenerInvoker{method=public void com.atlassian.webhooks.plugin.WebHookEventsProcessor.onEvent(java.lang.Object), listener=com.atlassian.webhooks.plugin.WebHookEventsProcessor@59ab4398}'. java.lang.RuntimeException: com/atlassian/plugins/rest/common/json/JacksonJsonProviderFactory at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.jira.issue.link.DefaultRemoteIssueLinkManager.createRemoteIssueLink(DefaultRemoteIssueLinkManager.java:113) at com.atlassian.jira.bc.issue.link.DefaultRemoteIssueLinkService.create(DefaultRemoteIssueLinkService.java:280) at com.atlassian.jira.bc.issue.link.DefaultRemoteIssueLinkService.create(DefaultRemoteIssueLinkService.java:254) ... Caused by: java.lang.NoClassDefFoundError: com/atlassian/plugins/rest/common/json/JacksonJsonProviderFactory at com.atlassian.linkaggregation.jira.webhooks.RemoteIssueLinkEventSerializerFactory$1.getWebHookBody(RemoteIssueLinkEventSerializerFactory.java:37) at com.atlassian.webhooks.plugin.OsgiWebHookProviderWebHookRegistry$2$1.get(OsgiWebHookProviderWebHookRegistry.java:90) at com.atlassian.webhooks.plugin.OsgiWebHookProviderWebHookRegistry$2$1.get(OsgiWebHookProviderWebHookRegistry.java:86) {noformat} h4. +Notes+ * This is tested with JIRA 6.1.5 * Events such as Created, Updated seems to be posted correctly to requestb.in

    Atlassian JIRA | 3 years ago | Janet Albion [Atlassian]
    java.lang.RuntimeException: com/atlassian/plugins/rest/common/json/JacksonJsonProviderFactory
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/GRV-448].{color} All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the [Can't access your account|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}Hi Jamie, I think this one is for real this time. :-) I wrote a script listener meant to go from one status to one of the next linked statuses in our workflow, following an "Issue Assigned" event firing. And after much effort to build this script for efficiency, accuracy and functionality, I am incurring stacktrace dumps AFTER a successful TransitionValidationResult test. :-( In this description I will paste in the stacktrace, or an excerpt of meaningful lines from the stack, and I'll attach my source code so you can see my implementation. I know it's exhausting to look at everyone's code, but I can tell you that the point of stacktrace occurs exactly at the call to issueService.transition(). 2014-05-16 14:28:54,037 http-bio-8080-exec-35 ERROR lsccad 868x98837x1 zhe304 192.168.27.109,192.168.85.33 /secure/AssignIssue.jspa [atlassian.event.internal. AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event 'com.atlassian.jira.event.issue.IssueEvent@6028fbea[issue=SOF-118941,c omment=<null>,worklog=<null>,changelog=[GenericEntity:ChangeGroup][id,418437][author,lsccad][created,2014-05-16 14:28:53.399][issue,169745],eventTypeId=3,send Mail=true,params={eventsource=action, baseurl=http://jira},subtasksUpdated=true]' from the invoker 'SingleParameterMethodListenerInvoker{method=public void co m.onresolve.jira.groovy.listener.ScriptRunnerUberListener.workflowEvent(com.atlassian.jira.event.issue.IssueEvent), listener=com.onresolve.jira.groovy.listene r.ScriptRunnerUberListener@78e8d4e8}'. java.lang.RuntimeException: No such property: issueService for class: com.test.LscJiraUtilListener at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17) at com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23) at com.atlassian.jira.event.issue.DefaultIssueEventManager.publishEvent(DefaultIssueEventManager.java:124) at com.atlassian.jira.event.issue.DefaultIssueEventManager.dispatchEvent(DefaultIssueEventManager.java:102) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:88) at com.atlassian.jira.issue.managers.DefaultIssueManager.doUpdate(DefaultIssueManager.java:598) at com.atlassian.jira.issue.managers.DefaultIssueManager.updateIssue(DefaultIssueManager.java:584) at com.atlassian.jira.web.action.issue.AssignIssue.doExecute(AssignIssue.java:141) at webwork.action.ActionSupport.execute(ActionSupport.java:165) Another excerpt of stack trace follows this line: Caused by: groovy.lang.MissingPropertyException: No such property: issueService for class: com.test.LscJiraUtilListener at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50) at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:86) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231) at com.test.LscJiraUtilListener.workflowEvent(LscJiraUtilListener.groovy:95) at com.atlassian.jira.event.issue.IssueEventListener$workflowEvent.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at com.atlassian.jira.event.issue.IssueEventListener$workflowEvent.call(Unknown Source) at com.onresolve.jira.groovy.canned.workflow.listeners.CustomListener.doScript(CustomListener.groovy:65) at com.onresolve.jira.groovy.canned.CannedScript$doScript.call(Unknown Source) at com.onresolve.jira.groovy.CannedScriptRunner.runCannedScript(CannedScriptRunner.groovy:63) at com.onresolve.jira.groovy.GroovyRunner.run(GroovyRunner.java:52)

    JIRA | 3 years ago | Carl Eckhardt
    java.lang.RuntimeException: No such property: issueService for class: com.test.LscJiraUtilListener

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      com/atlassian/plugins/rest/common/json/JacksonJsonProviderFactory

      at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke()
    2. com.atlassian.event
      EventPublisherImpl.publish
      1. com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54)
      2. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66)
      3. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32)
      4. com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60)
      5. com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160)
      6. com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79)
      6 frames
    3. com.atlassian.jira
      DefaultRemoteIssueLinkService.create
      1. com.atlassian.jira.issue.link.DefaultRemoteIssueLinkManager.createRemoteIssueLink(DefaultRemoteIssueLinkManager.java:113)
      2. com.atlassian.jira.bc.issue.link.DefaultRemoteIssueLinkService.create(DefaultRemoteIssueLinkService.java:280)
      3. com.atlassian.jira.bc.issue.link.DefaultRemoteIssueLinkService.create(DefaultRemoteIssueLinkService.java:254)
      3 frames