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

java.lang.StackOverflowError

  • 1.  java.lang.StackOverflowError

    Posted Tue May 13, 2003 02:40 PM

    Hi,
    I get java.lang.StackOverflowError error after every 1 hour the server is started and the server shuts down abruptly. We are running 4.0.1. This happens on the production. Did anybody see this error or has a solution / possible explanation? If so, please let me know. This is very urgent.The stack trace is as follows…

    java.lang.StackOverflowError
    at com.wm.app.tn.cm.IDataCoderHash.put(TempCoder.java(Compiled

    Code))
    at com.wm.app.tn.cm.TempCoder._encode(TempCoder.java(Compiled

    Code))
    at com.wm.app.tn.cm.TempCoder._encode(TempCoder.java(Compiled

    Code))
    at com.wm.app.tn.cm.TempCoder._encode(TempCoder.java(Compiled

    Code))
    at com.wm.app.tn.cm.TempCoder._encode(TempCoder.java(Compiled

    Code))
    at com.wm.app.tn.cm.TempCoder._encode(TempCoder.java(Compiled

    Code))
    at com.wm.app.tn.cm.TempCoder._encode(TempCoder.java(Compiled

    Code))
    at com.wm.app.tn.cm.TempCoder._encode(TempCoder.java(Compiled

    Code))
    at com.wm.app.tn.cm.TempCoder._encode(TempCoder.java(Compiled

    Code))
    at com.wm.app.tn.cm.TempCoder._encode(TempCoder.java(Compiled

    Code))
    at com.wm.app.tn.cm.TempCoder._encode(TempCoder.java(Compiled

    Code))
    at com.wm.app.tn.cm.TempCoder._encode(TempCoder.java(Compiled


    at

    com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java:282)
    at com.wm.app.tn.cm.Step.performJump(Step.java:220)
    at

    com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java:282)
    at com.wm.app.tn.cm.Step.performJump(Step.java:220)
    at

    com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java:282)
    at com.wm.app.tn.cm.Step.performJump(Step.java:220)
    at

    com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java:282)
    at com.wm.app.tn.cm.Step.performJump(Step.java:220)
    at

    com.wm.app.tn.cm.InvocationStep.process(InvocationStep.java:282)
    at

    com.wm.app.tn.cm.ConversationScript.process(ConversationScript.java:2
    94)
    at

    com.wm.app.tn.cm.ConversationAgent.process(ConversationAgent.java:194
    )
    at

    com.wm.app.tn.cm.ConversationThread.synchRun(ConversationThread.java:
    194)
    at

    com.wm.app.tn.cm.ConversationThread.run(ConversationThread.java:90)
    at com.wm.util.pool.PooledThread.run(PooledThread.java:103)
    at java.lang.Thread.run(Thread.java:498)


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 2.  RE: java.lang.StackOverflowError

    Posted Thu July 24, 2003 02:20 PM

    Don’t know if you found your solution (after all, this question is over two months old), but the Java API says it is “thrown when a stack overflow occurs because an application recurses too deeply”.

    I’d look for code that you’ve written where a method calls itself. I’ve done this to myself in Java where I’ve written a recursive function without paying close enough attention to the stopping condition. It’s usually pretty easy to spot and fix in those cases.

    What’s that method com.wm.app.tn.cm.TempCoder._encode that shows up a dozen times in the stack trace? Odd…

    The only other thing that bothers me is that all the package names start with com.wm.app.tn.cm - obviously none of these are your code. Did webMethods accept this as a bug, or did it trace back to something you wrote? Did you find a solution?

    These forums aren’t very active, are they? There are lots of notes that are never answered. - MOD


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General