RapidMiner hangs in Creating Frame in both Mac OS X Snow Leopard

psps1368
psps1368 New Altair Community Member
edited November 5 in Community Q&A
Hi
This one is driving me crazy!
For a Java Application, I must run windows virtual machine....

As the subject says, I'm stuck with RapidMiner in "Creating Frame" in the splash screen. In both Snow Leopard & Lion.
I have deleted .RapidMiner5 folder millions of times but didn't work.
Even I Installed JDK 1.7 Developer Preview (Changed the order of use in Java Prefernces) but didn't work either.
Here's the log when I run it through the terminal:
$ java -jar rapidminer.jar 
Oct 25, 2011 10:13:22 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: Property rapidminer.home is not set. Guessing.
Oct 25, 2011 10:13:22 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: Trying parent directory of '/- Files -/Payam's University/- M.Sc. -/- Term 1 -/Data Mining/rapidminer-5.1/lib/rapidminer.jar'...gotcha!
Oct 25, 2011 10:13:22 PM com.rapidminer.RapidMiner writeLastVersion
WARNING: Cannot write current version into property file.
java.io.FileNotFoundException: /Users/payamsiyari/.RapidMiner5/lastversion (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
at java.io.FileWriter.<init>(FileWriter.java:73)
at com.rapidminer.RapidMiner.writeLastVersion(RapidMiner.java:591)
at com.rapidminer.RapidMiner.performInitialSettings(RapidMiner.java:585)
at com.rapidminer.RapidMiner.init(RapidMiner.java:448)
at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:221)
at com.rapidminer.gui.RapidMinerGUI.launch(RapidMinerGUI.java:505)
at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:488)
Oct 25, 2011 10:13:22 PM com.rapidminer.tools.ParameterService init
INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
Oct 25, 2011 10:13:25 PM com.rapidminer.parameter.ParameterTypePassword decryptPassword
WARNING: Password in XML file looks like unencrypted plain text.
Oct 25, 2011 10:13:26 PM com.rapidminer.tools.jdbc.JDBCProperties <init>
WARNING: Missing database driver class name for 'ODBC Bridge (e.g. Access)'
Oct 25, 2011 10:13:26 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver ca.ingres.jdbc.IngresDriver not found. Probably the driver is not installed.
Oct 25, 2011 10:13:26 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver oracle.jdbc.driver.OracleDriver not found. Probably the driver is not installed.
[Fatal Error] connections.xml:1:1: Premature end of file.
Oct 25, 2011 10:13:26 PM com.rapidminer.tools.jdbc.connection.DatabaseConnectionService init
WARNING: Failed to read database connections file: org.xml.sax.SAXParseException: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)
at com.rapidminer.io.process.XMLTools.parse(XMLTools.java:179)
at com.rapidminer.tools.jdbc.connection.DatabaseConnectionService.init(DatabaseConnectionService.java:92)
at com.rapidminer.RapidMiner.init(RapidMiner.java:474)
at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:221)
at com.rapidminer.gui.RapidMinerGUI.launch(RapidMinerGUI.java:505)
at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:488)
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1078)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1326)
at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:237)
at com.rapidminer.gui.RapidMinerGUI.launch(RapidMinerGUI.java:505)
at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:488)
Caused by: java.lang.RuntimeException: Unclosed '
at javax.swing.text.html.CSSParser.readTill(CSSParser.java:657)
at javax.swing.text.html.CSSParser.nextToken(CSSParser.java:461)
at javax.swing.text.html.CSSParser.parseTillClosed(CSSParser.java:414)
at javax.swing.text.html.CSSParser.parseIdentifiers(CSSParser.java:386)
at javax.swing.text.html.CSSParser.parseDeclaration(CSSParser.java:340)
at javax.swing.text.html.CSSParser.parseDeclarationBlock(CSSParser.java:308)
at javax.swing.text.html.CSSParser.parseRuleSet(CSSParser.java:255)
at javax.swing.text.html.CSSParser.getNextStatement(CSSParser.java:161)
at javax.swing.text.html.CSSParser.parse(CSSParser.java:136)
at javax.swing.text.html.StyleSheet$CssParser.parse(StyleSheet.java:3190)
at javax.swing.text.html.StyleSheet.addRule(StyleSheet.java:289)
at com.rapidminer.gui.tools.ExtendedHTMLJEditorPane.installDefaultStylesheet(ExtendedHTMLJEditorPane.java:72)
at com.rapidminer.gui.tools.WelcomeScreen.<init>(WelcomeScreen.java:235)
at com.rapidminer.gui.MainFrame.<init>(MainFrame.java:415)
at com.rapidminer.gui.RapidMinerGUI$1.run(RapidMinerGUI.java:240)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:677)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Here is my java version:
$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511c)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)
I also ran it with -Drapidminer.home option, But nothing happens...

Please help me get through with this....
Tagged:

Answers

  • psps1368
    psps1368 New Altair Community Member
    Finally, I solved it!!

    The problem was that the path that RapidMiner was on, had space character (' ') in it!

    When I placed RM in a path that had no space character, it finally passed "Creating Frame".

    The app is now up & running...

    RM Developers should take a look into this for the next version. (This only happens in RM 5.0 & RM 5.1, not RM 4.6)