Skip to main content



      Home
Home » Archived » BIRT » BIRT RC run from source exception problem.
BIRT RC run from source exception problem. [message #105099] Thu, 05 January 2006 16:22 Go to next message
Eclipse UserFriend
First thanks for working so hard to get the BIRT 2.0 code out the door.
I today fetched the RC binaries and RC source, the binaries work fine
for me.However, the BIRT_2_0_RC_20051231 source is giving me some trouble.

I can build everything and run in a runtime workbench instance but when
I create a new report in my runtime instance in a reporting project I
get the following exception error message.

An unexpected internal exception occurred.Please see log for detail.
Plug-in Provider:Eclipse.org
Plug-in Name:BIRT Designer UI
Plug-in ID:org.eclipse.birt.report.designer.ui
Version:2.0.0
Error Code:Error.GUIException.invokedByUnexpectedException
Error Message:Caused by java.lang.ClassCastException.

I'm using the correct 3.1.1 eclipse, gef and emf. not sure whats goin
on. anyone seen this?


Also in the report designer, I see the following exception information
(included at bottom of this post). Anyone know a fix for this?



java.lang.ClassCastException
at
org.eclipse.birt.report.designer.internal.ui.editors.parts.A bstractMultiPageLayoutEditor.superSetInput(AbstractMultiPage LayoutEditor.java:558)
at
org.eclipse.birt.report.designer.internal.ui.editors.parts.A bstractMultiPageLayoutEditor.init(AbstractMultiPageLayoutEdi tor.java:723)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:778)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:384)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
at
org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:258)
at
org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1221)
at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.ja va:949)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at
org.eclipse.ui.internal.EditorManager.restoreState(EditorMan ager.java:944)
at
org.eclipse.ui.internal.WorkbenchPage.restoreState(Workbench Page.java:2576)
at
org.eclipse.ui.internal.WorkbenchWindow.restoreState(Workben chWindow.java:1819)
at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.j ava:2566)
at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2 515)
at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1514 )
at org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1263 )
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:346)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:291)
at
org.eclipse.jface.dialogs.ProgressMonitorDialog.run(Progress MonitorDialog.java:447)
at
org.eclipse.ui.internal.Workbench.runStartupWithProgress(Wor kbench.java:1258)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1512)
at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1 491)
at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1374 )
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1318)
at
org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(Wor kbenchConfigurer.java:183)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:700)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)



first several of the tests plugins don't compile for me. Looking
Re: BIRT RC run from source exception problem. [message #105120 is a reply to message #105099] Thu, 05 January 2006 16:39 Go to previous message
Eclipse UserFriend
Ok figured this out, I had RCP source plugins running and they were
over-riding the eclipse IDE versions. closed those projects and now I
run fine. for documentation sake I closed both of these as the RCP stuff
was causing the problem.

org.eclipse.birt.report.designer.ui.rcp
org.eclipse.birt.report.designer.rcp.ui

by the way why are these two plugins so similar in naming. should one be
removed?

Note I just went to the BIRT_2_0_RC_20051231 version branch and grabbed
all the plug-in source and both these guys got downloaded.



Mike Boyersmith wrote:
> First thanks for working so hard to get the BIRT 2.0 code out the door.
> I today fetched the RC binaries and RC source, the binaries work fine
> for me.However, the BIRT_2_0_RC_20051231 source is giving me some trouble.
>
> I can build everything and run in a runtime workbench instance but when
> I create a new report in my runtime instance in a reporting project I
> get the following exception error message.
>
> An unexpected internal exception occurred.Please see log for detail.
> Plug-in Provider:Eclipse.org
> Plug-in Name:BIRT Designer UI
> Plug-in ID:org.eclipse.birt.report.designer.ui
> Version:2.0.0
> Error Code:Error.GUIException.invokedByUnexpectedException
> Error Message:Caused by java.lang.ClassCastException.
>
> I'm using the correct 3.1.1 eclipse, gef and emf. not sure whats goin
> on. anyone seen this?
>
>
> Also in the report designer, I see the following exception information
> (included at bottom of this post). Anyone know a fix for this?
>
>
>
> java.lang.ClassCastException
> at
> org.eclipse.birt.report.designer.internal.ui.editors.parts.A bstractMultiPageLayoutEditor.superSetInput(AbstractMultiPage LayoutEditor.java:558)
>
> at
> org.eclipse.birt.report.designer.internal.ui.editors.parts.A bstractMultiPageLayoutEditor.init(AbstractMultiPageLayoutEdi tor.java:723)
>
> at
> org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:778)
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
>
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:384)
>
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
>
> at
> org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:258)
>
> at
> org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1221)
>
> at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.ja va:949)
> at
> org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
>
> at org.eclipse.core.runtime.Platform.run(Platform.java:783)
> at
> org.eclipse.ui.internal.EditorManager.restoreState(EditorMan ager.java:944)
> at
> org.eclipse.ui.internal.WorkbenchPage.restoreState(Workbench Page.java:2576)
> at
> org.eclipse.ui.internal.WorkbenchWindow.restoreState(Workben chWindow.java:1819)
>
> at
> org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.j ava:2566)
> at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2 515)
> at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1514 )
> at org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1263 )
> at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:346)
>
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:291)
> at
> org.eclipse.jface.dialogs.ProgressMonitorDialog.run(Progress MonitorDialog.java:447)
>
> at
> org.eclipse.ui.internal.Workbench.runStartupWithProgress(Wor kbench.java:1258)
>
> at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1512)
> at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1 491)
> at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1374 )
> at
> org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
>
> at org.eclipse.core.runtime.Platform.run(Platform.java:783)
> at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1318)
> at
> org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(Wor kbenchConfigurer.java:183)
>
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:700)
>
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:948)
>
>
>
> first several of the tests plugins don't compile for me. Looking
Previous Topic:Scripted data set import JAR
Next Topic:"Can not open the file" exception while opening the report with 2.0RC
Goto Forum:
  


Current Time: Tue Jul 22 13:48:28 EDT 2025

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

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

Back to the top