com.atlassian.core.util.InvalidDurationException: Must have integer preceding duration type

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Jeff Turner, 1 year ago
Must have integer preceding duration type
via Atlassian JIRA by Jeff Turner, 1 year ago
Must have integer preceding duration type
via Atlassian JIRA by Cyrill Rüttimann, 1 year ago
Specified decimal fraction duration cannot maintain precision
com.atlassian.core.util.InvalidDurationException: Must have integer preceding duration type
at com.atlassian.core.util.DateUtils.getDurationSeconds(DateUtils.java:300)
at com.atlassian.core.util.DateUtils.getDurationSeconds(DateUtils.java:279)
at com.atlassian.core.util.DateUtils.getDuration(DateUtils.java:219)
at com.atlassian.core.util.DateUtils.getDurationWithNegative(DateUtils.java:243)
at com.atlassian.jira.issue.search.searchers.impl.GenericDateSearcher.getPeriodOffset(GenericDateSearcher.java:321)
at com.atlassian.jira.issue.search.searchers.impl.GenericDateSearcher.populateFromParams(GenericDateSearcher.java:139)
at com.atlassian.jira.web.action.issue.IssueNavigator.populateAndValidate(IssueNavigator.java:242)
at com.atlassian.jira.web.action.issue.IssueNavigator.doExecute(IssueNavigator.java:120)
at webwork.action.ActionSupport.execute(ActionSupport.java:153)
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:57)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132)
at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:185)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.