1 Reply Latest reply on Dec 1, 2003 4:05 AM by ttjarl

    Web-console - Applet throws NoSuchMethodError

    ttjarl

      I am trying to get the web-console up and running, but I have not succeeded. When my WebBrowser tries to load the applet, the applet throws the following exception:

      java.lang.NoSuchMethodError: sun.applet.AppletPanel.changeFrameAppContext(Ljava/awt/Frame;Lsun/awt/AppContext;)V

      at sun.plugin.viewer.IExplorerPluginObject.appletStateChanged(Unknown Source)

      at sun.applet.AppletEventMulticaster.appletStateChanged(AppletEventMulticaster.java:32)

      at sun.applet.AppletPanel.dispatchAppletEvent(AppletPanel.java:232)

      at sun.applet.AppletPanel.runLoader(AppletPanel.java:531)

      at sun.applet.AppletPanel.run(AppletPanel.java:292)

      at java.lang.Thread.run(Thread.java:536)

      java.lang.NullPointerException

      at java.applet.Applet.getCodeBase(Applet.java:136)

      at org.jboss.console.navtree.AppletBrowser$AppletAdminContext.(AppletBrowser.java:161)

      at org.jboss.console.navtree.AppletBrowser.start(AppletBrowser.java:47)

      at sun.applet.AppletPanel.run(AppletPanel.java:370)

      at java.lang.Thread.run(Thread.java:536)



      I am using Win2000, IE6.0, SunJVM 1.4.2_02 as plugin & JBoss 3.2.2.

        • 1. Re: Web-console - Applet throws NoSuchMethodError
          ttjarl

          Problem solved:

          After upgrading to JavaVM 1.4.2_02, it seems like the registry settings for the browser plugin were incorrect. I opened Settings->Java Plug-in Properties->Advanced and changed Java Run Time Environment to "Use Java Plug-in Default".