Pages: [1]
  Print  
Author Topic: [Resolved] Import (menu or wizard) CSV, Excel and XML doesn't work  (Read 2085 times)
colmoni
Newbie
*
Posts: 5


« on: September 17, 2013, 03:24:45 PM »

Resolved - Rapidminer uses JRE 7, was using JRE 6. Confirmed: Using JRE 7 fixes the problem

I'm currently using the zip-unpacked Java version of RapidMiner to analyse SurveyMonkey responses to open-ended questions, stored as spreadsheets.

I note that attempting to use the import Wizard doesn't work for CSV, Excel or XML. Clicking the menu or button does absolutely nothing - nothing in the log either.

I can import the files manually using the Read Excel or CSV nodes, but as I'm new to the application, would like the assistance of the wizard.

I've investigated the INSTALL.txt file and could find no trace of these configuration files:

 RAPID_MINER_HOME/rapidminerrc
  RAPID_MINER_HOME/rapidminerrc.OSNAME
  ~/.RapidMiner5/<VERSION>rapidminerrc
  ~/.RapidMiner5/<VERSION>rapidminerrc.<OSNAME>
  rapidminerrc
  rapidminerrc.<OSNAME>


I'm uncertain if this has anything to do with the problem?
« Last Edit: September 18, 2013, 01:45:15 PM by colmoni » Logged
Marco Boeck
Administrator
Hero Member
*****
Posts: 961


WWW
« Reply #1 on: September 17, 2013, 03:26:12 PM »

Hi,

are you using MacOS? Which version of RapidMiner are you using?

Regards,
Marco
« Last Edit: September 17, 2013, 03:39:38 PM by Marco Boeck » Logged

colmoni
Newbie
*
Posts: 5


« Reply #2 on: September 17, 2013, 03:39:36 PM »

Hi,

are you using MacOS?

Regards,
Marco

No, Windows 7 (32-bit). It's a company machine, and the restrictions the administrators put on it are the bane of my life, which is why I'm using the Zip version of RM.
Logged
Marco Boeck
Administrator
Hero Member
*****
Posts: 961


WWW
« Reply #3 on: September 17, 2013, 03:49:25 PM »

Hi,

can you please post the contents of the rm.log file (user/.RapidMiner5/rm.log) after you restarted RapidMiner and tried to open an Import wizard via "File" -> "Import Data" -> "Import Excel Sheet..."?

Regards,
Marco
Logged

colmoni
Newbie
*
Posts: 5


« Reply #4 on: September 17, 2013, 04:04:02 PM »

Hi,

can you please post the contents of the rm.log file (user/.RapidMiner5/rm.log) after you restarted RapidMiner and tried to open an Import wizard via "File" -> "Import Data" -> "Import Excel Sheet..."?

Regards,
Marco


