My Oracle Support Banner

Error: "org.json.JSONException: A JSONArray text must start with '[' at 0 [character 1 line 1]” When Loading Project Statistics Portlet After Upgrading From R18.8.X (Doc ID 2911348.1)

Last updated on JANUARY 19, 2023

Applies to:

Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 21.12 to 23.1 [Release 21.12 to 23.1]
Primavera P6 Enterprise Project Portfolio Management - Version 21.12 to 22.12 [Release 21.12 to 22.12]
Information in this document applies to any platform.

Symptoms

After upgrading Primavera P6 from R18.8 to R21.12.10, when opening the Project Statistics dashboard, the following error occurs:

Unknown error, please contact your System Administrator.

The following can be found in the P6WebAccess.html log file:

ERROR /rest/dashboard/projectStatistics/gridData/load (User Id: XX DB Id: 1) com.primavera.rest.common.pmapp.grouping.project.ProjectLwfGroupingHelper Exception occured while creating sort Defs:
org.json.JSONException: A JSONArray text must start with '[' at 0 [character 1 line 1]

ERROR /rest/dashboard/projectStatistics/gridData/load (User Id: XX DB Id: 1) com.primavera.rest.common.exception.InternalErrorResponseExceptionMapper A JSONArray text must start with '[' at 0 [character 1 line 1]
org.json.JSONException: A JSONArray text must start with '[' at 0 [character 1 line 1]

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.