JIRA Missing Class Exception 'AllowOnlyIfTimeEntered'
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
There might be timeout of several page, and error during workflow transition.
The following appears in the atlassian-jira.log
:
1
2
3
4
5
6
7
8
9
10
11
12
2013-07-17 16:59:56,554 http-8085-2 ERROR 1264 1019x160x1 q5k1kb 192.168.70.1 /browse/ABIA-4 [atlassian.jira.workflow.DefaultOSWorkflowConfigurator] Could not load class 'com.atlassian.jira.plugin.workflow.checktime.condition.AllowOnlyIfTimeEntered'
java.lang.ClassNotFoundException: com.atlassian.jira.plugin.workflow.checktime.condition.AllowOnlyIfTimeEntered
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at com.atlassian.core.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:88)
at com.atlassian.core.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:50)
at com.atlassian.jira.workflow.DefaultOSWorkflowConfigurator$LegacyJiraTypeResolver.loadObject(DefaultOSWorkflowConfigurator.java:162)
at com.opensymphony.workflow.TypeResolver.getCondition(TypeResolver.java:73)
at com.atlassian.jira.workflow.DefaultOSWorkflowConfigurator$JiraTypeResolverDelegator.getCondition(DefaultOSWorkflowConfigurator.java:115)
at sun.reflect.GeneratedMethodAccessor527.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
Cause
This is due to a condition 'Allow Only If Time Entered' in the workflow created on JIRA3 has deprecated on the affected releast (JIRA4 and above).
Resolution
Edit the affected workflow
Find the condition 'Allow Only If Time Entered'
Remove the condition
Publish the worklow
Was this helpful?