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

I have error then try complete task

Highlighted
Semenov Alexand
Esteemed Contributor

I have error then try complete task

Good Day.(7.5 sp 4)
I have error then try complete task in 1 project.
In other projects all fine.
I try change status from ready to complete in task (milestone) and have this:
Error on Page

java.lang.NullPointerException:
com.mercury.itg.pm.service.impl.RollupStrategy.traverse(RollupStrategy.java:208 )
com.mercury.itg.pm.service.impl.RollupStrategy.traverse(RollupStrategy.java:209 )
com.mercury.itg.pm.service.impl.RollupStrategy.access$000(RollupStrategy.java:3 0)
com.mercury.itg.pm.service.impl.RollupStrategy$1.run(RollupStrategy.java:134) com.mercury.itg.util.HibernateTemplate.doRun(HibernateTemplate.java:194)
com.mercury.itg.pm.service.impl.RollupStrategy.rollup(RollupStrategy.java:140)< BR> com.mercury.itg.pm.service.impl.RollupStrategyForActuals.rollup(RollupStrategyF orActuals.java:56)
com.mercury.itg.pm.service.impl.RollupManager$1.run(RollupManager.java:242)
com.mercury.itg.util.HibernateTemplate.doRun(HibernateTemplate.java:194)
com.mercury.itg.pm.service.impl.RollupManager.rollup(RollupManager.java:253)
com.mercury.itg.pm.model.WorkPlanImpl.beforeFlush(WorkPlanImpl.java:630)
com.mercury.itg.pm.model.WorkPlanTracker.onFlush(WorkPlanTracker.java:166)
org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
com.mercury.itg.pm.model.WorkPlanTracker.evaluateExceptions(WorkPlanTracker.jav a:211)
com.mercury.itg.pm.persister.EditTaskBeanPersister.saveTasks(EditTaskBeanPersis ter.java:180)
com.mercury.itg.pm.service.impl.WorkPlanServiceImpl$4.run(WorkPlanServiceImpl.j ava:154)
com.mercury.itg.util.HibernateTemplate.doRun(HibernateTemplate.java:194)
com.mercury.itg.pm.service.impl.WorkPlanServiceImpl.saveTasks(WorkPlanServiceIm pl.java:157)
com.mercury.itg.pm.workplan.web.SaveTaskAction.doExecute(SaveTaskAction.java:10 0)
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(PortletT ilesRequestProcessor.java:50)
com.mercury.itg.common.web.PortletTilesRequestProcessor.process(PortletTilesReq uestProcessor.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(ApplicationFil terChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:173)
org.ajaxanywhere.AAFilter.doFilter(AAFilter.java:46)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.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(ApplicationFil terChain.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(ApplicationFil terChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:173)
com.kintana.core.web.filter.security.SecurityValidationFilter.doFilter(Security ValidationFilter.java:30)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:173)
com.kintana.core.web.filter.ControlFilter.applyFilter(ControlFilter.java:725) com.kintana.core.web.filter.BaseFilter.doFilter(BaseFilter.java:53)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:173)
com.kintana.core.web.filter.MultipartRequestFilter.applyFilter(MultipartRequest Filter.java:79)
com.kintana.core.web.filter.BaseFilter.doFilter(BaseFilter.java:53)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.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(ApplicationFil terChain.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(ApplicationFil terChain.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(ApplicationFil terChain.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(SecurityAssociati onValve.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:10 7)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConn ection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:5 27)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorke rThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:6 84)
java.lang.Thread.run(Thread.java:595)

This appear in first time only today.
Tanks in advice.

1 REPLY
Semenov Alexand
Esteemed Contributor

Re: I have error then try complete task

Issue resolved.
Reason:One of tasks hav't seq number.
I set seq number mabualy and all working fine
//Add this to "OnDomLoad" event