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

book

Article ID: 17157

calendar_today

Updated On:

Products

CA Endevor Software Change Manager (SCM) CA Endevor Software Change Manager - ECLIPSE Plugin (SCM)

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://mainframe:32200/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 Plugin Compatibility then install Eclipse UI plugin accordingly. Make sure UI plugin version is in sync with Web Services API level. 




 

 

Additional Information

check Create a New Repository in Eclipse Help for more information.

Eclipse Plugin Compatibility Matrix: 
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/devops/ca-endevor-software-change-manager/18-0/release-notes/eclipse-plugin-compatibility.html

This can happen if post-18.0 GA (18.0.12) maintenance has been applied and plugin version 18.1.0 is used.