Highlighted
and_pan Valued Contributor.
Valued Contributor.
561 views

ERROR: Workplan Template - Cannot find cost setting through work plan and project

Hi,

we are running PPM 9.31. We are trying to update an user data in a task defined inside a Work Plan Template.  However, the task saving fails. Here follows the stack trace. 

What does the sentence marked in bold specifically mean ? Do we need to set any particular parameter in order to proceed ?

Thanks.

Manuel

*****************************************************************

ProjectCostUtil.java:1484: Cannot find cost setting through work plan and project, returning false for enable cost
ITGExceptionHandler.java:200: An unknown error has occurred. For more information, please contact your PPM administrator and provide the following GUID number
java.lang.NullPointerException
at com.mercury.itg.pm.persister.EditTaskBeanPersister.updateCost(EditTaskBeanPersister.java:543)
at com.mercury.itg.pm.persister.EditTaskBeanPersister.updateCost(EditTaskBeanPersister.java:499)
at com.mercury.itg.pm.persister.EditTaskBeanPersister.update(EditTaskBeanPersister.java:391)
at com.mercury.itg.pm.persister.EditTaskBeanPersister.saveTask(EditTaskBeanPersister.java:314)
at com.mercury.itg.pm.persister.EditTaskBeanPersister.saveTasks(EditTaskBeanPersister.java:179)
at com.mercury.itg.pm.service.impl.WorkPlanServiceImpl$4.run(WorkPlanServiceImpl.java:181)
at com.mercury.itg.util.HibernateTemplate.doRun(HibernateTemplate.java:179)
at com.mercury.itg.pm.service.impl.WorkPlanServiceImpl.saveTasks(WorkPlanServiceImpl.java:184)
at com.mercury.itg.pm.workplan.web.SaveTaskAction.doExecute(SaveTaskAction.java:111)
at com.mercury.itg.common.web.BaseAction.execute(BaseAction.java:208)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.portals.bridges.struts.PortletTilesRequestProcessor.process(PortletTilesRequestProcessor.java:50)
at com.mercury.itg.common.web.PortletTilesRequestProcessor.process(PortletTilesRequestProcessor.java:54)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.mercury.itg.servlet.ActionMonitorFilter.doFilter(ActionMonitorFilter.java:87)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.ajaxanywhere.AAFilter.doFilter(AAFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.mercury.itg.servlet.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:104)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.kintana.core.web.filter.BrowserCompatibilityFilter.applyFilter(BrowserCompatibilityFilter.java:34)
at com.kintana.core.web.filter.BaseFilter.doFilter(BaseFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.kintana.core.web.filter.MLUFilter.applyFilter(MLUFilter.java:115)
at com.kintana.core.web.filter.BaseFilter.doFilter(BaseFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.kintana.core.web.filter.stinger.ValidationFilter.applyFilter(ValidationFilter.java:217)
at com.kintana.core.web.filter.stinger.ValidationFilter.doFilter(ValidationFilter.java:118)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.kintana.core.web.filter.MultipartRequestFilter.applyFilter(MultipartRequestFilter.java:81)
at com.kintana.core.web.filter.BaseFilter.doFilter(BaseFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.kintana.core.web.filter.ControlFilter.applyFilter(ControlFilter.java:933)
at com.kintana.core.web.filter.ControlFilter.doFilter(ControlFilter.java:1602)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.mercury.itg.servlet.I18NFilter.doFilter(I18NFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.kintana.core.web.filter.SchemeBasedRedirectFilter.doFilter(SchemeBasedRedirectFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.kintana.core.web.filter.Log4jFilter.applyFilter(Log4jFilter.java:56)
at com.kintana.core.web.filter.BaseFilter.doFilter(BaseFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

Tags (3)
0 Likes
3 Replies
P_V_D Trusted Contributor.
Trusted Contributor.

Re: ERROR: Workplan Template - Cannot find cost setting through work plan and project

Greetings Manuel,

I just wanted to inform you that the fix for this scenario is available in PPM  fixed in 9.32.0006, as a workaround you can perform the following steps in order to see if the issue persist after perform those.

 

  1.     Stop the server.
    2.     Go to /server/ and delete “tmp” and “work” folders and run kJSPCompiler.sh.

Note: Repeat for all servers (nodes).

Note: Do not back these directories up as they will be re-created when the PPM instance is started.
 
3.     Go to PPM_HOME/server/SERVER_NAME/log and re-name the serverLog.txt file. This will allow for a clean log to review.

Note: Repeat for all servers (nodes)
 
4.     Run kupdatehtml.sh
5.     Run the kjspcompiler.sh
6.     Restart server
7.     Run kRunCacheManager.sh -A (clear all cache).
8.     Clear ALL cache and history in Internet Explorer or the browser you are using
*If you have clustering, please repeat this for the entire nodes.
 
9.     Clear the Client Java cache.
Start --> Control Panel --> Java --> Temporary Internet Files --> Delete Files
10.   Also clear the client-side Java Virtual Machine (JVM) Cache. (Control Panel -> Java Plug-in -> Cache Tab -> 'Clear'). Do so for ALL Java Plug-ins installed. 

Regards.

0 Likes
and_pan Valued Contributor.
Valued Contributor.

Re: ERROR: Workplan Template - Cannot find cost setting through work plan and project

Hi,

thanks for your reply. Unfortunately, the workaround didn't help.

Other suggestions are welcome (apart from the version upgrade).

Thanks again.

Manuel

0 Likes
Bottos
New Member.

Re: Best tax consultant near me

works for me too.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.