I am able to "run on server / debug" a new rail project, which has been built in Aptana.
However, "run / debug on server" fails silently for an existing project.
I did not know why the behavior is different.
Logs.
! Enter org.eclipse.ui 4 0/2012-07-09 16: 33: 49.264! Message unused event loop exception! STACK 0 java.lang.NullPointerException at the org.radrails.rails.internal .ui.commands.RunServerHandler.findOrCreateServer org.radrails.rails.internal.ui.commands.RunServerHandler.execute (RunServerHandler.java:44) (RunServerHandler.java 77) on .execute org.eclipse.core.commands.Command.executeWithChecks (Command.java:476) on org.eclipse.ui.internal.handlers.HandlerProxy (HandlerProxy.java:293) org.eclipse.core.commands At ParameterizedCommand.executeWithChecks (ParameterizedCommand.java:508) organization. Eclipse.ui.internal.handlers.HandlerService.executeCommand (handlerService.java:169) on lipse.ui.internal.handlers.SlaveHandlerService.executeCommand org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand on org.ec (SlaveHandlerService. Java: 241) (SlaveHandlerService.java:241) at org.eclipse.ui.menus.CommandContributionItem The organization Org.eclipse.ui.menus.CommandContributionItem.access $ 9 (CommandContributionItem.java:815) on org.eclipse.ui.menus.CommandContributionItem $ 5.handleEvent (CommandContributionItem.java:805) handwidgetSelection (CommandContributionItem.java: 829) handle .eclipse.swt.widgets.EventTable.sendEvent on org.eclipse.swt.widgets.Widget.sendEvent (Widget.java:1258) (EventTable.java:84) org.eclipse.swt.widgets.Display.runDeferredEvents on org.eclipse.ui on display (Java: 3588) org.eclipse.swt.widgets.Display.readAndDispatch (Display.java:3209) on org.eclipse.ui.internal.Workbench.runEventLoop (Workbench.java:2701) On. internal.Workbench.runUI (Workbench.java:2665) org.eclipse.ui.internal.Workbench.access $ 4 (Workbench.java:2499) org.eclipse.ui.internal.Workbench n org at $ 7.ru on. on eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332) (Workbench.java:679) on org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:668) .eclipse organization. ui.PlatformUI.createAndRunWorkbench (PlatformUI.java:149) com.aptana.rcp.IDEApplication.start (IDEApplication.java:125) on org.eclipse.equinox.internal.app.EclipseAppHandle.run (EclipseAppHandle.java: 196) org.eclipse on org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start (on EclipseAppLauncher.java:79). core.runtime.adaptor.EclipseStarter.run on org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:179) (EclipseStarter.java:344) sun.reflec On t.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke (Method.java:616) org.eclipse.equinox.launcher.Main.invokeFramework (Main.java:622) .java on (main org.eclipse.equinox.launcher.Main.basicRun: 577) org.eclipse.Thank you, Jamie at equinox.launcher.Main.run (Main.Java 1410) org.eclipse.equinox.launcher.Main.main (Main.JavaI 386) P>
I had the same problem; I did not know what happened, but this is what I did to solve it:
Preferences-> Aptana Studio-> Web Server Click
New .
- Select
rail server from the list.
The dialog in the box: Enter the name for the server (I'm not sure, but it is possible to give the exact name of the project that you want for the server Setting - This is the same name that appears on the list below); Select the project name from the list that you want to configure for the server; Leave 0.0.0.0 and 3000 untouched.
OK click & amp; enjoy!
Comments
Post a Comment