0 Replies Latest reply: Apr 20, 2010 12:16 PM by 807573 RSS

    SRM Policy Import Failure

    807573
      The Weekly SRM data import is getting failed during policy import with below error message_, but the users and account imports are working fine. Can you please suggest what could be the reason for failure?

      11:26:01,931 WARN [CreateSIMPolicyFunction] No Role consuming SIM connection has been setup. Check settings in Tools | Configure | IAM Servers
      11:26:02,094 WARN [CreateSIMPolicyFunction] No Role consuming SIM connection has been setup. Check settings in Tools | Configure | IAM Servers
      11:26:02,523 ERROR [PolicyFileReader] ---> Internal error occured file reading file:
      java.lang.NullPointerException
      at com.vaau.rbacx.core.support.RbacxDataImporterImpl.importPolicies(RbacxDataImporterImpl.java:1395)
      at com.vaau.rbacx.core.support.RbacxDataImporterImpl.importPolicies(RbacxDataImporterImpl.java:991)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy80.importPolicies(Unknown Source)
      at com.vaau.rbacx.iam.file.csv.PolicyFileReader.readInternal(PolicyFileReader.java:175)
      at com.vaau.rbacx.iam.file.support.AbstractFileReader.read(AbstractFileReader.java:120)
      at com.vaau.rbacx.iam.file.support.AbstractFileReader.run(AbstractFileReader.java:80)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)


      --- Sample Policy file format ---

      VPN_01_Policies_lr.csv

      "VPN","B_IT_ACCESSCTLMGMT_QA","B_IT_ACCESSCTLMGMT_QA_VPN_1165003_5144003_POLICY","^/Base/Admin^VPN US-Admin^^Manage switch=View: Manage Users=View"
      "VPN","B_IT_ACCESSCTLMGMT_QA","B_IT_ACCESSCTLMGMT_QA_VPN_1165002_5144002_POLICY","^/Base/Admin^VPN UK-Admin^^Manage switch=View: Manage Users=View"
      "VPN","B_IT_ACCESSCTLOPS","B_IT_ACCESSCTLOPS_VPN_1166007_5145007_POLICY","^/Base/Admin^VPN UK-Admin^^Manage switch=View: Manage Users=Manage"
      "VPN","B_IT_ACCESSCTLOPS","B_IT_ACCESSCTLOPS_VPN_1166008_5145008_POLICY","^/Base/Admin^VPN US-Admin^^Manage switch=View: Manage Users=Manage"


      VPN_01_Policies_lr.sig

      CV_RMTSVR=phenols
      CV_RMTDIR=/prod/home01/data/./serial/role_mgr/role_mgr_detl/main/.
      CV_RMTFILE=VPN_01_Policies_lr.csv
      CV_DATADATE=20100417
      CV_RECCNT=4
      CV_CKSUM=3443771314
      CV_BYTECNT=580

      Note: The import was working fine earlier, we couldn't able to figure out what could have changed recently..