Zuora connector error - java.lang.ClassCastException: class java.lang.String cannot be cast to class [Ljava.lang.String; (java.lang.String and [Ljava.lang.String; are in module java.base of loader 'bootstrap')

[//]: # Description: I am trying to invoke a Zuora connector and also trying to create a custom action. Both resulting the same error as listed below.
“java.lang.ClassCastException: class java.lang.String cannot be cast to class [Ljava.lang.String; (java.lang.String and [Ljava.lang.String; are in module java.base of loader ‘bootstrap’)”

What product/components do you use and which version/fix level are you on?

webmethods.io → flow services → ZuoraREST connector

Is your question related to the free trial, or to a production (customer) instance?

Production type instance with access.

What are you trying to achieve? Please describe it in detail.

Use Zuora connector to get product details, and other operations as business requirements.

Do you get any error messages? Please provide a full error message screenshot and log file.

java.lang.ClassCastException: class java.lang.String cannot be cast to class [Ljava.lang.String; (java.lang.String and [Ljava.lang.String; are in module java.base of loader ‘bootstrap’)

Have you installed all the latest fixes for the products and systems you are using?

I am using cloud webmethods.io

1 Like

We are getting same error when we migrate from 10.5 to 10.11 Integration Server (PIE).

It is happening running a customized service that manipulates a string list to do a sort, but evaluating the last element it crashes and give the error:
java.lang.ClassCastException: class [Ljava.lang.Object; cannot be cast to class [Ljava.lang.String; ([Ljava.lang.Object; and [Ljava.lang.String; are in module java.base of loader ‘bootstrap’)

This is working in version 10.5 but is broken in 10.11.

What was the solution for the original issue??

Thanks

@Edwin_Silva1 Is your issue also with the Zuora connector in webMethods.io Integration or is it somewhere else in webMethods (like the on-premise Integration Server) ???

Hi… It is not related with Zuora it is just on-premise upgrade for IS.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.