Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6834041

java-corba: Recursive calls in CorbaClientDelegateImpl.is_a

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P2 P2
    • 6-pool
    • 5.0u10
    • other-libs
    • x86
    • linux_2.4

      HW = HP Proliant
      OS = Linux (what version) Red Hat Linux 2.4.21-58.ELhugemem
      Product = JDK 5.0 upd 10
       Stack trace with many recursive calls within is_a method (under
      complete stack trace)

      The StackOverflowError exception is thrown because there is too many
      recursive calls from CorbaClientDelegateImpl.is_a which fills up the
      stack.

      In checking the code, it was calling recursively because
      an exception : RemarshalException was caught, and this
      routine "is_a" tries again. See line 221.

      As you can see, the recursive call finally terminated, and
      progresses on... but eventually reach the stack limit,
      hence the exception.

         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marsh
      alingComplete1(CorbaClientRequestDispatcherImpl.java:349)
            at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marsh
      alingComplete(CorbaClientRequestDispatcherImpl.java:323)
            at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaCl <-==
      at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie <====
      ntDelegateImpl.java:221)

      Details are in the comments section.

            vchoudhaorcl Vaibhav Choudhary (Inactive)
            kbteo Kim Teo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: