Error in launching RapidMiner

rossh
rossh New Altair Community Member
edited November 5 in Community Q&A
When launcing RapidMiner from RapidAnalytics using webstart the following error occurs.

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1809)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1750)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1512)
at com.sun.javaws.Launcher.run(Launcher.java:130)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: com/rapidminer/tools/documentation/XMLOperatorDocBundle
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:305)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:255)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:229)
at com.rapidminer.tools.plugin.Plugin.registerOperators(Plugin.java:464)
at com.rapidminer.tools.plugin.Plugin.registerAllPluginOperators(Plugin.java:670)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:188)
at com.rapidminer.RapidMiner.init(RapidMiner.java:413)
at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:218)
at com.rapidminer.gui.RapidMinerGUI.launch(RapidMinerGUI.java:560)
at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:543)
... 9 more
Caused by: java.lang.ClassNotFoundException: com.rapidminer.tools.documentation.XMLOperatorDocBundle
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 21 more
Tagged:

Answers

  • rossh
    rossh New Altair Community Member
    Additional information. The above error occurs after the RapidMiner splash screen shows at the point of "Initializing Operators" with a dialog "Unable to launch the application".

    On the serverside, the following warning is shown:

    06:36:14,175 INFO  [de.rapidanalytics.web.servlet.PluginServlet] Request: /resources.xml
    06:36:14,179 WARNING [com.rapidminer] XML transformer does not support indentation: java.lang.IllegalArgumentException: Not supported: indent-number

    This is with the JBoss bundle of RA, running on Ubuntu 10.04.
  • rossh
    rossh New Altair Community Member
    Problem solved.

    The version of RapidMiner in RapidAnalytics is incompatible with extensions in the standalone RapidMiner.
    On startup it would try to load the extensions stored in ~/.RapidMiner5.

    Once this directory was removed, RapidMiner would complete startup when initiated from webstart in RapidAnalytics