Symptoms
After upgrading DevSAK plugin and client, attempting to execute the log4jsync command may result in the following stack trace:
Error in getLogger
java.lang.ClassCastException: com.sailpoint.devsak.log4j.LogWindowAppender211 cannot be cast to com.sailpoint.devsak.log4j.LogWindowAppender211
at com.sailpoint.devsak.log4j.Log4jIntegration211.getDataWindow(Log4jIntegration211.java:87) ~[?:?]
at com.sailpoint.devsak.plugin.rest.ConsoleResource.getLogger(ConsoleResource.java:2012) [?:?]
at com.sailpoint.devsak.plugin.rest.ConsoleResource.getLogger(ConsoleResource.java:2165) [?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]
Solution
You may resolve this issue by entering "resetlogger" command within DevSAK or perhaps by restarting your application servers.