Comments (11)
The latest nightly build fixes the problem
https://download.eclipse.org/birt/updates/nightly/latest
from birt.
I could reproduce the problem in the debugger. I suspect there are changes in GEF that are causing this issue so depending on which version of GEF you have installed, there can be problems probably with with any version of BIRT. I think I have a fix coming soon...
from birt.
Can you try with 4.17?
from birt.
When can I install it from?
from birt.
https://download.eclipse.org/birt/updates/nightly/latest
from birt.
The same result. I get this when I open a report which already has datacubes:
java.lang.ClassCastException: class org.eclipse.birt.report.designer.internal.ui.layout.TableLayout cannot be cast to class org.eclipse.draw2d.XYLayout (org.eclipse.birt.report.designer.internal.ui.layout.TableLayout is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @52fcc94c; org.eclipse.draw2d.XYLayout is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @46c1c848)
at org.eclipse.birt.report.item.crosstab.internal.ui.editors.editparts.CrosstabTableEditPart.createEditPolicies(CrosstabTableEditPart.java:215)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:256)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:227)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:219)
at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:788)
at org.eclipse.birt.report.designer.internal.ui.editors.schematic.editparts.ReportElementEditPart.refreshChildren(ReportElementEditPart.java:556)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:740)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:620)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:258)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:227)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:219)
at org.eclipse.gef.editparts.SimpleRootEditPart.setContents(SimpleRootEditPart.java:116)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:657)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:666)
at org.eclipse.birt.report.designer.internal.ui.editors.layout.ReportEditorWithPalette.setContents(ReportEditorWithPalette.java:543)
at org.eclipse.birt.report.designer.internal.ui.editors.layout.ReportEditorWithPalette.initializeGraphicalViewer(ReportEditorWithPalette.java:533)
at org.eclipse.birt.report.designer.internal.ui.editors.parts.GraphicalEditorWithFlyoutPalette.createGraphicalViewer(GraphicalEditorWithFlyoutPalette.java:685)
at org.eclipse.birt.report.designer.internal.ui.editors.layout.ReportEditorWithPalette.createGraphicalViewer(ReportEditorWithPalette.java:570)
at org.eclipse.birt.report.designer.internal.ui.editors.layout.ReportEditorWithRuler.createGraphicalViewer(ReportEditorWithRuler.java:80)
at org.eclipse.gef.ui.parts.GraphicalEditor.createPartControl(GraphicalEditor.java:153)
at org.eclipse.birt.report.designer.internal.ui.editors.parts.GraphicalEditorWithFlyoutPalette.createPartControl(GraphicalEditorWithFlyoutPalette.java:495)
at org.eclipse.birt.report.designer.ui.editors.pages.ReportLayoutEditorFormPage.createPartControl(ReportLayoutEditorFormPage.java:211)
at org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor.java:480)
at org.eclipse.birt.report.designer.ui.editors.AbstractMultiPageEditor.pageChange(AbstractMultiPageEditor.java:32)
at org.eclipse.birt.report.designer.ui.editors.MultiPageReportEditor.pageChange(MultiPageReportEditor.java:736)
at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1030)
at org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:612)
at org.eclipse.birt.report.designer.ui.editors.MultiPageReportEditor.setActivePage(MultiPageReportEditor.java:1377)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:337)
at org.eclipse.birt.report.designer.ui.editors.ReportEditorProxy.createPartControl(ReportEditorProxy.java:143)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:158)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:365)
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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:976)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:938)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:138)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:385)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:311)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:203)
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:995)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:659)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:763)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:728)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:47)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:712)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.lambda$0(PartServiceImpl.java:105)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:183)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:5249)
at org.eclipse.e4.ui.workbench.swt.DisplayUISynchronize.syncExec(DisplayUISynchronize.java:34)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:208)
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:206)
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:133)
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.setSelectedElementGen(ElementContainerImpl.java:170)
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:188)
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:661)
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:625)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:796)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:401)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1270)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3233)
at org.eclipse.ui.internal.WorkbenchPage.lambda$11(WorkbenchPage.java:3123)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3121)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3091)
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:325)
at org.eclipse.ui.actions.OpenWithMenu.lambda$0(OpenWithMenu.java:182)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4645)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1547)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1532)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1325)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4412)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3988)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:648)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
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:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
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:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
from birt.
Thanks for reporting and checking. We’ll look into it shortly.
from birt.
I realized the error I made. When installing there are plugins which shouldn't be installed into the IDE. But by mistake I installed them as well. They cause this error.
from birt.
However after I installed the wrong feature as well is there a way to uninstall them completely. Simply uninstalling the BIRT features seems to have left something behind as I get the same error event after reinstalling only the correct features.
from birt.
I turned out that it works ok with previous eclipse versions, but with the latest eclipse, it produces the above error even after a completely fresh install.
from birt.
good. this worked for me.
excellent
from birt.
Related Issues (20)
- Excel-emitter (Spudsoft): Grids and tables with merged rows and image can cause NPE HOT 1
- ClassCastException: Report-processing with "HTML-table-structures" cause exception if the structure contains comments HOT 2
- PDF/A-3 support, validation fails HOT 11
- Invalid signature error in runtime tests HOT 7
- Support for DuckDB JDBC HOT 4
- Track down tests that fail to render their expected image content HOT 8
- Enhancement, JDBC driver manager - configuration of the property validation HOT 2
- Batik URL error when loading external image HOT 7
- PDF-emitter: UserProperties like standard configuration at designer level HOT 1
- Performance issue occurs when dataset has a parameter mapped to int8 type on PostgreSql HOT 11
- XML source not synchronized with outline view
- Test-element "TestingBall" is visible for "Insert Element", preview generation failed - (only for designer test reasons) HOT 1
- Excel & Indent (#1666): NPE can be produced in special cases of images without wrapped grid/table e.g. a single chart HOT 1
- BIRT 4.17, designer & Spudsoft excel: Spudsoft XLS & XLSX not longer created from designer-preview & designer-viewer HOT 12
- BIRT, link styling "bookmarks" & "hyperlink": use configured styling and avoid standard hyperlink text decoration (#1025) HOT 4
- Reports exported in DOC format does not show report content properly HOT 4
- Excel, antidiagonal: the antidiagonal is set at background of merged cells - visible if rows will be added (#1866) HOT 1
- Excel, prototype emitter: avoid the diagonal print if the style is unset (= "none", discussion #1866) HOT 1
- Word, page size: output not limited to maximum possible width & height of word (#1869)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from birt.