We are trying to generate the 'Export All License Usage Data' report in the Enterprise Dashboard. We are seeing the issue βAn internal error has occurred. Please try again laterβ and the report is not generated.
We are seeing the null pointer exception in the EnterpriseDashboard.log while generating the 'Export All License Usage Data' report.
Please find the attached Enterprise Dashboard debug logs and the screenshot.
Release : 10.5
Component : CA Service Virtualization
Database: DB2
DevTest Patches applied: dradis-10.5.0-DE475032-Refresh.jar
Looking at the enterprisedashboard.log, the following errors are thrown:
[qtp1584060492-25] ERROR com.ca.dradis.controller.LicensingController - Failed to process request:
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at java_util_Map$get$10.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at java_util_Map$get$10.call(Unknown Source)
at com.ca.dradis.license.PerformanceVSEValidator.isPerformanceMode(PerformanceVSEValidator.groovy:88)
at com.ca.dradis.license.PerformanceVSEValidator$isPerformanceMode$0.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
at com.ca.dradis.license.PerformanceVSEValidator$isPerformanceMode$0.callCurrent(Unknown Source)
at com.ca.dradis.license.PerformanceVSEValidator.isPerformanceVSE(PerformanceVSEValidator.groovy:98)
at com.ca.dradis.license.PerformanceVSEValidator$isPerformanceVSE.call(Unknown Source)
at com.ca.dradis.license.LicenseDataAggregator$OnlyNonPerformanceVSESValidator.validate(LicenseDataAggregator.groovy:43)
at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)...
[qtp1584060492-31] ERROR com.ca.dradis.controller.LicensingController - Could not export Excel file.
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at java_util_Map$get$10.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at java_util_Map$get$10.call(Unknown Source)
at com.ca.dradis.license.PerformanceVSEValidator.isPerformanceMode(PerformanceVSEValidator.groovy:88)
at com.ca.dradis.license.PerformanceVSEValidator$isPerformanceMode$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at com.ca.dradis.license.PerformanceVSEValidator$isPerformanceMode$0.call(Unknown Source)
at com.ca.dradis.export.LicenseDataToExcel.selectPerformanceMachines(LicenseDataToExcel.groovy:186)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)....
Engineering has back-ported the DevTest 10.6 fix to DevTest 10.5, which has already reached End of Service. Additional 10.5 patches for this issue will not be developed. The recommended long-term fix is to upgrade to DevTest 10.6 and apply the existing 'dradis-10.6.0-DE464706.jar' patch.
However, if you are unable to upgrade to 10.6 at this time, then the new 'dradis-DE505424-10.5.0.jar' patch is a combination of the fix from DE475032-Refresh, and the fix found in DevTest 10.6 patch in DE457329.
To apply the 'dradis-DE505424-10.5.0.jar' patch:
NOTE: Also, make sure that the registry, VSE, Portal, Simulator, Coordinator are connected to the same IAM that ED (to which these components are connected) is connected.