AnsweredAssumed Answered

Error completing record event

Question asked by milesif on Feb 14, 2011
Hi everybody

I set up a new category with a folder inside. I filed and declared a new record that is cut off at the end of month or when I complete the event "Case complete", according to the disposition schedule. When I press the "Complete event" button, I am asked for a date and time. I set them and press OK. I get a message box that says "Event could not be completed". In the alfresco.log I find the following stack trace

17:30:30,417 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 01140010 Wrapped Exception (with status template): 01140009 Failed to parse date 0NaN-NaN-NaNTNaN:NaN:NaN.NaN+NaN:NaN
org.springframework.extensions.webscripts.WebScriptException: 01140010 Wrapped Exception (with status template): 01140009 Failed to parse date 0NaN-NaN-NaNTNaN:NaN:NaN.NaN+NaN:NaN
        at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:758)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
        at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:383)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:381)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:436)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:466)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:304)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:333)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:189)
        at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.springframework.extensions.surf.exception.PlatformRuntimeException: 01140009 Failed to parse date 0NaN-NaN-NaNTNaN:NaN:NaN.NaN+NaN:NaN
        at org.springframework.extensions.surf.util.ISO8601DateFormat.parse(ISO8601DateFormat.java:219)
        at org.alfresco.module.org_alfresco_module_dod5015.script.RmActionPost.executeImpl(RmActionPost.java:139)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
        … 24 more
Caused by: java.lang.NumberFormatException: For input string: "0NaN"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:458)
        at java.lang.Integer.parseInt(Integer.java:499)
        at org.springframework.extensions.surf.util.ISO8601DateFormat.parse(ISO8601DateFormat.java:121)
        … 26 more
Notice that
1. I use the italian version of firefox and when I login to share everything is in italian but the Records Management site that is not translated.
2. when I cut off the record I have no problem at all (in that case I don't have to set any date and time)

It looks like a bug to me, likely related to the date format of the event completion.Should I post a bug on jira?

Thanks for your help

ciao Francesco

Outcomes