Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-3854

"exceptions occured" message while running OULU enc test suite

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Component/s: core server
    • Labels:
      None

      Description

      Found using OpenDJ 4.0.0 rev ff9ce14b894.

      Running the OULU enc test suite a lot of test cases received the following message from the server:

      Writing test case #114, 40 bytes, to beaufort.internal.forgerock.com port 1389
      Wrote, waiting 1000 ms for reply
      37 bytes received
      00000000  30 23 02 01 01 65 1e 0a 01 50 04 00 04 17 32 20  0#...e...P....2
      00000016  65 78 63 65 70 74 69 6f 6e 73 20 6f 63 63 75 72  exceptions occur
      00000032  72 65 64 2e 20                                   red.
      

      Same test case using OpenDJ 3.5.0:

      Writing test case #114, 40 bytes, to comte.internal.forgerock.com port 1389
      Wrote, waiting 1000 ms for reply
      535 bytes received
      00000000  30 82 02 13 02 01 00 78 82 02 0c 0a 01 02 04 00  0......x........
      00000016  04 82 01 eb 43 61 6e 6e 6f 74 20 64 65 63 6f 64  ....Cannot decod
      00000032  65 20 74 68 65 20 70 72 6f 76 69 64 65 64 20 41  e the provided A
      00000048  53 4e 2e 31 20 73 65 71 75 65 6e 63 65 20 61 73  SN.1 sequence as
      00000064  20 61 6e 20 4c 44 41 50 20 6d 65 73 73 61 67 65   an LDAP message
      00000080  20 62 65 63 61 75 73 65 20 74 68 65 20 73 65 63   because the sec
      00000096  6f 6e 64 20 65 6c 65 6d 65 6e 74 20 6f 66 20 74  ond element of t
      00000112  68 65 20 73 65 71 75 65 6e 63 65 20 63 6f 75 6c  he sequence coul
      00000128  64 20 6e 6f 74 20 62 65 20 64 65 63 6f 64 65 64  d not be decoded
      00000144  20 61 73 20 74 68 65 20 70 72 6f 74 6f 63 6f 6c   as the protocol
      00000160  20 6f 70 3a 20 6f 72 67 2e 6f 70 65 6e 64 73 2e   op: org.opends.
      00000176  73 65 72 76 65 72 2e 74 79 70 65 73 2e 4c 44 41  server.types.LDA
      00000192  50 45 78 63 65 70 74 69 6f 6e 3a 20 43 61 6e 6e  PException: Cann
      00000208  6f 74 20 64 65 63 6f 64 65 20 74 68 65 20 70 72  ot decode the pr
      00000224  6f 76 69 64 65 64 20 41 53 4e 2e 31 20 65 6c 65  ovided ASN.1 ele
      00000240  6d 65 6e 74 20 61 73 20 61 6e 20 4c 44 41 50 20  ment as an LDAP 
      00000256  73 65 61 72 63 68 20 72 65 71 75 65 73 74 20 70  search request p
      00000272  72 6f 74 6f 63 6f 6c 20 6f 70 20 62 65 63 61 75  rotocol op becau
      00000288  73 65 20 74 68 65 20 73 63 6f 70 65 20 63 6f 75  se the scope cou
      00000304  6c 64 20 6e 6f 74 20 62 65 20 64 65 63 6f 64 65  ld not be decode
      00000320  64 3a 20 6f 72 67 2e 66 6f 72 67 65 72 6f 63 6b  d: org.forgerock
      00000336  2e 6f 70 65 6e 64 6a 2e 6c 64 61 70 2e 44 65 63  .opendj.ldap.Dec
      00000352  6f 64 65 45 78 63 65 70 74 69 6f 6e 3a 20 43 61  odeException: Ca
      00000368  6e 6e 6f 74 20 64 65 63 6f 64 65 20 74 68 65 20  nnot decode the 
      00000384  70 72 6f 76 69 64 65 64 20 41 53 4e 2e 31 20 69  provided ASN.1 i
      00000400  6e 74 65 67 65 72 20 65 6c 65 6d 65 6e 74 20 62  nteger element b
      00000416  65 63 61 75 73 65 20 74 68 65 20 6c 65 6e 67 74  ecause the lengt
      00000432  68 20 6f 66 20 74 68 65 20 65 6c 65 6d 65 6e 74  h of the element
      00000448  20 76 61 6c 75 65 20 77 61 73 20 6e 6f 74 20 62   value was not b
      00000464  65 74 77 65 65 6e 20 6f 6e 65 20 61 6e 64 20 66  etween one and f
      00000480  6f 75 72 20 62 79 74 65 73 20 28 61 63 74 75 61  our bytes (actua
      00000496  6c 20 6c 65 6e 67 74 68 20 77 61 73 20 30 29 8a  l length was 0).
      00000512  16 31 2e 33 2e 36 2e 31 2e 34 2e 31 2e 31 34 36  .1.3.6.1.4.1.146
      00000528  36 2e 32 30 30 33 36                             6.20036
      

        Attachments

          Activity

            People

            • Assignee:
              csovant Christophe Sovant
              Reporter:
              csovant Christophe Sovant
              Dev Assignee:
              Christophe Sovant
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: