error when retrieving timesheet information

  • KM03594512
  • 07-Feb-2020
  • 07-Feb-2020

Summary

The error might appear when you try to Import External Data from Octane to a Timesheet

Error

error in timesheet retrieve:
java.lang.RuntimeException: Error when parsing JSON

 at com.ppm.integration.agilesdk.connector.octane.client.ClientPublicAPI.parseTimesheetItems(ClientPublicAPI.java:385)
 at com.ppm.integration.agilesdk.connector.octane.client.ClientPublicAPI.getTimeSheetData(ClientPublicAPI.java:313)
 at com.ppm.integration.agilesdk.connector.octane.OctaneTimeSheetIntegration.getExternalWorkItemsByTasks(OctaneTimeSheetIntegration.java:133)
 at com.ppm.integration.agilesdk.connector.octane.OctaneTimeSheetIntegration.getExternalWorkItems(OctaneTimeSheetIntegration.java:80)
 at com.hp.ppm.integration.rest.resource.TimeSheetIntegrationResource.getExternalWorkItem(TimeSheetIntegrationResource.java:152)

.........

Caused by: java.lang.RuntimeException: Unknown error, cannot parse Octane Response; retrieved payload from Octane: {"error_code":"platform.general_error","correlation_id":"g0d4j7g990m33bmgzm2ewje6x","description":"General error occurred","description_translated":"General error occurred","properties":null,"business_error":false}
 at com.ppm.integration.agilesdk.connector.octane.client.ClientPublicAPI.parseTimesheetItems(ClientPublicAPI.java:332)


com.ppm.integration.agilesdk.connector.octane.client.OctaneClientException: error when retrieving timesheet information:
 at com.ppm.integration.agilesdk.connector.octane.client.ClientPublicAPI.getTimeSheetData(ClientPublicAPI.java:317)
 at com.ppm.integration.agilesdk.connector.octane.OctaneTimeSheetIntegration.getExternalWorkItemsByTasks(OctaneTimeSheetIntegration.java:133)
 at com.ppm.integration.agilesdk.connector.octane.OctaneTimeSheetIntegration.getExternalWorkItems(OctaneTimeSheetIntegration.java:80)
 at com.hp.ppm.integration.rest.resource.TimeSheetIntegrationResource.getExternalWorkItem(TimeSheetIntegrationResource.java:152)

 

 

 

Cause

PPM cannot pull the data from Octane as most likely Elasticsearch is down.

Fix

Check if Elasticsearch is running on Octane side.