webMethods

 View Only
  • 1.  Stack Over Flow error

    Posted Mon October 30, 2023 02:47 AM

    in my one ‘salesXML’ service i’m facing this issue when i’m trying to convert the csv files into xml file. the same process i’m doing for json format it is totally working fine but for xml it’s throwing this exception.

    “java.lang.reflect.InvocationTargetException: StackOverflowError”

    can anybody tell me why this error is coming?


    #xml
    #webMethods
    #flowservices


  • 2.  RE: Stack Over Flow error

    Posted Mon October 30, 2023 06:32 AM

    Hi Alfia,

    please check for the memory settings of your IS as well as the size of the XML you are trying to process.

    Can you provide us an outline of the salesXML service as well as the document structure of the XML?

    Regards,
    Holger


    #flowservices
    #webMethods
    #xml


  • 3.  RE: Stack Over Flow error

    Posted Wed November 22, 2023 04:18 AM

    hey Holger, Thanks for the reply.
    I have resolved the issue.
    Actually in my integration server i’m having some issues after doing some changes on the service and after restarting the server i got the expected output.


    #flowservices
    #xml
    #webMethods


  • 4.  RE: Stack Over Flow error

    Posted Tue October 31, 2023 11:05 AM

    Are you invoking a service that has a recursive call? A StackOverflowError is typically caused by a recursive function that doesn’t terminate properly, i.e. it recurses indefinitely. Feel free to share the code and perhaps we can assist further.

    Percio


    #webMethods
    #xml
    #flowservices


  • 5.  RE: Stack Over Flow error

    Posted Tue October 31, 2023 12:34 PM

    Please share additional information about the service and how it is being run. Obviously you do not want to share sensitive or private info but share as much as you can. Right now all we know is that Java is involved. We do not know what product you’re using. What “salesXML” is. What the code does.

    You’re making the group guess at what might be wrong. Posting just the error message and nothing else and expecting useful help is a bit optimistic.


    #webMethods
    #flowservices
    #xml


  • 6.  RE: Stack Over Flow error

    Posted Wed November 22, 2023 04:20 AM

    Thanks for the reply, Reamon
    from the next time, I will surely try to provide the full informaton.


    #flowservices
    #xml
    #webMethods