Node testing

Hi,

I am using the newest Eclipse_knime developers version (with the Mac Java workaround) and almoste everything works perfect. However if i wish to execute node projects in my java environment as an Eclipse Application for testing nodes in the  virtual machine, I receive the following error :

***WARNING: Display must be created on main thread due to Cocoa restrictions.
!SESSION 2012-02-28 16:15:25.081 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_26
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -application org.eclipse.ui.ide.workbench
Command-line arguments:  -application org.eclipse.ui.ide.workbench -data /Users/chris/Documents/work/Workspace/../runtime-EclipseApplication -dev file:/Users/chris/Documents/work/Workspace/.metadata/.plugins/org.eclipse.pde.core/KNIME/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog

!ENTRY org.eclipse.osgi 4 0 2012-02-28 16:15:28.065
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTException: Invalid thread access
    at org.eclipse.swt.SWT.error(SWT.java:4083)
    at org.eclipse.swt.SWT.error(SWT.java:3998)
    at org.eclipse.swt.SWT.error(SWT.java:3969)
    at org.eclipse.swt.widgets.Display.error(Display.java:1030)
    at org.eclipse.swt.widgets.Display.createDisplay(Display.java:797)
    at org.eclipse.swt.widgets.Display.create(Display.java:780)
    at org.eclipse.swt.graphics.Device.<init>(Device.java:130)
    at org.eclipse.swt.widgets.Display.<init>(Display.java:671)
    at org.eclipse.swt.widgets.Display.<init>(Display.java:662)
    at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:708)
    at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
    at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:145)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
An error has occurred. See the log file
/Users/chris/Documents/work/runtime-EclipseApplication/.metadata/.log.

 

Anyway how can i solve this issue? It's a real bummer to export the as plugin everytime and reinitialize for testing!

Try swichting the application your are lauching to the KNIME_Application in the Eclipse lauch configuration dialog. Or even better, lauch the KNIME product instead of an application. Maybe this helps.