Can't create/edit/update any items in YouTrack
Had a situation the other day where presumably my server was bounced
for the first time since installing YouTrack and it no longer could
find the database. I edited the web.xml and pointed the instance at
the database folder manually. Now when trying to edit or update any
items in the database, I get an Oops page with the following stack
trace.
java.lang.IllegalStateException: Can't add deferred command while prebuilding them. at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.addCommandResponse(TemplateComponent.java:235) at jetbrains.mps.webr.runtime.templateComponent.Widget.addCommandResponseSafe(Widget.java:50) at jetbrains.charisma.smartui.executor.CustomIssueExecutor.onLogicException(CustomIssueExecutor.java:338) at jetbrains.charisma.smartui.newInplaceIssue.NewIssue_HtmlTemplateComponent$2.onLogicException(NewIssue_HtmlTemplateComponent.java:112) at jetbrains.charisma.smartui.executor.CustomIssueExecutor.handleException(CustomIssueExecutor.java:196) at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.render(TemplateComponent.java:460) at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.getRefreshContent(TemplateComponent.java:491) at jetbrains.mps.webr.runtime.component.HtmlTemplate$2.generateScript(HtmlTemplate.java:63) at webr.framework.runtime.response.CommandResponseAction.generateScript(CommandResponseAction.java:17) at webr.framework.runtime.response.JsCommandResponse.doGenerateScript(JsCommandResponse.java:64) at webr.framework.runtime.response.JsCommandResponse.generateContent(JsCommandResponse.java:43) at webr.framework.runtime.response.JsCommandResponse.prebuildContent(JsCommandResponse.java:54) at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.prebuildCompositeCommandsContent(TemplateComponent.java:636) at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.prebuildCompositeCommandsContent(TemplateComponent.java:616) at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.prebuildCompositeCommandsContent(TemplateComponent.java:616) at jetbrains.mps.webr.runtime.templateComponent.TemplateActionController.processAjaxCommand(TemplateActionController.java:131) at jetbrains.mps.webr.runtime.templateComponent.TemplateActionController.handleEventImpl(TemplateActionController.java:118) at jetbrains.mps.webr.runtime.templateComponent.TemplateActionController.handleEvent(TemplateActionController.java:101) at jetbrains.mps.webr.runtime.requestProcessor.EventRequestProcessor.processRequest(EventRequestProcessor.java:75) at jetbrains.mps.webr.runtime.servlet.MainServlet.processRequest(MainServlet.java:198) at jetbrains.mps.webr.runtime.servlet.MainServlet.doGet(MainServlet.java:93) at jetbrains.mps.webr.runtime.servlet.MainServlet.doPost(MainServlet.java:167) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 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 jetbrains.mps.webr.runtime.filter.QueryParameterFilter.doFilter(QueryParameterFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.eclipse.jetty.continuation.ContinuationFilter.doFilter(ContinuationFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77) at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:133) 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.Http11AprProcessor.process(Http11AprProcessor.java:859) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555) at java.lang.Thread.run(Unknown Source)
Please sign in to leave a comment.
Hello Matthew,
Sorry for the delay. Does the problem still remain?
No this is no longer a problem after upgrading to YouTrack 3.1 (build #2069 [20-Dec-2011 22:24]) as suggested by Vadim Gurov. Thanks!