Perforce Jobs do not get created
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Perforce Jobs do not get created. The following appears in the atlassian-jira.log
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2012-08-24 10:01:24,886 http-8088-10 ERROR admin 601x235615x1 129vy25 127.0.0.1 /secure/CommentAssignIssue.jspa [jira.event.issue.IssueEventListenerHandler] Exception thrown from listener [com.atlassian.jirafisheyeplugin.perforce.listener.JobUpdateListener] : null
java.lang.ClassCastException
at java.lang.Class.cast(Class.java:2990)
at com.atlassian.jira.plugin.JiraOsgiContainerManager.getOsgiComponentOfType(JiraOsgiContainerManager.java:66)
at com.atlassian.jira.ComponentManager.getOSGiComponentInstanceOfType(ComponentManager.java:570)
at com.atlassian.jirafisheyeplugin.perforce.listener.JobUpdateListener.getPerforceManager(JobUpdateListener.java:86)
at com.atlassian.jirafisheyeplugin.perforce.listener.JobUpdateListener.workflowEvent(JobUpdateListener.java:29)
at com.atlassian.jira.event.issue.IssueEventListenerHandler$IssueEventInvoker.invoke(IssueEventListenerHandler.java:49)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56)
at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151)
at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70)
at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
Cause
There are multiple version of JIRA Fisheye plugin installed.
Resolution
Stop JIRA.
Remove any older Fisheye plugin from
$JIRA_HOME/plugins/installed-plugins
.Start JIRA.
Was this helpful?