-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: OpenIDM 3.1.0
-
Fix Version/s: OpenIDM 3.1.0
-
Component/s: _Samples
-
Labels:
sample6 using fake AD stopped working after commit:
http://sources.forgerock.org/changelog/openidm?cs=4375
"Update the OpenICF versions"
So, when we set up sample6 to use fake AD, the AD resource is not available.
For example:
curl --header "X-OpenIDM-Password: openidm-admin" --header "X-OpenIDM-Username: openidm-admin" --request GET "http://localhost:8080/openidm/system/ad/account/?_queryId=query-all-ids" {"code":500,"reason":"Internal Server Error","message":"java.lang.NoClassDefFoundError cannot be cast to org.identityconnectors.framework.common.objects.ConnectorObject"
and in the log we get:
WARNING: Resource exception: 500 Internal Server Error: "java.lang.NoClassDefFoundError cannot be cast to org.identityconnectors.framework.common.objects.ConnectorObject" org.forgerock.json.resource.InternalServerErrorException: java.lang.NoClassDefFoundError cannot be cast to org.identityconnectors.framework.common.objects.ConnectorObject at org.forgerock.openidm.provisioner.openicf.impl.OpenICFProvisionerService$ObjectClassResourceProvider.queryCollection(OpenICFProvisionerService.java:1495) at org.forgerock.json.resource.Resources$CollectionHandler.handleQuery(Resources.java:254) at org.forgerock.json.resource.Router.handleQuery(Router.java:264)
=> problem in samples/sample6/alternatives/provisioner.openicf-fakead.json file?
- is related to
-
OPENICF-334 The BufferedResultsHandler can not handle properly the Error
-
- Closed
-