Jboss pattern: step: 14. set alternative install dir Unix => $install_dir_exists is an array, thus step pops error: class java.util.ArrayList cannot be cast to class java.lang.StringDescriptionJboss pattern: step: 14. set alternative install dir Unix => $install_dir_exists is an array, however the condition is $install_dir_exists Not Starts With 0, which considers it as string.Thus pattern fails with error:java.lang.ClassCastException: class java.util.ArrayList cannot be cast to class java.lang.StringSteps to Reproduce > Run discovery to a Unix server with Jboss installed, make sure Jboss pattern is triggered> Review Jboss pattern log, step "set alternative install dir Unix" fails with error:java.lang.ClassCastException: class java.util.ArrayList cannot be cast to class java.lang.String> Debug Jboss pattern, test step 14. set alternative install dir Unix, it fails> if we change $install_dir_exists to $install_dir_exists[1] in the condition, then it worksWorkaroundOpen Jboss pattern > http > step: 14. set alternative install dir Unix > in the condition, change $install_dir_exists to $install_dir_exists[1]Related Problem: PRB1589419