When using jconsole from the JDK something like this: $JAVA_HOME/bin/jconsole -J-Djava.class.path=$JAVA_HOME/lib/jconsole.jar:$JAVA_HOME/lib/tools.jar:./jboss-cli-client.jar -J-Djava.util.logging.config.file=logging-jconsole.properties The org.jboss.as.cli.gui.GuiMain makes a call to locate a product specific image: java.net.URL iconURL = org/jboss/as/cl/gui/GuiMain.getResource(getCliIconPath()); getCliIconPath() is looking in JBOSS_HOME to identify which product this is to return a product specific image it appears. ProductConfig productConfig = new ProductConfig(Module.getBootModuleLoader(), System.getenv("JBOSS_HOME"), null); iconPath = productConfig.getCliIcon(); We have seen a case when JBOSS_HOME is not set and jconsole is used from the JDK with jboss-cli-client.jar on the classpath that it causes a NPE. We should check for null and either use a default image from the client jar or such. Caused by: java.lang.NullPointerException at sun.misc.MetaIndex.mayContain(MetaIndex.java:243) at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:830) at sun.misc.URLClassPath.getResource(URLClassPath.java:199) at sun.misc.URLClassPath.getResource(URLClassPath.java:251) at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1305) at java.lang.ClassLoader.getResource(ClassLoader.java:1144) at java.lang.ClassLoader.getResource(ClassLoader.java:1142) at java.lang.Class.getResource(Class.java:2147) at org.jboss.as.cli.gui.GuiMain.<clinit>(GuiMain.java:63)
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions
Verified with EAP 6.4.12.CP.CR1;
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.