Cannot access a program that was just created

  • KM03765345
  • 30-Nov-2020
  • 30-Nov-2020

This document is under revision.

Summary

ERROR: Caused by: com.hp.ppm.exception.ResourceNotFoundException: PPMC_WSE709[12345]

Error

Caused by: com.hp.ppm.exception.ResourceNotFoundException: PPMC_WSE709[123456]
 at com.hp.ppm.pgm.service.impl.ProgramSecurityServiceImpl.canView(ProgramSecurityServiceImpl.java:37)
 at sun.reflect.GeneratedMethodAccessor2888.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

Cause

The program was not properly created.

Fix

Check if the program is present in the PGM_PROGRAMS table:

select * from PGM_PROGRAMS where PROGRAM_ID=12345;

If not, re-create the program.