Hide Forgot
Description of problem: Please see screenshot attached. I've seen this behavior only when running the installer in the automated test suite. The exception is thrown only when the installer test is run repeatedly.
Created attachment 800474 [details] screenshot
It would be good to have some stack traces from jstack or jconsole when this error is occuring, thanks
Created attachment 801845 [details] jstack-maven
Created attachment 801846 [details] jstack-server
Created attachment 801848 [details] jstack-server2
Another exception stack trace: org.jboss.as.cli.CliInitializationException: Failed to create an instance of class org.jboss.as.cli.impl.CommandContextFactoryImpl at org.jboss.as.cli.CommandContextFactory.getInstance(CommandContextFactory.java:46) at com.redhat.installer.postinstall.ServerCommands.<init>(ServerCommands.java:142) at com.redhat.installer.postinstall.ServerCommands.createSession(ServerCommands.java:214) at com.redhat.installer.postinstall.ServerShutdownHelper.shutdownServer(ServerShutdownHelper.java:87) at com.redhat.installer.postinstall.ServerShutdownHelper.shutdownServer(ServerShutdownHelper.java:72) at com.redhat.installer.postinstall.ServerShutdownHelper.run(ServerShutdownHelper.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.izforge.izpack.installer.ProcessPanelWorker$ExecutableClass.run(ProcessPanelWorker.java:765) at com.izforge.izpack.installer.ProcessPanelWorker$ProcessingJob.run(ProcessPanelWorker.java:516) at com.izforge.izpack.installer.ProcessPanelWorker.runJob(ProcessPanelWorker.java:462) at com.izforge.izpack.installer.ProcessPanelWorker.run(ProcessPanelWorker.java:401) at java.lang.Thread.run(Thread.java:724) Caused by: java.lang.ClassCastException: org.jboss.as.cli.impl.CommandContextFactoryImpl cannot be cast to org.jboss.as.cli.CommandContextFactory at org.jboss.as.cli.CommandContextFactory.getInstance(CommandContextFactory.java:44) ... 14 more
I cannot reproduce this issue on F18 with the latest installer.
I believe this issue to be resolved.
Verified in ER7.