Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

Launching RM from RA intermittent error

sweetcornsweetcorn Member Posts: 3 Contributor I
edited July 2019 in Help
Hi All,

Every second time (seems to be the pattern...) I launch RM from RA I get an error:

Unable to launch the application.

I click "Details" and get:

Error: Unexpected exception:java.lang.reflect.InvocationTargetException

I can see "Launch file":
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://rapidsrv:8080/webstart/" href="http://rapidsrv:8080/RAWS/rapidminer.jnlp">
<information>
<title>RapidMiner 5.2</title>
<vendor>Rapid-I</vendor>
<icon href="rapidminer_icon.png" kind="default" />
<icon href="splashscreen_community.png" kind="splash" />
<shortcut online="true">
<desktop />
<menu submenu="Rapid-I" />
</shortcut>
<homepage>http://www.rapidminer.com</homepage&gt;
<offline-allowed />
<association mime-type="application-x/x-rapidminer"
extensions="rmp" />
</information>

<security>
<all-permissions />
</security>

<resources>
<!-- Application Resources -->
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" initial-heap-size="1000m" max-heap-size="1000m"/>

        <jar href="rapidminer.jar" main="true"/>
        <jar href="launcher.jar" main="false"/>

        <!-- jar href="bcmail.jar" main="false"/ -->
        <!-- jar href="bcprov.jar" main="false"/ -->
        <jar href="blas.jar" main="false"/>
        <jar href="collections-generic.jar" main="false"/>
        <jar href="colt.jar" main="false"/>
        <jar href="commons-codec-1.4.jar" main="false"/>
        <jar href="commons-collections.jar" main="false"/>
        <jar href="commons-httpclient-3.1.jar" main="false"/>
        <jar href="commons-lang-2.4.jar" main="false"/>
        <jar href="commons-logging-1.1.jar" main="false"/>
        <jar href="concurrent.jar" main="false"/>
        <jar href="encog.jar" main="false"/>
        <jar href="freehep-export.jar" main="false"/>
        <jar href="freehep-graphics2d.jar" main="false"/>
        <jar href="freehep-graphicsio-emf.jar" main="false"/>
        <jar href="freehep-graphicsio.jar" main="false"/>
        <jar href="freehep-graphicsio-pdf.jar" main="false"/>
        <jar href="freehep-graphicsio-ps.jar" main="false"/>
        <jar href="freehep-graphicsio-svg.jar" main="false"/>
        <jar href="freehep-graphicsio-swf.jar" main="false"/>
        <jar href="freehep-io.jar" main="false"/>
        <jar href="freehep-swing.jar" main="false"/>
        <jar href="freehep-util.jar" main="false"/>
        <jar href="freehep-xml.jar" main="false"/>
        <!-- jar href="gentlyWEB.jar" main="false"/ -->
        <!-- jar href="glazedlists.jar" main="false"/ -->
        <jar href="groovy-all-1.7.7.jar" main="false"/>
        <jar href="ivy-2.2.0.jar" main="false"/>
        <jar href="jama.jar" main="false"/>
        <jar href="jcommon.jar" main="false"/>
        <!-- jar href="jdom.jar" main="false"/ -->
        <jar href="jep.jar" main="false"/>
        <jar href="jfreechart.jar" main="false"/>
        <!-- jar href="jh.jar" main="false"/ -->
        <jar href="jmathplot.jar" main="false"/>
        <jar href="joone-engine.jar" main="false"/>
        <jar href="jugpreview.jar" main="false"/>
        <jar href="jung-algorithms.jar" main="false"/>
        <jar href="jung-api.jar" main="false"/>
        <jar href="jung-graph-impl.jar" main="false"/>
        <jar href="jung-visualization.jar" main="false"/>
        <!-- jar href="jwnl.jar" main="false"/ -->
        <jar href="jxl.jar" main="false"/>
        <jar href="kdb.jar" main="false"/>
        <jar href="looks.jar" main="false"/>
        <jar href="mail.jar" main="false"/>
        <jar href="microba.jar" main="false"/>
        <!-- jar href="rome.jar" main="false"/ -->
        <jar href="rsyntaxtextarea.jar" main="false"/>
        <jar href="vldocking.jar" main="false"/>
        <jar href="ws-commons-util-1.0.2.jar" main="false"/>
        <jar href="xmlrpc-client-3.1.3.jar" main="false"/>
        <jar href="xmlrpc-common-3.1.3.jar" main="false"/>
        <jar href="xpp3.jar" main="false"/>
        <jar href="xstream.jar" main="false"/>
       
<property name="rapidminer.homerepository.url" value="http://rapidsrv:8080" />
<property name="rapidminer.homerepository.user" value="username" />
</resources>

<application-desc name="RapidMiner 5.2"
main-class="com.rapidminer.gui.RapidMinerGUI" width="800" height="600">

</application-desc>

<update check="background" />
</jnlp>

And also Exception:
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1042)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1326)
at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:234)
at com.rapidminer.gui.RapidMinerGUI.launch(RapidMinerGUI.java:523)
at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:505)
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.NullPointerException
at javax.swing.text.html.parser.Parser.errorContext(Parser.java:736)
at javax.swing.text.html.parser.Parser.parse(Parser.java:2240)
at javax.swing.text.html.parser.DocumentParser.parse(DocumentParser.java:105)
at javax.swing.text.html.parser.ParserDelegator.parse(ParserDelegator.java:78)
at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:232)
at javax.swing.JEditorPane.setText(JEditorPane.java:1499)
at javax.swing.JEditorPane.<init>(JEditorPane.java:273)
at com.rapidminer.gui.tools.ExtendedHTMLJEditorPane.<init>(ExtendedHTMLJEditorPane.java:53)
at com.rapidminer.gui.tools.WelcomeScreen.<init>(WelcomeScreen.java:236)
at com.rapidminer.gui.MainFrame.<init>(MainFrame.java:419)
at com.rapidminer.gui.RapidMinerGUI$1.run(RapidMinerGUI.java:237)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

When this happens, I just close the error, relaunch RM and everything works ok. But I get the error again if I repeat the steps. Has anybody seen this before or can recommend any fix?

Let me know if you need more info on my system.

Thanks.
Tagged:
Sign In or Register to comment.