Endevor Web Services list package failed with JsonParseException, how to fix that ?
search cancel

Endevor Web Services list package failed with JsonParseException, how to fix that ?

book

Article ID: 17157

calendar_today

Updated On:

Products

Endevor Endevor - ECLIPSE Plugin

Issue/Introduction

Endevor Eclipse plugin  'list package' failed with JsonParseException, how to fix that ? This is happening after applying maintenance to 18.0.12 GA. 

Environment

Release:
Component: ENDBAS

Resolution

1) If you are using URL such as http://host:port/Eclipse-BasedUI to create Eclipse repository , you will get Jason Parse Exception:

          com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')

Solution: Remove any character after the port number in the repository URL, use this URL format <protocol>://<Name of the Web Services host>:<Port number> to create the repository. 

2) JsonParseException could also occur if you have version mismatch between Web Services and Eclipse UI plugin. 

Steps to install V18 latest Eclipse UI plugin: 
Check the API version by 

Navigate to the following URL in your web browser:
<protocal>://host:port/EndevorService
 


Check out Eclipse Plug-in Compatibility then install Eclipse UI plugin accordingly. Make sure UI plugin version is in sync with Web Services API level.