-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
5.0
-
sparc
-
solaris_9
After the migration of few LDAP controls (Bug id -4634457) from LDAP booster pack to java extenstion packages, following instantiations are throwing exception.
1. new PagedResultsResponseControl(PagedResultsResponseControl.OID,
Control.CRITICAL, emptyBerString)
Exception :
com.sun.jndi.ldap.Ber$DecodeException: Insufficient data
at com.sun.jndi.ldap.BerDecoder.parseByte(BerDecoder.java:120)
at com.sun.jndi.ldap.BerDecoder.parseSeq(BerDecoder.java:94)
at javax.naming.ldap.PagedResultsResponseControl.<init> (PagedResultsResponseControl.java:86)
at BindControlObjects.run(BindControlObjects.java:95)
at TestUtils.runTest(TestUtils.java:61)
at TestUtils.runTest(TestUtils.java:44)
at BindControlObjects.main(BindControlObjects.java:61)
2. new SortResponseControl(SortResponseControl.OID,
Control.CRITICAL, emptyBerString)
Exception :
com.sun.jndi.ldap.Ber$DecodeException: Insufficient data
at com.sun.jndi.ldap.BerDecoder.parseByte(BerDecoder.java:120)
at com.sun.jndi.ldap.BerDecoder.parseSeq(BerDecoder.java:94)
at javax.naming.ldap.SortResponseControl.<init> (SortResponseControl.java:105)
at BindControlObjects.run(BindControlObjects.java:95)
at TestUtils.runTest(TestUtils.java:61)
at TestUtils.runTest(TestUtils.java:44)
at BindControlObjects.main(BindControlObjects.java:61)
1. new PagedResultsResponseControl(PagedResultsResponseControl.OID,
Control.CRITICAL, emptyBerString)
Exception :
com.sun.jndi.ldap.Ber$DecodeException: Insufficient data
at com.sun.jndi.ldap.BerDecoder.parseByte(BerDecoder.java:120)
at com.sun.jndi.ldap.BerDecoder.parseSeq(BerDecoder.java:94)
at javax.naming.ldap.PagedResultsResponseControl.<init> (PagedResultsResponseControl.java:86)
at BindControlObjects.run(BindControlObjects.java:95)
at TestUtils.runTest(TestUtils.java:61)
at TestUtils.runTest(TestUtils.java:44)
at BindControlObjects.main(BindControlObjects.java:61)
2. new SortResponseControl(SortResponseControl.OID,
Control.CRITICAL, emptyBerString)
Exception :
com.sun.jndi.ldap.Ber$DecodeException: Insufficient data
at com.sun.jndi.ldap.BerDecoder.parseByte(BerDecoder.java:120)
at com.sun.jndi.ldap.BerDecoder.parseSeq(BerDecoder.java:94)
at javax.naming.ldap.SortResponseControl.<init> (SortResponseControl.java:105)
at BindControlObjects.run(BindControlObjects.java:95)
at TestUtils.runTest(TestUtils.java:61)
at TestUtils.runTest(TestUtils.java:44)
at BindControlObjects.main(BindControlObjects.java:61)
- relates to
-
JDK-4634457 Support for standard LDAP controls
- Resolved