Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Project Explorer Double Click Fails
Project Explorer Double Click Fails [message #1851722] Wed, 13 April 2022 16:51 Go to next message
Tim Wollin is currently offline Tim WollinFriend
Messages: 4
Registered: April 2022
Junior Member
Since the last upgrade to Version: 2022-03 (4.23.0), Build id: 20220310-1457 of Eclipse IDE for Enterprise Java and Web Developers, double-clicking a java file in the Project Explorer fails to open the the file in the Java Editor.
Re: Project Explorer Double Click Fails [message #1851728 is a reply to message #1851722] Thu, 14 April 2022 01:18 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

What happens instead? Is anything shown in the Error Log?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Project Explorer Double Click Fails [message #1852031 is a reply to message #1851728] Tue, 26 April 2022 13:31 Go to previous messageGo to next message
Tim Wollin is currently offline Tim WollinFriend
Messages: 4
Registered: April 2022
Junior Member
It seems to be just Java files. The bread crumbs update but the file is never loaded into the editor. There are no errors in the Error Log. If I click on the bread crumb the file then opens in the editor. Also if I have a Java file open in the editor, close Eclipse and launch Eclipse again, the previously opened Java file is opened in the editor.

I ran eclipse with -debug and double-clicking on a java file in Project Explorer did not produce any errors in the debug window. However, when starting Eclipse, when I select my recent workspace in the launch window the following exception is generated in the debug window.

Starting application: 1512
java.lang.Error: SWT Resource was not properly disposed
at org.eclipse.swt.graphics.Resource.initNonDisposeTracking(Resource.java:172)
at org.eclipse.swt.graphics.Resource.<init>(Resource.java:120)
at org.eclipse.swt.graphics.Image.<init>(Image.java:683)
at org.eclipse.jface.resource.URLImageDescriptor._createImage(URLImageDescriptor.java:275)
at org.eclipse.jface.resource.URLImageDescriptor.createImage(URLImageDescriptor.java:256)
at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:290)
at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:268)
at com.genuitec.eclipse.startup.dialogs.tabs.RecentTabFactory.createTabArea(RecentTabFactory.java:93)
at com.genuitec.eclipse.startup.dialogs.tabs.CodeFullyTabFactory.createContents(CodeFullyTabFactory.java:139)
at com.genuitec.eclipse.startup.dialogs.custom.SideTabFolder.createTabContent(SideTabFolder.java:455)
at com.genuitec.eclipse.startup.dialogs.custom.SideTabFolder.doCreateTabs(SideTabFolder.java:224)
at com.genuitec.eclipse.startup.dialogs.custom.SideTabFolder.createTabs(SideTabFolder.java:155)
at com.genuitec.eclipse.startup.dialogs.custom.AbstactSideTabDialog.createTabs(AbstactSideTabDialog.java:142)
at com.genuitec.eclipse.startup.dialogs.custom.CustomStartupDialog.createTabs(CustomStartupDialog.java:465)
at com.genuitec.eclipse.startup.dialogs.custom.CustomStartupDialog.createTabs(CustomStartupDialog.java:461)
at com.genuitec.eclipse.startup.dialogs.custom.AbstactSideTabDialog.createContents(AbstactSideTabDialog.java:122)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.window.Window.open(Window.java:788)
at com.genuitec.eclipse.startup.dialogs.custom.AbstactSideTabDialog.open(AbstactSideTabDialog.java:61)
at com.genuitec.eclipse.startup.dialogs.custom.CustomStartupDialog.prompt(CustomStartupDialog.java:336)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.ui.internal.ide.application.IDEApplication.showCustomDialog(IDEApplication.java:627)
at org.eclipse.ui.internal.ide.application.IDEApplication.promptForWorkspace(IDEApplication.java:383)
at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:285)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:142)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
java.lang.Error: SWT Resource was not properly disposed
at org.eclipse.swt.graphics.Resource.initNonDisposeTracking(Resource.java:172)
at org.eclipse.swt.graphics.Resource.<init>(Resource.java:120)
at org.eclipse.swt.graphics.Image.<init>(Image.java:728)
at com.genuitec.eclipse.webicons.IconImageDescriptor.createImage(IconImageDescriptor.java:46)
at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:290)
at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:268)
at com.genuitec.eclipse.startup.dialogs.custom.UIHelper.createIcon(UIHelper.java:342)
at com.genuitec.eclipse.startup.dialogs.tabs.WorkspaceNameControl.createBrowseOnHover(WorkspaceNameControl.java:279)
at com.genuitec.eclipse.startup.dialogs.tabs.WorkspaceNameLink.createNameLabel(WorkspaceNameLink.java:105)
at com.genuitec.eclipse.startup.dialogs.tabs.WorkspaceNameControl.<init>(WorkspaceNameControl.java:183)
at com.genuitec.eclipse.startup.dialogs.tabs.WorkspaceNameLink.<init>(WorkspaceNameLink.java:80)
at com.genuitec.eclipse.startup.dialogs.tabs.WorkspaceControl.createWorkspaceNameControl(WorkspaceControl.java:118)
at com.genuitec.eclipse.startup.dialogs.tabs.WorkspaceControl.createControl(WorkspaceControl.java:44)
at com.genuitec.eclipse.startup.dialogs.tabs.WorkspacesTabFactory.createTabArea(WorkspacesTabFactory.java:85)
at com.genuitec.eclipse.startup.dialogs.tabs.CodeFullyTabFactory.createContents(CodeFullyTabFactory.java:139)
at com.genuitec.eclipse.startup.dialogs.custom.SideTabFolder.createTabContent(SideTabFolder.java:455)
at com.genuitec.eclipse.startup.dialogs.custom.SideTabFolder.doCreateTabs(SideTabFolder.java:224)
at com.genuitec.eclipse.startup.dialogs.custom.SideTabFolder.createTabs(SideTabFolder.java:155)
at com.genuitec.eclipse.startup.dialogs.custom.AbstactSideTabDialog.createTabs(AbstactSideTabDialog.java:142)
at com.genuitec.eclipse.startup.dialogs.custom.CustomStartupDialog.createTabs(CustomStartupDialog.java:465)
at com.genuitec.eclipse.startup.dialogs.custom.CustomStartupDialog.createTabs(CustomStartupDialog.java:461)
at com.genuitec.eclipse.startup.dialogs.custom.AbstactSideTabDialog.createContents(AbstactSideTabDialog.java:122)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.window.Window.open(Window.java:788)
at com.genuitec.eclipse.startup.dialogs.custom.AbstactSideTabDialog.open(AbstactSideTabDialog.java:61)
at com.genuitec.eclipse.startup.dialogs.custom.CustomStartupDialog.prompt(CustomStartupDialog.java:336)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.ui.internal.ide.application.IDEApplication.showCustomDialog(IDEApplication.java:627)
at org.eclipse.ui.internal.ide.application.IDEApplication.promptForWorkspace(IDEApplication.java:383)
at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:285)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:142)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
org.eclipse.m2e.logback.configuration: Logback config file: C:\Users\wollint\Development\eclipse\eclipse-jee-2021-06-R-win32-x86_64\workspace\.metadata\.plugins\org.eclipse.m2e.logback.configuration\logback.1.16.3.20211002-1029.xml
Re: Project Explorer Double Click Fails [message #1852040 is a reply to message #1852031] Tue, 26 April 2022 23:56 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

It would appear that a third-party plug-in you have installed is in need of a bug report.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Project Explorer Double Click Fails [message #1852601 is a reply to message #1852040] Thu, 26 May 2022 14:29 Go to previous messageGo to next message
Tim Wollin is currently offline Tim WollinFriend
Messages: 4
Registered: April 2022
Junior Member
OK, I removed the Genuitec plugins, which seem to be the culprit generating the Exception. Eclipse is no longer generating the Exception at start-up, but I'm still seeing the same problem - Double-clicking a java file in Project Explorer fails to open the file in an editor.
Re: Project Explorer Double Click Fails [message #1852606 is a reply to message #1852601] Thu, 26 May 2022 17:00 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Is there a new exception trace?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Project Explorer Double Click Fails [message #1852607 is a reply to message #1852606] Thu, 26 May 2022 17:27 Go to previous messageGo to next message
Tim Wollin is currently offline Tim WollinFriend
Messages: 4
Registered: April 2022
Junior Member
No, there is no Exception thrown now.
Re: Project Explorer Double Click Fails [message #1852629 is a reply to message #1852607] Fri, 27 May 2022 23:15 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Hopefully one is silently logged in the Error Log instead. If the view is not available, the file itself should be: https://wiki.eclipse.org/FAQ_Where_can_I_find_that_elusive_.log_file%3F

_
Nitin Dahyabhai
Eclipse Web Tools Platform

[Updated on: Sun, 29 May 2022 17:07]

Report message to a moderator

Re: Project Explorer Double Click Fails [message #1852972 is a reply to message #1852629] Mon, 13 June 2022 14:30 Go to previous messageGo to next message
maxxwell sana is currently offline maxxwell sanaFriend
Messages: 2
Registered: June 2022
Junior Member
Eclipse is no longer generating the Exception at start-up, but I'm still seeing the same problem
Speed Test xender snaptube

[Updated on: Tue, 14 June 2022 20:28]

Report message to a moderator

Re: Project Explorer Double Click Fails [message #1852981 is a reply to message #1852972] Mon, 13 June 2022 18:24 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
It seems that the newest version of Java editor has forgotten to use double click as a shortcut to the 'open' menu.
The other editors work fine and the open menu on the Java editor functions as well.


--

Tauno Voipio
Re: Project Explorer Double Click Fails [message #1854530 is a reply to message #1851722] Wed, 24 August 2022 04:09 Go to previous message
John Rixx is currently offline John RixxFriend
Messages: 1
Registered: August 2022
Junior Member
same happened to me as well.
Previous Topic:Kotlin Plugin from Marketplace in Eclipse
Next Topic:Coldfusion cfeclipse plugin failure
Goto Forum:
  


Current Time: Thu Apr 25 22:23:48 GMT 2024

Powered by FUDForum. Page generated in 0.09202 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top