The following represents me launching RM, starting a New Process, clicking each of the three options in turn, then shutting down. Must of the content appears to be generated by the inability to contact the update server, it being blocked by the firewall:
Code:
Sep 17, 2013 3:59:36 PM com.rapidminer.tools.expression.parser.ExpressionParserFactory <clinit>
INFO: Default version of expression parser registered successfully
Sep 17, 2013 3:59:38 PM com.rapidminer.parameter.ParameterTypePassword decryptPassword
WARNING: Password in XML file looks like unencrypted plain text.
Sep 17, 2013 3:59:38 PM com.rapidminer.tools.OperatorService init
INFO: Number of registered operator classes: 443; number of registered operator descriptions: 444; number of replacements: 403
Sep 17, 2013 3:59:39 PM com.rapidminer.tools.jdbc.JDBCProperties <init>
WARNING: Missing database driver class name for ODBC Bridge (e.g. Access)
Sep 17, 2013 3:59:39 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver ca.ingres.jdbc.IngresDriver not found. Probably the driver is not installed.
Sep 17, 2013 3:59:48 PM com.rapidminer.gui.ApplicationPerspectives loadAll
CONFIG: Loading perspectives.
Sep 17, 2013 3:59:48 PM com.rapid_i.deployment.update.client.UpdateManager$3 run
INFO: Checking for updates.
Sep 17, 2013 4:00:04 PM com.rapidminer.gui.tools.WelcomeScreen$2 run
INFO: Cannot download news: java.net.ConnectException: Connection timed out: connect
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at javax.swing.JEditorPane.getStream(Unknown Source)
at javax.swing.JEditorPane.setPage(Unknown Source)
at com.rapidminer.gui.tools.WelcomeScreen$2.run(WelcomeScreen.java:259)
Sep 17, 2013 4:00:07 PM com.rapidminer.gui.OperatorDocLoader parseDocumentForOperator
WARNING: Could not open http://rapid-i.com/wiki/index.php?title=Process: connect timed out
Sep 17, 2013 4:00:09 PM com.rapid_i.deployment.update.client.UpdateManager$3 run
WARNING: Error checking for updates: javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://marketplace.rapid-i.com:80/UpdateServer/UpdateServiceService?wsdl. It failed with:
Connection timed out: connect.
javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://marketplace.rapid-i.com:80/UpdateServer/UpdateServiceService?wsdl. It failed with:
Connection timed out: connect.
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unknown Source)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)
at javax.xml.ws.Service.<init>(Unknown Source)
at com.rapidminer.deployment.client.wsimport.UpdateServiceService.<init>(UpdateServiceService.java:42)
at com.rapid_i.deployment.update.client.UpdateManager.getService(UpdateManager.java:567)
at com.rapid_i.deployment.update.client.UpdateManager$3.run(UpdateManager.java:870)
at com.rapidminer.gui.tools.ProgressThread$2.run(ProgressThread.java:200)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(Unknown Source)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(Unknown Source)
... 13 more
Sep 17, 2013 4:00:50 PM com.rapidminer.gui.RapidMinerGUI$ShutdownHook run
INFO: Running shutdown sequence.
Sep 17, 2013 4:00:50 PM com.rapidminer.gui.ApplicationPerspectives saveAll
CONFIG: Saving perspectives.
Sep 17, 2013 4:00:50 PM com.rapidminer.tools.usagestats.UsageStatistics save
CONFIG: Saving operator usage.
Logged
Marco Boeck
Administrator
Hero Member
*****
Posts: 961


WWW
« Reply #5 on: September 18, 2013, 08:40:30 AM »

Hi,

I don't see anything in your log which would indicate a problem which might cause this issue, which is rather strange. I also could not reproduce the issue on any test machine here, everything works fine, so this might be a little bit tricky to figure out. Can you please start the RapidMinerGUI.bat script from the command line (found inside the RapidMiner5/scripts folder), and paste the whole output here? You can copy & paste from the windows command line via rightclick -> select all and then leftclick in the upper left corner on the icon, go to Edit and then select copy.

Regards,
Marco
Logged

colmoni
Newbie
*
Posts: 5


« Reply #6 on: September 18, 2013, 10:09:55 AM »

Here's the dump from command line - I rat the bat file and clicked the three Import options:

