Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
latest x11-libs/gdk-pixbuf-2.42.12 screwes up eclipse
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
saski4711
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 202

PostPosted: Fri Aug 02, 2024 11:48 am    Post subject: latest x11-libs/gdk-pixbuf-2.42.12 screwes up eclipse Reply with quote

Hello,

after emerging x11-libs/gdk-pixbuf-2.42.12 I have trouble with my out-of-tree eclipse installation. The gui shows red quads all over the place where icons are supposed to be and the log says:

Code:

!ENTRY org.eclipse.jface 4 2 2024-07-31 08:31:45.889
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException: Cannot read field "height" because "data" is null
   at org.eclipse.cdt.ui.CElementImageDescriptor.drawBottomLeft(CElementImageDescriptor.java:329)
   at org.eclipse.cdt.ui.CElementImageDescriptor.drawCompositeImage(CElementImageDescriptor.java:220)
   at org.eclipse.jface.resource.CompositeImageDescriptor.getImageData(CompositeImageDescriptor.java:375)
   at org.eclipse.swt.internal.DPIUtil.lambda$2(DPIUtil.java:550)
   at org.eclipse.swt.internal.DPIUtil.getElementAtZoom(DPIUtil.java:579)
   at org.eclipse.swt.internal.DPIUtil.validateAndGetImageDataAtZoom(DPIUtil.java:550)
   at org.eclipse.swt.graphics.Image.<init>(Image.java:658)
   at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:340)
   at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:289)
   at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:267)
   at org.eclipse.cdt.internal.ui.util.ImageDescriptorRegistry.get(ImageDescriptorRegistry.java:69)
   at org.eclipse.cdt.internal.ui.viewsupport.ProblemsLabelDecorator.decorateImage(ProblemsLabelDecorator.java:163)
   at org.eclipse.cdt.internal.ui.viewsupport.CUILabelProvider.decorateImage(CUILabelProvider.java:132)
   at org.eclipse.cdt.internal.ui.viewsupport.CUILabelProvider.getImage(CUILabelProvider.java:145)
   at org.eclipse.cdt.internal.ui.cview.CViewLabelProvider.getImage(CViewLabelProvider.java:134)
   at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.getImage(DelegatingStyledCellLabelProvider.java:198)
   at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.getImage(DecoratingStyledCellLabelProvider.java:171)
   at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.update(DelegatingStyledCellLabelProvider.java:124)
   at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.update(DecoratingStyledCellLabelProvider.java:134)
   at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:149)
   at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1000)
   at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:158)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:47)
   at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174)
   at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1073)
   at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:426)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:47)
   at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174)
   at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2111)
   at org.eclipse.jface.viewers.StructuredViewer.internalUpdate(StructuredViewer.java:2094)
   at org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:2035)
   at org.eclipse.jface.viewers.ColumnViewer.update(ColumnViewer.java:540)
   at org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:1979)
   at org.eclipse.jface.viewers.StructuredViewer.handleLabelProviderChanged(StructuredViewer.java:1150)
   at org.eclipse.cdt.internal.ui.util.ProblemTreeViewer.handleLabelProviderChanged(ProblemTreeViewer.java:128)
   at org.eclipse.jface.viewers.ContentViewer$1.labelProviderChanged(ContentViewer.java:95)
   at org.eclipse.jface.viewers.BaseLabelProvider$1.run(BaseLabelProvider.java:74)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:47)
   at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174)
   at org.eclipse.jface.viewers.BaseLabelProvider.fireLabelProviderChanged(BaseLabelProvider.java:71)
   at org.eclipse.ui.internal.decorators.DecoratorManager.lambda$0(DecoratorManager.java:348)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:47)
   at org.eclipse.ui.internal.decorators.DecoratorManager.fireListener(DecoratorManager.java:348)
   at org.eclipse.ui.internal.decorators.DecorationScheduler$3.runInUIThread(DecorationScheduler.java:551)
   at org.eclipse.ui.progress.UIJob.lambda$0(UIJob.java:148)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:5040)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4520)
   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.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
   at java.base/java.lang.reflect.Method.invoke(Method.java:580)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:668)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:605)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1481)
   at org.eclipse.equinox.launcher.Main.main(Main.java:1454)


masking and reverting to previous gdk-pixbuf fixes this. Now I'm not sure if this is something caused by gdk-pixbuf itself or the eclipse gui just doesn't like the latest version. Anyone having the same issue or perhaps any ideas?

Cheers
Back to top
View user's profile Send private message
saski4711
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 202

PostPosted: Sat Aug 03, 2024 11:36 am    Post subject: Reply with quote

Never mind. Added "gif"
Code:

x11-libs/gdk-pixbuf-2.42.12 gif

and now its fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum