Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Unhandled event loop exception(Error)
Unhandled event loop exception [message #1116474] Wed, 25 September 2013 13:56 Go to next message
JP Redro is currently offline JP RedroFriend
Messages: 167
Registered: July 2009
Location: India
Senior Member

Experts,

I am using BIRT 4.3. While developing reports in the error log view is showing the bellow error. I am unable to resolve this. Please suggest.


===========================================================
eclipse.buildId=4.3.0.I20130605-2000
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.reporting.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.reporting.product
==================================================



java.lang.ClassCastException: org.eclipse.birt.report.model.api.css.CssStyleSheetHandle cannot be cast to org.eclipse.birt.report.model.api.SharedStyleHandle
at org.eclipse.birt.report.designer.ui.actions.EditStyleMenuAction.getItems(EditStyleMenuAction.java:55)
at org.eclipse.birt.report.designer.ui.actions.MenuUpdateAction.run(MenuUpdateAction.java:118)
at org.eclipse.birt.report.designer.ui.actions.MenuUpdateAction.updateMenu(MenuUpdateAction.java:150)
at org.eclipse.birt.report.designer.internal.ui.editors.schematic.providers.SchematicContextMenuProvider.updateDynamicItems(SchematicContextMenuProvider.java:980)
at org.eclipse.birt.report.designer.internal.ui.editors.schematic.providers.SchematicContextMenuProvider.access$0(SchematicContextMenuProvider.java:975)
at org.eclipse.birt.report.designer.internal.ui.editors.schematic.providers.SchematicContextMenuProvider$2.menuAboutToShow(SchematicContextMenuProvider.java:807)
at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:343)
at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:475)
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:470)
at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:500)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:255)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1081)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:4964)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4640)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4977)
at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:257)
at org.eclipse.swt.widgets.Display.runPopups(Display.java:4211)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3753)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)


Thanks,
JP
Re: Unhandled event loop exception [message #1117847 is a reply to message #1116474] Thu, 26 September 2013 21:39 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1663
Registered: July 2009
Senior Member

This happens from the designer? Can you create an example that I can run where I can see this issue?

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Re: Unhandled event loop exception [message #1118337 is a reply to message #1117847] Fri, 27 September 2013 09:59 Go to previous messageGo to next message
JP Redro is currently offline JP RedroFriend
Messages: 167
Registered: July 2009
Location: India
Senior Member

Thanks Williams,
It's happened in BIRT designer All in One. I am upgrading all BIRT 2.1.1 reports to 4.3 with Library approach and Attached is the Screen shot.

  • Attachment: 0118_img.png
    (Size: 19.28KB, Downloaded 43 times)


Thanks,
JP
Re: Unhandled event loop exception [message #1138392 is a reply to message #1118337] Tue, 15 October 2013 04:30 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1663
Registered: July 2009
Senior Member

Sorry for the delay. Are you able to reproduce this error with a report built with the sample database?

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:Background Image in Master Page
Next Topic:Is there a BIRT emitter for JSON (or charts that render JSON strings)
Goto Forum:
  


Current Time: Tue Nov 25 00:51:03 GMT 2014

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

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