Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Error while updating the workplan line item status

Highlighted
Govardhan07
Regular Collector

Error while updating the workplan line item status

I am getting the following error while updating work plan line item (task) status.

 

An Error has Occurred     An unknown exception has occurred. Please reload the page you were editing and try again.   The following is a stack trace of the exception:
java.lang.RuntimeException:must not be adding another unassigned work unit
com.mercury.itg.pm.persister.EditTaskBeanPersister.updateWorkUnits(EditTaskBeanPersister.java:731)
com.mercury.itg.pm.persister.EditTaskBeanPersister.update(EditTaskBeanPersister.java:366)
com.mercury.itg.pm.persister.EditTaskBeanPersister.saveTask(EditTaskBeanPersister.java:281)
com.mercury.itg.pm.persister.EditTaskBeanPersister.saveTasks(EditTaskBeanPersister.java:166)
com.mercury.itg.pm.service.impl.WorkPlanServiceImpl$4.run(WorkPlanServiceImpl.java:154)
com.mercury.itg.util.HibernateTemplate.doRun(HibernateTemplate.java:194)
com.mercury.itg.pm.service.impl.WorkPlanServiceImpl.saveTasks(WorkPlanServiceImpl.java:157)
com.mercury.itg.pm.workplan.web.SaveTaskAction.doExecute(SaveTaskAction.java:100)
com.mercury.itg.common.web.BaseAction.execute(BaseAction.java:146)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.portals.bridges.struts.PortletTilesRequestProcessor.process(PortletTilesRequestProcessor.java:50)
com.mercury.itg.common.web.PortletTilesRequestProcessor.process(PortletTilesRequestProcessor.java:47)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ajaxanywhere.AAFilter.doFilter(AAFilter.java:46)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
com.mercury.itg.servlet.I18NFilter.doFilter(I18NFilter.java:34)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
com.mercury.itg.servlet.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:77)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
com.kintana.core.web.filter.stinger.ValidationFilter.applyFilter(ValidationFilter.java:93)
com.kintana.core.web.filter.stinger.ValidationFilter.doFilter(ValidationFilter.java:66)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
com.kintana.core.web.filter.ControlFilter.applyFilter(ControlFilter.java:733)
com.kintana.core.web.filter.ControlFilter.doFilter(ControlFilter.java:1143)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
com.kintana.core.web.filter.MultipartRequestFilter.applyFilter(MultipartRequestFilter.java:79)
com.kintana.core.web.filter.BaseFilter.doFilter(BaseFilter.java:53)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
com.kintana.core.web.filter.I18nFilter.applyFilter(I18nFilter.java:44)
com.kintana.core.web.filter.BaseFilter.doFilter(BaseFilter.java:53)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
com.kintana.core.web.filter.Log4jFilter.applyFilter(Log4jFilter.java:43)
com.kintana.core.web.filter.BaseFilter.doFilter(BaseFilter.java:53)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:619)  

<LAYER STYLE='position:relative' z-index='1' name='holder' id='holder' WIDTH="0" FRAMEBORDER="0" HEIGHT="0" MARGINHEIGHT="0" MARGINWIDTH="0" SCROLLING="no" visibility="hidden"> </layer>

 

<script type="text/javascript" language="JavaScript">// function IFrameSrc(jsp,formInput) { this.jsp = jsp; this.formInput = formInput; } function iframe_setSrc(src) { if(!this.inUse) { this.inUse = true; window.frames.InternalFrame1341491576732.location.replace(src); } else { this.srcQueue.push(new IFrameSrc(src,'')); } } function iframe_setFormInput(action,formInput) { if(!this.inUse) { this.inUse = true; document.getElementById("IFrameFormID1341491576732").innerHTML = '\n<form target="InternalFrame1341491576732" method="POST" action="' + action + '" name="IFrameForm">' + formInput + '\n</form>\n'; document.IFrameForm.submit(); } else { this.srcQueue.push(new IFrameSrc(action,formInput)); } } function iframe_callBack() { if(this.srcQueue.length == 0) { this.inUse = false; } else { var src=this.srcQueue.shift(); if( src.formInput == '' ) { window.frames.InternalFrame1341491576732.location.replace(src.jsp); } else { document.getElementById("IFrameFormID1341491576732").innerHTML = '\n<form target="InternalFrame1341491576732" method="POST" action="' + src.jsp + '" name="IFrameForm">' + src.formInput + '\n</form>'; document.IFrameForm.submit(); } } } var IFrame = new Object(); IFrame.setsrc=iframe_setSrc; IFrame.setFormInput = iframe_setFormInput; IFrame.inUse = false; IFrame.srcQueue = new Array(); IFrame.callBack = iframe_callBack; window.hasIFrame = true; // </script> <script type="text/javascript" language="JavaScript">// // document.getElementById('FooterControlRow').style.height = 0; // </script>  

 

 

Please help me to fix this problem.

 

Regards,

Govardhan

1 REPLY
ARPA
Acclaimed Contributor

Re: Error while updating the workplan line item status

Hi Govardhan07,

 

We found the same error twice this month, but we can't manage to reprduce it.

 

Did you found the source of the problem?

 

Thanks

//Add this to "OnDomLoad" event