-
Bug
-
Resolution: Duplicate
-
P3
-
1.4.2_15
-
sparc
-
solaris_10
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.
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.
- duplicates
-
JDK-6585239 Regression: 2 DNS tests fail with JDK 5.0u13 b01 and pass with 5.0u12fcs
-
- Closed
-
- relates to
-
JDK-5053708 DNS provider does not cleanup resources properly
-
- Resolved
-