Symptoms
The following error message is represented in UI on attempt to open "General" tab of instance based of APS 1.2 application (Provider's Control Panel > Applications > Choose required application > Instances > Choose required instance):
An unforeseen error occurred. Please contact contoso@provider.net. Details Message: "java.lang.NullPointerException".
In /var/log/pa/pui/pui.log on UI server, it can be seen that the error appears on attempt to build "aps.AppInstancePropsMult" screen:
17:16:57.870 [uispan:28865ece-b9b8-4374-81ef-9f4aad7ca12f default task-4812] DEBUG c.p.p2.turbine.modules.ModuleFinder - Exit: screens aps.AppInstancePropsMult:build by exception:java.lang.reflect.InvocationTargetException 17:16:57.871 [uispan:28865ece-b9b8-4374-81ef-9f4aad7ca12f default task-4812] ERROR c.p.p.c.c.p.m.navigations.ObjectNav - NAVIGATION ERROR: java.lang.reflect.InvocationTargetException: null at jdk.internal.reflect.GeneratedMethodAccessor8751.invoke(Unknown Source)
The issue is reproducible only if upgrade is available for the instance. For instances on the latest version of the application, error does not appear and screen is opened without any error.
Cause
Software-related issue #OA-14619.
Resolution
Contact your Technical Account Manager to clarify current status of the issue.
As a workaround, upgrade the application instance using pem.APS.upgradeApplicationInstance API request.