Notifications

7 views

Symptoms


Linux Server pattern discovery is failing with an error as "java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map"

Release


Before London.

Cause


"Linux Server" Pattern, Step 13.82: "Merge proc_mount and file systems" would fail with below exception if the $prodMounts variable is empty.

java.lang.String cannot be cast to java.util.Map 
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map

Resolution


Update "Linux Server" pattern step 13.82 by adding a precondition as shown below. This precondition would skip this step if the $procMounts is empty.
This has been already been fixed in London release.

 

Article Information

Last Updated:2019-03-14 14:37:04
Published:2019-03-14
Linux Server Step 13.82.png