Internal Error seen when 'Export All License Usage Data' report is executed for SV 10.5 Enterprise Dashboard
search cancel

Internal Error seen when 'Export All License Usage Data' report is executed for SV 10.5 Enterprise Dashboard

book

Article ID: 217419

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

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.

Environment

Release : 10.5

Component : CA Service Virtualization

Database: DB2

DevTest Patches applied: dradis-10.5.0-DE475032-Refresh.jar

Cause

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)....

This is a known issue, which was fixed in DevTest 10.6,  'dradis-10.6.0-DE464706.jar' patch provided via support cases 31962752/31933469. 

 

Resolution

 

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: 

  1. Stop all DevTest services in all the machines.

  2. Take a backup of the existing 'dradis-10.5.0-DE475032-Refresh.jar' present in <DEVTEST_HOME>/lib/dradis by moving it to a different folder. 
    IMPORTANT: Do not just rename the jar. Make sure that this jar is deleted from this folder before you apply the patch.

  3. Place/Replace the 'dradis-10.5.0-DE475032-Refresh.jar' with the new 'dradis-DE505424-10.5.0.jar'.

  4. Start the Enterprise Dashboard, Registry, all the VSEs, Portal, Coordinator, Simulator, Broker etc.

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. 

Attachments