Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-11724

Sample audit-jdbc failing on startup with error on org.forgerock.http.util.Json

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 6.5.0
    • Component/s: _Samples
    • Labels:
    • Environment:
      OpenIDM 6.5.0-SNAPSHOT (39a31d8)
    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      3
    • Sprint:
      OpenIDM Sprint 6.5-10.1

      Description

      Sample audit-jdbc failing on startup with error on org.forgerock.http.util.Json.
      This regression appeared at the same time as OPENIDM-11722("Scripted CREST Connector missing from latest IDM builds")
      But we don't know what could have caused it.

      To reproduce, launch OpenIDM with audit-jdbc sample.
      Here is what we get in the log:

      [30] Sep 18, 2018 10:37:47.504 AM org.forgerock.openicf.connectors.scriptedsql.ScriptedSQLConfiguration super$3$validate
      SEVERE: Failed to validate and load script: SearchScript.groovy
      org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      file:/root/workspace/IDM-6.5.x/full_linux_mysql/results/20180918-102705/security/encryption_of_password_in_provisioner_file/IDM/openidm/samples/audit-jdbc/tools/JsonValueUtil.groovy: 12: unable to resolve class org.forgerock.http.util.Json
       @ line 12, column 1.
         import org.forgerock.http.util.Json;
         ^
      
      1 error
      
      	at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
      	at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:946)
      	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:593)
      	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:542)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cgdrake Chris Drake
                Reporter:
                laurent.bristiel Laurent Bristiel [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: