[midPoint] Java API calls throwing SecurityException

Prabhakara Rao Doddapaneni dp_rao at yahoo.com
Sat May 6 02:40:05 CEST 2017


When I try modelService.getObject() from my java code running in midpoint, it is throwing an exception as following:
java.lang.NullPointerException: null at com.evolveum.midpoint.security.impl.SecurityEnforcerImpl.getAuthorities(SecurityEnforcerImpl.java:672) ~[security-impl-3.5.0-SNAPSHOT.jar:na] at com.evolveum.midpoint.security.impl.SecurityEnforcerImpl.compileSecurityConstraints(SecurityEnforcerImpl.java:691) ~[security-impl-3.5.0-SNAPSHOT.jar:na] at com.evolveum.midpoint.model.impl.controller.SchemaTransformer.applySchemasAndSecurity(SchemaTransformer.java:185) ~[model-impl-3.5.0-SNAPSHOT.jar:na] at com.evolveum.midpoint.model.impl.controller.ModelController.getObject(ModelController.java:257) ~[model-impl-3.5.0-SNAPSHOT.jar:na]
Appreciate if someone help me know how to instantiate and provide the parameters required in this call.
Thanks,Prabhakar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170506/a56006bc/attachment.htm>


More information about the midPoint mailing list