IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

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')

  • 1.  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')

    Posted Mon February 13, 2023 06:17 AM

    [//]: # 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


    #webMethods
    #zuora
    #webMethods-cloud
    #webMethods-io-Integration


  • 2.  RE: 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')

    Posted Tue March 28, 2023 05:02 PM

    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


    #zuora
    #webMethods-cloud
    #webMethods-io-Integration
    #webMethods


  • 3.  RE: 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')

    Posted Tue March 28, 2023 05:21 PM

    @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) ???


    #zuora
    #webMethods-cloud
    #webMethods-io-Integration
    #webMethods


  • 4.  RE: 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')

    Posted Wed March 29, 2023 10:02 AM

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


    #webMethods-cloud
    #zuora
    #webMethods
    #webMethods-io-Integration