Hello,

I have an installation where the data purge utility gives an exception when trying to purge the database:
---
Data Purge Utility
This utility allows you to remove historical data from the operations database in
NetIQ Identity Governance. It can purge items that are deleted or are no longer in
use and are older than the current date and time or a specified retention date and
time.
---------------------------------------------------------------------------------------

Purging all entities of all purgeable entity types older than Sep 29, 2017 12:00:00 AM.

Requesting purgeable Review Definitions older than Sep 29, 2017 12:00:00 AM ... [ok]
Requesting purgeable Review Instances older than Sep 29, 2017 12:00:00 AM ... [ok]
Requesting purgeable Technical Roles older than Sep 29, 2017 12:00:00 AM ... [ok]
Requesting purgeable SoD Policies older than Sep 29, 2017 12:00:00 AM ... [ok]
Requesting purgeable SoD Cases older than Sep 29, 2017 12:00:00 AM ... [ok]
Requesting purgeable Snapshots older than Sep 29, 2017 12:00:00 AM ... [ok]
Requesting purgeable Data Sources older than Sep 29, 2017 12:00:00 AM ... [ok]
Requesting purgeable Collections older than Sep 29, 2017 12:00:00 AM ... [ok]
Requesting purgeable Bulk Data Update Definitions older than Sep 29, 2017 12:00:00 AM ... [ok]
Requesting purgeable Business Roles older than Sep 29, 2017 12:00:00 AM ... [ok]
Requesting purgeable Risk Score Statuses older than Sep 29, 2017 12:00:00 AM ... [ok]
Requesting purgeable Access Requests older than Sep 29, 2017 12:00:00 AM ... [ok]
Requesting purgeable Request Policies older than Sep 29, 2017 12:00:00 AM ... [ok]
Requesting purgeable Request Approval Policies older than Sep 29, 2017 12:00:00 AM ... [ok]

Purging 4 Data Sources ... [FAILED]

Unexpected response code received: 489
Error code from server: InternalExceptionOccured
Error message from server: Encountered unexpected error.
---


using the following configuration file:
---
ar.host=ig.xxxxx.xxx
ar.port=443
ar.protocol=https
ar.user.name=igadmin
ar.user.password=xxx
auth.host=ig.xxxxx.xxx
auth.port=443
auth.protocol=https
auth.client.id=iac
auth.client.password=xxx
retention.days=7
purgeall
---


From catalina.out it indicates some kind of localization issue but how can I find the real cause?

---
2017-10-06 10:01:46,279 [DEBUG] RestApiAuthFilter [IG] Allowing access to /data/mgt/purgeable/DATA_SOURCE/60 for Bootstrap Admin
2017-10-06 10:01:46,305 [ERROR] DataManagementService [IG] Ett oväntat fel uppstod: null
com.netiq.common.i18n.LocalizedException: Encountered unexpected error: null
at com.netiq.iac.common.IacException.<init>(IacExcept ion.java:102)
at com.netiq.iac.persistence.spi.exception.IacPersist enceException.<init>(IacPersistenceException.java: 117)
at com.netiq.iac.persistence.service.DataSourcePurgeS ervice.deleteApplication(DataSourcePurgeService.ja va:383)
at com.netiq.iac.persistence.service.DataSourcePurgeS ervice.deleteDataSource(DataSourcePurgeService.jav a:224)
at com.netiq.iac.persistence.service.DataSourcePurgeS ervice.access$1(DataSourcePurgeService.java:210)
at com.netiq.iac.persistence.service.DataSourcePurgeS ervice$2.doIn(DataSourcePurgeService.java:101)
at com.netiq.iac.persistence.dao.DataTransactor.execu te(DataTransactor.java:137)
at com.netiq.iac.persistence.service.DataSourcePurgeS ervice.purge(DataSourcePurgeService.java:104)
at com.netiq.iac.server.rest.DataManagementService.pu rgeEntity(DataManagementService.java:348)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.jersey.spi.container.JavaMethodInvokerFact ory$1.invoke(JavaMethodInvokerFactory.java:60)
at
com.sun.jersey.server.impl.model.method.dispatch.A bstractResourceMethodDispatchProvider$ResponseOutI nvoker._dispatch(AbstractResourceMethodDispatchPro vider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.R esourceJavaMethodDispatcher.dispatch(ResourceJavaM ethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRul e.accept(HttpMethodRule.java:302)
at com.sun.jersey.server.impl.uri.rules.RightHandPath Rule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.ResourceClass Rule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPath Rule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceC lassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicat ionImpl._handleRequest(WebApplicationImpl.java:154 2)
at com.sun.jersey.server.impl.application.WebApplicat ionImpl._handleRequest(WebApplicationImpl.java:147 3)
at com.sun.jersey.server.impl.application.WebApplicat ionImpl.handleRequest(WebApplicationImpl.java:1419 )
at com.sun.jersey.server.impl.application.WebApplicat ionImpl.handleRequest(WebApplicationImpl.java:1409 )
at com.sun.jersey.spi.container.servlet.WebComponent. service(WebComponent.java:409)
at com.sun.jersey.spi.container.servlet.ServletContai ner.service(ServletContainer.java:558)
at com.sun.jersey.spi.container.servlet.ServletContai ner.service(ServletContainer.java:733)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:729)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilt er(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:165)
at com.netiq.iac.common.j2ee.NoCacheFilter.doFilter(N oCacheFilter.java:64)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:165)
at com.netiq.iac.server.j2ee.RestApiAuthFilter.doFilt er(RestApiAuthFilter.java:145)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:165)
at com.netiq.iac.server.j2ee.AuthFilter.doFilter(Auth Filter.java:230)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:165)
at com.netiq.iac.server.j2ee.CORSFilter.doFilter(CORS Filter.java:80)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:474)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve. invoke(AbstractAccessLogValve.java:624)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:349)
at org.apache.coyote.http11.Http11Processor.service(H ttp11Processor.java:783)
at org.apache.coyote.AbstractProcessorLight.process(A bstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandl er.process(AbstractProtocol.java:789)
at org.apache.tomcat.util.net.NioEndpoint$SocketProce ssor.doRun(NioEndpoint.java:1437)
at org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$Wrapping Runnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.netiq.iac.persistence.service.DataSourcePurgeS ervice.deleteApplication(DataSourcePurgeService.ja va:370)
... 60 more
---

When running without purgeall I have four purgable data sources but none of them can be purged. Is there any way to get more
detailed information about the error?

Best regars,
Tobias