Code:
C:\Users\doe-morrisonc\rapidminer\scripts>RapidMinerGUI.bat
RAPIDMINER_HOME is not set. Trying the directory 'C:\Users\doe-morrisonc\rapidmi
ner\scripts\..'...
Using global jre found on path: java
Starting RapidMiner from 'C:\Users\doe-morrisonc\rapidminer\scripts\..' using cl
asses from 'C:\Users\doe-morrisonc\rapidminer\scripts\..\lib\rapidminer.jar'...
Creating file "C:\Users\doe-morrisonc\AppData\Roaming\check_rm_java_version"
Java Version: 1.6.0_11
Removing file "C:\Users\doe-morrisonc\AppData\Roaming\check_rm_java_version"
Starting in multicore mode with CMS garbage collector...
18-Sep-2013 09:57:52 com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: rapidminer.home is 'C:\Users\doe-morrisonc\rapidminer\scripts\..'.
18-Sep-2013 09:57:57 com.rapid_i.Launcher main
INFO: Launching RapidMiner, platform ANY
18-Sep-2013 09:58:00 com.rapidminer.tools.ParameterService init
INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
18-Sep-2013 09:58:00 com.rapidminer.tools.I18N <clinit>
INFO: Set locale to en.
18-Sep-2013 09:58:00 com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: rapidminer.home is 'C:\Users\doe-morrisonc\rapidminer\scripts\..'.
18-Sep-2013 09:58:01 com.rapidminer.tools.plugin.Plugin registerPlugins
INFO: Register plugin: VISUALIZATIONS
18-Sep-2013 09:58:01 com.rapidminer.tools.plugin.Plugin registerPlugins
INFO: Register plugin: R Extension
18-Sep-2013 09:58:01 com.rapidminer.tools.plugin.Plugin registerPlugins
INFO: Register plugin: Text Processing
18-Sep-2013 09:58:01 com.rapidminer.tools.plugin.Plugin registerPlugins
INFO: Register plugin: Web Mining
18-Sep-2013 09:58:02 com.rapidminer.PluginInitR initPlugin
INFO: Trying to load R Library...
18-Sep-2013 09:58:04 com.rapidminer.tools.expression.parser.ExpressionParserFact
ory <clinit>
INFO: Default version of expression parser registered successfully
18-Sep-2013 09:58:06 com.rapidminer.parameter.ParameterTypePassword decryptPassw
ord
WARNING: Password in XML file looks like unencrypted plain text.
18-Sep-2013 09:58:06 com.rapidminer.tools.OperatorService init
INFO: Number of registered operator classes: 514; number of registered operator
descriptions: 532; number of replacements: 437
18-Sep-2013 09:58:07 com.rapidminer.tools.jdbc.JDBCProperties <init>
WARNING: Missing database driver class name for ODBC Bridge (e.g. Access)
18-Sep-2013 09:58:07 com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver ca.ingres.jdbc.IngresDriver not found. Probably the driver is
not installed.
[Fatal Error] :1:1: Premature end of file.
18-Sep-2013 09:58:13 org.rosuda.JRI.Rengine <clinit>
INFO: Creating Connection to R...
18-Sep-2013 09:58:13 org.rosuda.JRI.Rengine isJriLoaded
WARNING: Access on uninitialized Rengine!
18-Sep-2013 09:58:13 org.rosuda.JRI.Rengine isJriLoaded
INFO: Engine ID: class org.rosuda.JRI.Rengine ClassLoader:PluginClassLoader ([fi
le:/C:/Users/doe-morrisonc/rapidminer/scripts/../lib/plugins/rmx_r-ANY-5.3.0.jar
])
18-Sep-2013 09:58:16 com.rapid_i.deployment.update.client.UpdateManager$3 run
INFO: Checking for updates.
18-Sep-2013 09:58:30 com.rapidminer.gui.tools.WelcomeScreen$2 run
INFO: Cannot download news: java.net.ConnectException: Connection timed out: con
nect
java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at java.net.HttpURLConnection.getResponseCode(Unknown Source)
        at javax.swing.JEditorPane.getStream(Unknown Source)
        at javax.swing.JEditorPane.setPage(Unknown Source)
        at com.rapidminer.gui.tools.WelcomeScreen$2.run(WelcomeScreen.java:259)
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: canno
t add to layout: constraint must be a string
        at java.awt.CardLayout.addLayoutComponent(Unknown Source)
        at java.awt.Container.addImpl(Unknown Source)
        at java.awt.Container.add(Unknown Source)
        at com.rapidminer.operator.nio.LoadingContentPane.<init>(LoadingContentP
ane.java:49)
        at com.rapidminer.operator.nio.CSVSyntaxConfigurationWizardStep.makePane
l(CSVSyntaxConfigurationWizardStep.java:279)
        at com.rapidminer.operator.nio.CSVSyntaxConfigurationWizardStep.<init>(C
SVSyntaxConfigurationWizardStep.java:129)
        at com.rapidminer.operator.nio.CSVImportWizard.<init>(CSVImportWizard.ja
va:75)
        at com.rapidminer.operator.nio.CSVImportWizard.<init>(CSVImportWizard.ja
va:48)
        at com.rapidminer.gui.MainFrame$1.actionPerformed(MainFrame.java:322)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
18-Sep-2013 09:58:32 com.rapidminer.gui.OperatorDocLoader parseDocumentForOperat
or
WARNING: Could not open http://rapid-i.com/wiki/index.php?title=Process: connect
 timed out
18-Sep-2013 09:58:39 com.rapid_i.deployment.update.client.UpdateManager$3 run
WARNING: Error checking for updates: javax.xml.ws.WebServiceException: Failed to
 access the WSDL at: http://marketplace.rapid-i.com:80/UpdateServer/UpdateServic
eService?wsdl. It failed with:
        Connection timed out: connect.
javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://marketpla
ce.rapid-i.com:80/UpdateServer/UpdateServiceService?wsdl. It failed with:
        Connection timed out: connect.
        at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unkn
own Source)
        at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown S
ource)
        at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown So
urce)
        at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Sourc
e)
        at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Sourc
e)
        at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknow
n Source)
        at javax.xml.ws.Service.<init>(Unknown Source)
        at com.rapidminer.deployment.client.wsimport.UpdateServiceService.<init>
(UpdateServiceService.java:42)
        at com.rapid_i.deployment.update.client.UpdateManager.getService(UpdateM
anager.java:567)
        at com.rapid_i.deployment.update.client.UpdateManager$3.run(UpdateManage
r.java:870)
        at com.rapidminer.gui.tools.ProgressThread$2.run(ProgressThread.java:200
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at java.net.URL.openStream(Unknown Source)
        at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(Un
known Source)
        at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(Unk
nown Source)
        ... 13 more
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: canno
t add to layout: constraint must be a string
        at java.awt.CardLayout.addLayoutComponent(Unknown Source)
        at java.awt.Container.addImpl(Unknown Source)
        at java.awt.Container.add(Unknown Source)
        at com.rapidminer.operator.nio.LoadingContentPane.<init>(LoadingContentP
ane.java:49)
        at com.rapidminer.operator.nio.AnnotationDeclarationWizardStep.<init>(An
notationDeclarationWizardStep.java:55)
        at com.rapidminer.operator.nio.AbstractDataImportWizard.addCommonSteps(A
bstractDataImportWizard.java:60)
        at com.rapidminer.operator.nio.ExcelImportWizard.<init>(ExcelImportWizar
d.java:72)
        at com.rapidminer.operator.nio.ExcelImportWizard.<init>(ExcelImportWizar
d.java:48)
        at com.rapidminer.gui.MainFrame$2.actionPerformed(MainFrame.java:338)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: canno
t add to layout: constraint must be a string
        at java.awt.CardLayout.addLayoutComponent(Unknown Source)
        at java.awt.Container.addImpl(Unknown Source)
        at java.awt.Container.add(Unknown Source)
        at com.rapidminer.operator.nio.LoadingContentPane.<init>(LoadingContentP
ane.java:49)
        at com.rapidminer.operator.nio.MetaDataDeclarationWizardStep.<init>(Meta
DataDeclarationWizardStep.java:258)
        at com.rapidminer.operator.nio.xml.XMLImportWizard.<init>(XMLImportWizar
d.java:81)
        at com.rapidminer.operator.nio.xml.XMLImportWizard.<init>(XMLImportWizar
d.java:51)
        at com.rapidminer.gui.MainFrame$3.actionPerformed(MainFrame.java:354)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

It seems those Import options trigger a lot of calls to Java libraries of 'unknown source'

I checked my Java version:
Code:
C:\Users\doe-morrisonc\Desktop>java -version
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)

Argh!

Quote
In order to use RapidMiner you need a Java Runtime Environment (JRE) version 7

http://rapid-i.com/content/view/17/40/lang,en/#installation:step1
« Last Edit: September 18, 2013, 10:15:06 AM by colmoni » Logged
colmoni
Newbie
*
Posts: 5


« Reply #7 on: September 18, 2013, 01:46:20 PM »

Thanks for the help, it pushed me in the right direction for a solution. Really should have RTFM!
Logged
paulalford
Newbie
*
Posts: 3


« Reply #8 on: October 23, 2013, 02:21:50 PM »

Hi,

I have encountered the same problem as colmoni, but the difference is that I'm running Mac OSX.  When starting the Java 7 download I get the following message:

Quote
"If you download Java 7, you will not be able to run Java content in Chrome and will need to use a 64-bit browser (such as Safari or Firefox) to run Java content within a browser. Additionally, installing Java 7 will disable the ability to use Apple Java 6 on your system".

Is there a workaround for Mac users?

My current Java version is:

Code:
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

Thanks in advance.
Logged
bmoose
Newbie
*
Posts: 10


« Reply #9 on: November 27, 2013, 06:11:09 PM »

paulalford,

You can have several versions of JDK installed on your Mac.
Open http://www.java.com/en/download/installed.jsp?detect=jre&try=1 in your Safari browser (not Chrome)

It will tell you if you have java 1.7. If you do you should see Java in your System Preferences.
Click on Java tab and "View..."
Under Path you'll see where Java 7 is installed.
Edit scripts/RapidMinerGUI script to hardcode JAVA_HOME to point to the location of Java 1.7

It should resolve your issue with RapidMiner and will not affect anything else.


Hi,

I have encountered the same problem as colmoni, but the difference is that I'm running Mac OSX.  When starting the Java 7 download I get the following message:

Is there a workaround for Mac users?

My current Java version is:

Code:
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

Thanks in advance.
Logged
Pages: [1]
  Print  
 
Jump to: