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

string_to_object() gets errors for some corbaname/corbaloc URLs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • other-libs
    • None
    • beta
    • sparc
    • solaris_2.6
    • Not verified

      Here are some URLs that are failing.

      Passing to string_to_object: corbaname:iiop:localhost:1050/
      Exception in thread "main" org.omg.CORBA.BAD_PARAM: minor code: 1398079690 completed: No
              at com.sun.corba.ee.internal.corba.ORB.string_to_object(ORB.java:1528)
      --
      Passing to string_to_object: corbaname:iiop:localhost:1050
      Exception in thread "main" org.omg.CORBA.BAD_PARAM: minor code: 1398079690 completed: No
              at com.sun.corba.ee.internal.corba.ORB.string_to_object(ORB.java:1528)

      --

      Passing to string_to_object: corbaloc:iiop:localhost:1050
      Exception in thread "main" java.lang.NullPointerException
              at
      com.sun.corba.ee.internal.corba.InitialNamingClient.getIORUsingHostInfo(InitialN
      amingClient.java:516)
              at
      com.sun.corba.ee.internal.corba.InitialNamingClient.resolve_corbaloc(InitialNami
      ngClient.java:505)
              at com.sun.corba.ee.internal.corba.ORB.string_to_object(ORB.java:1513)
      --
      Passing to string_to_object: corbaloc::1.0@localhost:1050/
      Exception in thread "main" org.omg.CORBA.INV_OBJREF: minor code: 1398079689
      completed: No
              at com.sun.corba.ee.internal.corba.ORB.string_to_object(ORB.java:1515)


      (Maybe this should get BAD_PARAMS instead of INV_OBJREF).

      --

      Problem when protocol specifier missing (should default to "iiop"):

      Passing to string_to_object: corbaloc::localhost:1050/NameService
      Exception in thread "main" org.omg.CORBA.BAD_PARAM: minor code: 1398080195 completed: No
              at com.sun.corba.ee.internal.corba.InitialNamingClient.checkcorbalocGrammer(InitialNamingClient.java:358)
              at com.sun.corba.ee.internal.corba.ORB.string_to_object(ORB.java:1507)

      *****************************************************************************

      ###@###.### 2001-10-02

      Fix verified OK.
       - With build : j2sdk-1_4_0-beta3-bin-b81-solsparc-27_sep_2001
       - With tests : tests/api/ins/NameResolution

      ****************************************************************************

            hputtaswsunw Hemanth Puttaswamy (Inactive)
            rleesunw Rosanna Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: