race condition in IIOPConnection.java

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.4.2
    • Affects Version/s: 1.0, 1.2.1, 1.3.0, 1.4.2
    • Component/s: other-libs
    • None
    • only
    • x86, sparc
    • solaris_7, windows_98, windows_nt

        Subject: race condition in IIOPConnection.java
        To: ###@###.###
        MIME-Version: 1.0
        Content-MD5: a6e7xDkIshetlXN0MisxxA==


        After long hours of debugging......

        Excerpt from Sanjeev's Email.
        =============================

        In IIOPConnection.CachedWorkerThread, the variable currentWork
        is declared as static. This causes a race condition where two
        threads start working on the same client request. So two replies
        get sent back to the client for one request. So the client's
        ReaderThread throws a NullPointerException and dies.

              Assignee:
              Anita Jindal (Inactive)
              Reporter:
              Anita Jindal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: