View previous topic :: View next topic |
Author |
Message |
punkid Apprentice
Joined: 18 Dec 2004 Posts: 215 Location: offline
|
Posted: Fri Sep 29, 2006 6:21 am Post subject: issue with IDE Aptana[solved] |
|
|
Is there anyone ever tried Aptana,it's a great IDE based on java.
Well,I try to install it under my system (have emerged sun-jre-bin),but it failed to startup and gave me the error as below:
Code: |
!SESSION 2006-09-29 14:14:20.645 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.4.2_09
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=zh_CN
Framework arguments: #VM Runtime Configuration File
Command-line arguments: -os linux -ws gtk -arch x86 #VM Runtime Configuration File
!ENTRY com.aptana.ide.rcp.main 1 0 2006-09-29 14:14:21.913
!MESSAGE (Build 0.2.5.11578) Bound to port 9980
!ENTRY com.aptana.ide.core.ui 1 0 2006-09-29 14:14:26.982
!MESSAGE (Build 0.2.5.11578) Connected to database aptanaDB
!ENTRY org.eclipse.ui.workbench 4 0 2006-09-29 14:14:27.762
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:151)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:101)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1045)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1026)
at org.eclipse.swt.widgets.Widget.releaseWidget(Widget.java:932)
at org.eclipse.swt.widgets.Control.releaseWidget(Control.java:2395)
at org.eclipse.swt.widgets.Scrollable.releaseWidget(Scrollable.java:313)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:948)
at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:927)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:942)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:947)
at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:927)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:942)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:947)
at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:927)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:942)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:947)
at org.eclipse.swt.widgets.Canvas.releaseWidget(Canvas.java:132)
at org.eclipse.swt.widgets.Decorations.releaseWidget(Decorations.java:472)
at org.eclipse.swt.widgets.Shell.releaseWidget(Shell.java:1590)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:403)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:1532)
at org.eclipse.swt.widgets.Display.release(Display.java:2620)
at org.eclipse.swt.graphics.Device.dispose(Device.java:212)
at com.aptana.ide.rcp.AbstractIDEApplication.run(Unknown Source)
at com.aptana.ide.rcp.Application.run(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
!ENTRY org.eclipse.ui.workbench 4 0 2006-09-29 14:14:27.772
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:151)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:101)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1045)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1026)
at org.eclipse.swt.widgets.Widget.releaseWidget(Widget.java:932)
at org.eclipse.swt.widgets.Control.releaseWidget(Control.java:2395)
at org.eclipse.swt.widgets.Scrollable.releaseWidget(Scrollable.java:313)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:948)
at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:927)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:942)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:947)
at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:927)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:942)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:947)
at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:927)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:942)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:947)
at org.eclipse.swt.widgets.Canvas.releaseWidget(Canvas.java:132)
at org.eclipse.swt.widgets.Decorations.releaseWidget(Decorations.java:472)
at org.eclipse.swt.widgets.Shell.releaseWidget(Shell.java:1590)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:403)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:1532)
at org.eclipse.swt.widgets.Display.release(Display.java:2620)
at org.eclipse.swt.graphics.Device.dispose(Device.java:212)
at com.aptana.ide.rcp.AbstractIDEApplication.run(Unknown Source)
at com.aptana.ide.rcp.Application.run(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
!ENTRY org.eclipse.ui.workbench 4 0 2006-09-29 14:14:27.782
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:151)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:101)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1045)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1026)
at org.eclipse.swt.widgets.Widget.releaseWidget(Widget.java:932)
at org.eclipse.swt.widgets.Control.releaseWidget(Control.java:2395)
at org.eclipse.swt.widgets.Scrollable.releaseWidget(Scrollable.java:313)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:948)
at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:927)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:942)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:947)
at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:927)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:942)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:947)
at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:927)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:942)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:947)
at org.eclipse.swt.widgets.Canvas.releaseWidget(Canvas.java:132)
at org.eclipse.swt.widgets.Decorations.releaseWidget(Decorations.java:472)
at org.eclipse.swt.widgets.Shell.releaseWidget(Shell.java:1590)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:403)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:1532)
at org.eclipse.swt.widgets.Display.release(Display.java:2620)
at org.eclipse.swt.graphics.Device.dispose(Device.java:212)
at com.aptana.ide.rcp.AbstractIDEApplication.run(Unknown Source)
at com.aptana.ide.rcp.Application.run(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
!ENTRY org.eclipse.ui.workbench 4 0 2006-09-29 14:14:27.790
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:151)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:101)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1045)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1026)
at org.eclipse.swt.widgets.Widget.releaseWidget(Widget.java:932)
at org.eclipse.swt.widgets.Control.releaseWidget(Control.java:2395)
at org.eclipse.swt.widgets.Scrollable.releaseWidget(Scrollable.java:313)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:948)
at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:927)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:942)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:947)
at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:927)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:942)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:947)
at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:927)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:942)
at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:947)
at org.eclipse.swt.widgets.Canvas.releaseWidget(Canvas.java:132)
at org.eclipse.swt.widgets.Decorations.releaseWidget(Decorations.java:472)
at org.eclipse.swt.widgets.Shell.releaseWidget(Shell.java:1590)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:403)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:1532)
at org.eclipse.swt.widgets.Display.release(Display.java:2620)
at org.eclipse.swt.graphics.Device.dispose(Device.java:212)
at com.aptana.ide.rcp.AbstractIDEApplication.run(Unknown Source)
at com.aptana.ide.rcp.Application.run(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
!ENTRY org.eclipse.osgi 2006-09-29 14:14:27.854
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path ([color=red]MOZILLA_FIVE_HOME not set[/color])]
at org.eclipse.swt.SWT.error(SWT.java:2968)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:130)
at com.aptana.ide.core.ui.views.browser.BrowserView.createPartControl(Unknown Source)
at com.aptana.ide.core.ui.views.scriptable.GenericScriptableView.createPartControl(Unknown Source)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:305)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:180)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:512)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:528)
at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:485)
at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:230)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:813)
at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2201)
at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:2356)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2338)
at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:681)
at org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java:669)
at org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:1282)
at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1223)
at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:190)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:706)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at com.aptana.ide.rcp.AbstractIDEApplication.run(Unknown Source)
at com.aptana.ide.rcp.Application.run(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
!ENTRY com.aptana.ide.core.ui 1 0 2006-09-29 14:14:27.887
!MESSAGE (Build 0.2.5.11578) Database shut down normally
|
Plz notice the red codes,I've actually run export MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox,but it still cant find the mozilla lib environment,so i guess the startup failure maybe caused by this.
So anyone could give me a hand about this issue or got some other ideas about the failure reason?
Regards _________________ My Blog | Latest Screenshot
Last edited by punkid on Sun Oct 01, 2006 2:04 pm; edited 1 time in total |
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
|
Back to top |
|
|
Havin_it Veteran
Joined: 17 Jul 2005 Posts: 1259 Location: Edinburgh, UK
|
Posted: Sun Oct 01, 2006 1:56 pm Post subject: |
|
|
Have you tried setting it on the commandline?
Code: | MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox ~/.Aptana/aptana |
You could also try using the Mozilla Suite GTK2+Xft package from mozilla.org instead - I gave it a try, and while it's not terribly stable, at least I got it running. The latest build is HERE.
Just untar it where you please (run it once if you want, I didn't) and point to it when you run Aptana. |
|
Back to top |
|
|
punkid Apprentice
Joined: 18 Dec 2004 Posts: 215 Location: offline
|
Posted: Sun Oct 01, 2006 2:03 pm Post subject: |
|
|
thx,i emerged mozilla,then it works.
it's really weird that it doesnt work with firefox. _________________ My Blog | Latest Screenshot |
|
Back to top |
|
|
Havin_it Veteran
Joined: 17 Jul 2005 Posts: 1259 Location: Edinburgh, UK
|
Posted: Sun Oct 01, 2006 2:19 pm Post subject: |
|
|
Well, bear in mind that our firefox is our own maintainers' brew - there's no telling what might throw a spanner in the works. If nothing else, make sure firefox has USE="java" set. I suggest you join me in adding your support for an ebuild in the bug mentioned above. |
|
Back to top |
|
|
punkid Apprentice
Joined: 18 Dec 2004 Posts: 215 Location: offline
|
Posted: Mon Oct 02, 2006 2:41 am Post subject: |
|
|
Havin_it,i've joined in supporting for an ebuild for aptana. _________________ My Blog | Latest Screenshot |
|
Back to top |
|
|
fbcyborg Advocate
Joined: 16 Oct 2005 Posts: 3056 Location: ROMA
|
Posted: Wed May 12, 2010 1:52 pm Post subject: |
|
|
Hi there!
I have the same problem on a java application run by command line.
Code: | java -jar browser.jar |
It gives me:
Quote: | Failed to create chrriis.dj.nativeswing.swtimpl.components.NativeWebBrowser[1,1670109169]
Reason:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] |
The message above appears in the window where an embedded java flash player should run.
In console I get more or less the same error, and in particular:
Code: | org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set) |
That is the same as above.
This happens on my notebook having the same Gentoo version, same kernel, same mozilla firefox/xulrunner of my Desktop PC where the application runs properly.
I don't understand why here it complains for the MOZILLA_FIVE_HOME variable, that is not set on my Desktop PC.
I also tried to re-emerge mozilla-firefox, but it doesn't fix.
What's going on? _________________ [HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered |
|
Back to top |
|
|
|