directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alain COETMEUR (Jira)" <j...@apache.org>
Subject [jira] [Commented] (DIRSTUDIO-1217) Viewing entries broken with newer Eclipse versions
Date Tue, 08 Oct 2019 14:21:00 GMT

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-1217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16946939#comment-16946939
] 

Alain COETMEUR commented on DIRSTUDIO-1217:
-------------------------------------------

The problem persists on latest eclipse

Version: 2019-09 R (4.13.0)
Build id: 20190917-1200

> Viewing entries broken with newer Eclipse versions
> --------------------------------------------------
>
>                 Key: DIRSTUDIO-1217
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1217
>             Project: Directory Studio
>          Issue Type: Bug
>            Reporter: Julius Schwartzenberg
>            Priority: Major
>
> With the latest version (2019-3) or the previous version (2018-12) of Eclipse, it's not
possibly to look at entries anymore. The following stacktrace is shown. It seems this problem
is also occurring with Neon and Oxygen already: https://stackoverflow.com/questions/46225072/eclipse-neon-and-oxygen-setextended-gridlayout-cant-cast-to-filllayout
>  
> Stacktrace:
> {code}
> java.lang.ClassCastException: class org.eclipse.swt.layout.GridData cannot be cast to
class org.eclipse.swt.layout.FillData (org.eclipse.swt.layout.GridData and org.eclipse.swt.layout.FillData
are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @362a6aa5)
>     at org.eclipse.swt.layout.FillLayout.flushCache(FillLayout.java:176)
>     at org.eclipse.swt.widgets.Composite.layout(Composite.java:833)
>     at org.eclipse.swt.widgets.Control.requestLayout(Control.java:2413)
>     at org.eclipse.jface.action.ToolBarManager.relayout(ToolBarManager.java:224)
>     at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:384)
>     at org.apache.directory.studio.ldapbrowser.ui.editors.searchresult.SearchResultEditorActionGroup.fillToolBar(SearchResultEditorActionGroup.java:340)
>     at org.apache.directory.studio.ldapbrowser.ui.editors.searchresult.SearchResultEditor.createPartControl(SearchResultEditor.java:246)
>     at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:156)
>     at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:102)
>     at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:367)
>     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>     at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
>     at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:1001)
>     at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:966)
>     at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:139)
>     at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:411)
>     at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:333)
>     at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:202)
>     at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:91)
>     at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60)
>     at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:42)
>     at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:132)
>     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:1015)
>     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:675)
>     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:781)
>     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:752)
>     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:746)
>     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
>     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:730)
>     at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1295)
>     at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.lambda$0(LazyStackRenderer.java:75)
>     at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38)
>     at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
>     at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:147)
>     at org.eclipse.swt.widgets.Display.syncExec(Display.java:4580)
>     at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:219)
>     at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
>     at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:205)
>     at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:203)
>     at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
>     at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233)
>     at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
>     at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:132)
>     at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:75)
>     at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:44)
>     at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:55)
>     at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63)
>     at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424)
>     at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:177)
>     at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:652)
>     at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:616)
>     at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:791)
>     at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:404)
>     at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1240)
>     at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3317)
>     at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3216)
>     at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:72)
>     at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3213)
>     at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3177)
>     at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3167)
>     at org.apache.directory.studio.ldapbrowser.ui.views.browser.BrowserViewUniversalListener.openEditor(BrowserViewUniversalListener.java:361)
>     at org.apache.directory.studio.ldapbrowser.ui.views.browser.BrowserViewUniversalListener.access$3(BrowserViewUniversalListener.java:332)
>     at org.apache.directory.studio.ldapbrowser.ui.views.browser.BrowserViewUniversalListener$3.selectionChanged(BrowserViewUniversalListener.java:241)
>     at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:151)
>     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
>     at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:47)
>     at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:176)
>     at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:148)
>     at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2181)
>     at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1718)
>     at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1084)
>     at org.apache.directory.studio.ldapbrowser.ui.views.browser.BrowserViewUniversalListener.searchUpdated(BrowserViewUniversalListener.java:573)
>     at org.apache.directory.studio.ldapbrowser.core.events.EventRegistry$1$1.run(EventRegistry.java:82)
>     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
>     at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
>     at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3919)
>     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3550)
>     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
>     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
>     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
>     at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
>     at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
>     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
>     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:566)
>     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
>     at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
>     at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
>     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
>     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
>     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
>     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:62)
>     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>     at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:661)
>     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
>     at org.eclipse.equinox.launcher.Main.run(Main.java:1476)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Mime
View raw message