Project: aptanastudio
Issue APSTUD-3713: GIT functions are not working on linux systems
Hi friends, related to this report http://jira.appcelerator.org/browse/APSTUD-3691 the most GIT functions are not working on Linux systems. I realized is the first time after upgrading to the new ubuntu version with is based on Gnome3. (Unity is also based on gnome3, but not using the gnome shell) For example if i try to commit somethink i got the following error message: {quote} Unhandled event loop exception No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] {quote} In the other topic Michael Xia sayed that aptana has no need for the XULrunner, but i think there is still a dependency left, because without it's not working. I asked in the developer irc channels an i am not the only one with this problem. (also some kde users) Here is the error from the aptana log file. {quote} !ENTRY org.eclipse.ui 4 0 2011-10-24 18:47:55.569 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] org.eclipse.swt.SWT.error(SWT.java:4109) org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:1739) org.eclipse.swt.browser.Mozilla.create(Mozilla.java:656) org.eclipse.swt.browser.Browser.(Browser.java:119) com.aptana.git.ui.internal.actions.CommitDialog.createDiffArea(CommitDialog.java:237) com.aptana.git.ui.internal.actions.CommitDialog.createDialogArea(CommitDialog.java:158) org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:760) org.eclipse.jface.window.Window.create(Window.java:431) org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) org.eclipse.jface.dialogs.StatusDialog.create(StatusDialog.java:203) com.aptana.git.ui.internal.actions.CommitDialog.create(CommitDialog.java:202) org.eclipse.jface.window.Window.open(Window.java:790) com.aptana.git.ui.internal.actions.CommitHandler.doExecute(CommitHandler.java:34) com.aptana.git.ui.internal.actions.AbstractGitHandler.execute(AbstractGitHandler.java:108) org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:820) org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:806) org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:796) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 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:620) org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) org.eclipse.equinox.launcher.Main.run(Main.java:1408) org.eclipse.equinox.launcher.Main.main(Main.java:1384) {quote} I am not very good in java, i am more a C/C++ guy, but i think CommitDialog.java:237 is calling the internal browser and this is throwing the error. Greetings Leo
Story points: 8