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

Regression : NullPointerException comes to occur in 1.4.2_15 - 1.4.2_20

    Details

      Description

      A Customer migrate to 1.4.2_15( or later).
      They have found NullPointerException come to occur.

      java.lang.NullPointerException
      at com.sun.jndi.dns.Resolver.query(Resolver.java:64)
      at com.sun.jndi.dns.Resolver.findSoa(Resolver.java:135)
      at com.sun.jndi.dns.DnsContext.isZoneCurrent(DnsContext.java:892)
      at com.sun.jndi.dns.DnsContext.getNameNode(DnsContext.java:806)
      at com.sun.jndi.dns.DnsContext.c_list(DnsContext.java:298)
      at com.sun.jndi.toolkit.ctx.ComponentContext.p_list(ComponentContext.java:555)
      at com.sun.jndi.toolkit.ctx.PartialCompositeContext.list(PartialCompositeContext.java:273)
      at com.sun.jndi.toolkit.ctx.PartialCompositeContext.list(PartialCompositeContext.java:262)
      at javax.naming.InitialContext.list(InitialContext.java:387)
      at TestNPE142.main(TestNPE142.java:74)


      CONFIGURATION :
       Solaris10/jdk1.4.2_15 - 1.4.2_20ea

      NOTE :
      This exception did not occur in 1.4.2_14 and earlier.

      REPRODUCE :
       1. Edit the attached TestNPE142.java for your environmet compile
          (IP address of DNS and domainname should be changed.)
       2. Edit the attached run3.csh and invoke.
          (JDK path should be changed.)

      We can always reproduce.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                robm Robert Mckenna
                Reporter:
                tbaba Tadayuki Baba (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: