0 Replies Latest reply on Dec 4, 2001 2:20 PM by Alex Winawer

    ClassCastException starting monitor.jar

    Alex Winawer Newbie

      Using JBoss-2.4.4_Tomcat-4.0.1-beta and Sun JDK 1.4 beta 3, I get the following when starting monitor.jar:

      Exception in thread "main" java.lang.ClassCastException: java.lang.String
      at javax.swing.JMenuItem.configurePropertiesFromAction(JMenuItem.java:358)
      at javax.swing.AbstractButton.setAction(AbstractButton.java:970)
      at javax.swing.JMenu.add(JMenu.java:608)
      at org.jboss.admin.monitor.MonitorFrameMenu.createFileMenu(MonitorFrameMenu.java:80)
      at org.jboss.admin.monitor.MonitorFrameMenu.(MonitorFrameMenu.java:60)
      at org.jboss.admin.monitor.MonitorFrame.(MonitorFrame.java:103)
      at org.jboss.admin.monitor.Main.main(Main.java:30)

      Any ideas what the cause of this is / how to avoid it?

      Thanks