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

Exception thrown while instantiating PagedResultsResponseControl

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 5.0
    • core-libs

      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)

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: