ABAPFavorites icon indicating copy to clipboard operation
ABAPFavorites copied to clipboard

favorites invisible after login to abap project

Open FD1899 opened this issue 2 years ago • 7 comments

Hi,

after updating to the latest version 1.0.60 my favorites aren't shown after log in to my project. When I click on "sort by..." everythings is fine. Can you have a look at this?

Kind regards, Frank

FD1899 avatar Apr 10 '24 05:04 FD1899

Hi Frank, can you please go to Help->About Eclipse IDE then click on the AbapBlog.com icon image And paste the exact version you have? image

The info from Eclipse marketplace is not always up to date. Can you share also the info about your eclipse installation and java version?

fidley avatar Apr 10 '24 06:04 fidley

Maybe you have also something in Error Log view?

fidley avatar Apr 10 '24 06:04 fidley

Hi Lukasz,

here is the exact version of the plugin: image

ans here for eclipse: image

I'm not sure where I can find the java version, can you show me?

The error logs has no entries corresponding to the plugin.

Regards!

FD1899 avatar Apr 10 '24 07:04 FD1899

image Then swith to Configuration tab and scroll some until you'll find Java info image

fidley avatar Apr 10 '24 07:04 fidley

Ok, here you have:

image

FD1899 avatar Apr 10 '24 07:04 FD1899

I'll try to reproduce on my machine with same version if I'll be able

fidley avatar Apr 10 '24 07:04 fidley

I'm not able to reproduce this. Can you pack your installation and put is somewhere that I can download?

fidley avatar Apr 15 '24 14:04 fidley

I've the same issue with Favorites Dev Objtects. What helps is to close and open the widget again. After opening Eclipse, I see in the log following error:

Message: Unhandled event loop exception

org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:4922)
	at org.eclipse.swt.SWT.error(SWT.java:4837)
	at org.eclipse.swt.SWT.error(SWT.java:4808)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:450)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:369)
	at org.eclipse.swt.widgets.Tree.setRedraw(Tree.java:4955)
	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1414)
	at org.eclipse.ui.dialogs.FilteredTree$NotifyingTreeViewer.refresh(FilteredTree.java:966)
	at com.abapblog.favorites.superview.Superview.refreshViewer(Superview.java:926)
	at com.abapblog.favorites.superview.Superview.lambda$0(Superview.java:132)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at com.abapblog.favorites.superview.Superview.refreshActiveViews(Superview.java:131)
	at com.abapblog.favorites.xml.XMLhandler.replaceFavFile(XMLhandler.java:497)
	at com.abapblog.favorites.superview.Actions.importFavorites(Actions.java:525)
	at com.abapblog.favorites.superview.Actions.access$0(Actions.java:516)
	at com.abapblog.favorites.superview.Actions$5.run(Actions.java:202)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:474)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:581)
	at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:415)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4274)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1151)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1042)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:152)
	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:639)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:546)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
	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:651)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1459)

Session Data

eclipse.buildId=4.31.0.20240307-1200
java.version=17.0.8.1
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

It is the same error like here: https://github.com/fidley/ABAPFavorites/issues/94

aztechowski avatar May 22 '24 08:05 aztechowski

Thanks, now I have a point where I could catch the error :)

fidley avatar May 22 '24 09:05 fidley

please try the installation of the version 1.0.64 available from now.

fidley avatar May 24 '24 14:05 fidley

Hi Lukasz, now it work's perfect. Thank you! Kind regards, Frank

FD1899 avatar May 27 '24 05:05 FD1899

please try the installation of the version 1.0.64 available from now.

Work like a charm. Thank you!

aztechowski avatar May 27 '24 12:05 aztechowski