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

PortableRemoteObject.narrow() returns null if IIOP stubs are missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 7
    • other-libs
    • x86
    • windows_7

      FULL PRODUCT VERSION :
      java version "1.7.0_03"
      Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
      Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      A DESCRIPTION OF THE PROBLEM :
      If one is doing RMI IIOP and PortableRemoteObject.narrow() is called when the IIOP stubs (XXX_Tie.class files) are not available PortableRemoteObject.narrow() returns null rather than throwing an exception.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Setup for RMI-IIOP. Call PortableRemoteObject.narrow() without having the IIOP stubs available.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      An exception is thrown indicating that the stubs are not available.

      ACTUAL -
      A null pointer is returned.


      REPRODUCIBILITY :
      This bug can be reproduced always.

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: