Symptom
Getting an Error " An internal error occurred " Pop up while trying to change the access control policy using Applied policies section ( Drop down ) under Device instead of the Access control page .
Device management > Edit device > Device tab > Applied policies.
Conditions
Device must have Policies configured and change to different policy
Workaround
Use Page from FMC Policies > Access control > Choose the desired policy and > choose the targeted device and deploy
Further Problem Description
Same Error thrown while changing the NAT Policy / Platform Settings from the drop down option
Pigtail Log from FMC while facing the error :
USMS: 05-17 09:54:55 [ERROR],(LwAPIUtils.java:487)
USMS: 05-17 09:54:55 com.cisco.nm.vms.api.device.LwDeviceManagerImpl, ajp-nio-127.0.0.1-9009-exec-7
USMS: 05-17 09:54:55 An internal error occurred. : [ assignImportedDeviceConfig ]
USMS: 05-17 09:54:55
USMS: 05-17 09:54:55 java.lang.NullPointerException
USMS: 05-17 09:54:55 at com.cisco.nm.vms.api.device.LwDeviceManagerImpl.assignSharedPolicies(LwDeviceManagerImpl.java:5655)
USMS: 05-17 09:54:55 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
USMS: 05-17 09:54:55 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
USMS: 05-17 09:54:55 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
USMS: 05-17 09:54:55 at java.base/java.lang.reflect.Method.invoke(Unknown Source)
USMS: 05-17 09:54:55 at com.cisco.nm.vms.common.external.VmsExternalProxy.invoke(VmsExternalProxy.java:221)
USMS: 05-17 09:54:55 at com.sun.proxy.$Proxy91.assignSharedPoliciesWithDomain(Unknown Source)
USMS: 05-17 09:54:55 at com.cisco.nm.vms.rpc.device.DeviceRPCImpl.assignSharedPolicies(DeviceRPCImpl.java:805)