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

_non_existent throws NullPointerException in poa/retain/defaultServant config

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • other-libs
    • None
    • merlin
    • unknown
    • solaris_1

      1. Create a poa with retain and use default servant policies.
      2. Do not set a default servant.
      3. Use the poa to create a reference with an id (but no servant).
      4. Publish the reference.
      5. Have a client lookup the published reference.
      6. Invoke _non_existent on the reference

      Notice an UNKNOWN reported by the client. This is because GenericPOAServerSC attempts to get the repo id of the servant to give to interceptors.

      Instead the client should get true.

            hcarr Harold Carr
            hcarr Harold Carr
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: