The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
UnsatisfiedLinkError when running RapidMiner 5 in Eclipse
Hi all,
I checked out the latest version of Rapidminer and imported it into an Eclipse project but when I try to run it within Eclipse I get the following error message:
java.lang.UnsatisfiedLinkError: sun.awt.SunToolkit.getAppContext(Ljava/lang/Object;)Lsun/awt/AppContext;
at sun.awt.SunToolkit.getAppContext(Native Method)
at sun.awt.SunToolkit.targetToAppContext(Unknown Source)
at sun.awt.windows.WComponentPeer.postEvent(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.UnsatisfiedLinkError: sun.awt.SunToolkit.getAppContext(Ljava/lang/Object;)Lsun/awt/AppContext;
at sun.awt.SunToolkit.getAppContext(Native Method)
at sun.awt.SunToolkit.targetToAppContext(Unknown Source)
at sun.awt.windows.WComponentPeer.postEvent(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.UnsatisfiedLinkError: sun.awt.SunToolkit.getAppContext(Ljava/lang/Object;)Lsun/awt/AppContext;
at sun.awt.SunToolkit.getAppContext(Native Method)
at sun.awt.SunToolkit.targetToAppContext(Unknown Source)
at javax.swing.SwingPaintEventDispatcher.queueSurfaceDataReplacing(Unknown Source)
at sun.awt.windows.WComponentPeer.replaceSurfaceDataLater(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.awt.SunToolkit.getAppContext(Ljava/lang/Object;)Lsun/awt/AppContext;
at sun.awt.SunToolkit.getAppContext(Native Method)
at sun.awt.SunToolkit.targetToAppContext(Unknown Source)
at javax.swing.SwingPaintEventDispatcher.createPaintEvent(Unknown Source)
at sun.awt.windows.WComponentPeer.postPaintIfNecessary(Unknown Source)
at sun.awt.windows.WComponentPeer.handlePaint(Unknown Source)
at sun.java2d.d3d.D3DScreenUpdateManager.repaintPeerTarget(Unknown Source)
at sun.java2d.d3d.D3DScreenUpdateManager.createScreenSurface(Unknown Source)
at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
at sun.awt.windows.WComponentPeer.setBounds(Unknown Source)
at sun.awt.windows.WWindowPeer.setBounds(Unknown Source)
at sun.awt.windows.WComponentPeer.initialize(Unknown Source)
at sun.awt.windows.WCanvasPeer.initialize(Unknown Source)
at sun.awt.windows.WPanelPeer.initialize(Unknown Source)
at sun.awt.windows.WWindowPeer.initialize(Unknown Source)
at sun.awt.windows.WFramePeer.initialize(Unknown Source)
at sun.awt.windows.WComponentPeer.<init>(Unknown Source)
at sun.awt.windows.WCanvasPeer.<init>(Unknown Source)
at sun.awt.windows.WPanelPeer.<init>(Unknown Source)
at sun.awt.windows.WWindowPeer.<init>(Unknown Source)
at sun.awt.windows.WFramePeer.<init>(Unknown Source)
at sun.awt.windows.WToolkit.createFrame(Unknown Source)
at java.awt.Frame.addNotify(Unknown Source)
at java.awt.Window.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at com.rapidminer.gui.tools.SplashScreen.showSplashScreen(SplashScreen.java:134)
at com.rapidminer.RapidMiner.showSplash(RapidMiner.java:442)
at com.rapidminer.RapidMiner.showSplash(RapidMiner.java:437)
at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:201)
at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:527)
Exception in thread "AWT-Windows" Exception in thread "AWT-Windows" Exception in thread "AWT-Windows"
I am running Eclipse 3.4.2 and JDK 1.6.0_13. I can compile the project and it builds fine, I can also start the app from the command line using the RapidMinerGUI.bat script. I just can't start the app from Eclipse. Does anyone have an idea of why I'm getting this error?
Thanks
I checked out the latest version of Rapidminer and imported it into an Eclipse project but when I try to run it within Eclipse I get the following error message:
java.lang.UnsatisfiedLinkError: sun.awt.SunToolkit.getAppContext(Ljava/lang/Object;)Lsun/awt/AppContext;
at sun.awt.SunToolkit.getAppContext(Native Method)
at sun.awt.SunToolkit.targetToAppContext(Unknown Source)
at sun.awt.windows.WComponentPeer.postEvent(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.UnsatisfiedLinkError: sun.awt.SunToolkit.getAppContext(Ljava/lang/Object;)Lsun/awt/AppContext;
at sun.awt.SunToolkit.getAppContext(Native Method)
at sun.awt.SunToolkit.targetToAppContext(Unknown Source)
at sun.awt.windows.WComponentPeer.postEvent(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.UnsatisfiedLinkError: sun.awt.SunToolkit.getAppContext(Ljava/lang/Object;)Lsun/awt/AppContext;
at sun.awt.SunToolkit.getAppContext(Native Method)
at sun.awt.SunToolkit.targetToAppContext(Unknown Source)
at javax.swing.SwingPaintEventDispatcher.queueSurfaceDataReplacing(Unknown Source)
at sun.awt.windows.WComponentPeer.replaceSurfaceDataLater(Unknown Source)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.awt.SunToolkit.getAppContext(Ljava/lang/Object;)Lsun/awt/AppContext;
at sun.awt.SunToolkit.getAppContext(Native Method)
at sun.awt.SunToolkit.targetToAppContext(Unknown Source)
at javax.swing.SwingPaintEventDispatcher.createPaintEvent(Unknown Source)
at sun.awt.windows.WComponentPeer.postPaintIfNecessary(Unknown Source)
at sun.awt.windows.WComponentPeer.handlePaint(Unknown Source)
at sun.java2d.d3d.D3DScreenUpdateManager.repaintPeerTarget(Unknown Source)
at sun.java2d.d3d.D3DScreenUpdateManager.createScreenSurface(Unknown Source)
at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
at sun.awt.windows.WComponentPeer.setBounds(Unknown Source)
at sun.awt.windows.WWindowPeer.setBounds(Unknown Source)
at sun.awt.windows.WComponentPeer.initialize(Unknown Source)
at sun.awt.windows.WCanvasPeer.initialize(Unknown Source)
at sun.awt.windows.WPanelPeer.initialize(Unknown Source)
at sun.awt.windows.WWindowPeer.initialize(Unknown Source)
at sun.awt.windows.WFramePeer.initialize(Unknown Source)
at sun.awt.windows.WComponentPeer.<init>(Unknown Source)
at sun.awt.windows.WCanvasPeer.<init>(Unknown Source)
at sun.awt.windows.WPanelPeer.<init>(Unknown Source)
at sun.awt.windows.WWindowPeer.<init>(Unknown Source)
at sun.awt.windows.WFramePeer.<init>(Unknown Source)
at sun.awt.windows.WToolkit.createFrame(Unknown Source)
at java.awt.Frame.addNotify(Unknown Source)
at java.awt.Window.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at com.rapidminer.gui.tools.SplashScreen.showSplashScreen(SplashScreen.java:134)
at com.rapidminer.RapidMiner.showSplash(RapidMiner.java:442)
at com.rapidminer.RapidMiner.showSplash(RapidMiner.java:437)
at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:201)
at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:527)
Exception in thread "AWT-Windows" Exception in thread "AWT-Windows" Exception in thread "AWT-Windows"
I am running Eclipse 3.4.2 and JDK 1.6.0_13. I can compile the project and it builds fine, I can also start the app from the command line using the RapidMinerGUI.bat script. I just can't start the app from Eclipse. Does anyone have an idea of why I'm getting this error?
Thanks
Tagged:
0
Answers
this seems to be an Eclipse Problem. Try googling the exception plus "Eclipse", I got some useful hits.
Cheers,
Simon
Thanks