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

felix console displays Configuration invalid, can not start self-service. java.lang.IllegalArgumentException when User Registration is enabled via UI

    Details

      Description

      felix console displays Configuration invalid, can not start self-service. java.lang.IllegalArgumentException when User Registration is enabled via UI

      Steps:
      1. run sample1
      2. navigate to User Registration
      3. click Enable User Registration
      4. UI page loads
      5. felix console shows
      Configuration invalid, can not start self-service.
      java.lang.IllegalArgumentException: Unrecognized field "_id" (class org.forgerock.selfservice.core.config.ProcessInstanceConfig), not marked as ignorable (3 known properties: "stageConfigs", "storage", "snapshotToken"])
      at [Source: N/A; line: -1, column: -1] (through reference chain: org.forgerock.selfservice.core.config.ProcessInstanceConfig["_id"])
      at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3286)
      at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:3212)
      at org.forgerock.selfservice.json.JsonConfig.buildProcessInstanceConfig(JsonConfig.java:71)
      at org.forgerock.openidm.selfservice.impl.SelfService.activate(SelfService.java:133)
      ...
      Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "_id" (class org.forgerock.selfservice.core.config.ProcessInstanceConfig), not marked as ignorable (3 known properties: "stageConfigs", "storage", "snapshotToken"])
      at [Source: N/A; line: -1, column: -1] (through reference chain: org.forgerock.selfservice.core.config.ProcessInstanceConfig["_id"])
      ...
      2015-10-15 13:30:26:634 SEVE Bundle: org.forgerock.openidm.selfservice [139] [org.forgerock.openidm.selfservice] Component instance could not be created, activation failed [Framework]Configuration invalid, can not start self-service.
      java.lang.IllegalArgumentException: Unrecognized field "_id" (class org.forgerock.selfservice.core.config.ProcessInstanceConfig), not marked as ignorable (3 known properties: "stageConfigs", "storage", "snapshotToken"])
      at [Source: N/A; line: -1, column: -1] (through reference chain: org.forgerock.selfservice.core.config.ProcessInstanceConfig["_id"])

        Attachments

          Activity

            People

            • Assignee:
              markg Mark Gibson
              Reporter:
              markg Mark Gibson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: