Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
is there any BIRT integrate with RAP demo?
kevin23_hy
i had a illustration that referenced by RCP example,to migrate a Rich Ajax Platform(RAP) applecation but ocurred some error:(as follows), so there is some example about RAP integrations,thx for answers;)
!ENTRY org.eclipse.rap.ui 4 4 2009-07-03 09:46:59.937
!MESSAGE Could not create color factory.
!ENTRY org.eclipse.equinox.registry 4 1 2009-07-03 09:46:59.937
!MESSAGE Plug-in "org.eclipse.ui" was unable to instantiate class "org.eclipse.ui.internal.themes.LightColorFactory".
!STACK 0
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.ui.internal.themes.ThemeRegistryReader.checkColorFactory(ThemeRegistryReader.java:406)
at org.eclipse.ui.internal.themes.ThemeRegistryReader.getColorValue(ThemeRegistryReader.java:183)
at org.eclipse.ui.internal.themes.ThemeRegistryReader.readColor(ThemeRegistryReader.java:139)
at org.eclipse.ui.internal.themes.ThemeRegistryReader.readElement(ThemeRegistryReader.java:239)
at org.eclipse.ui.internal.registry.RegistryReader.readElements(RegistryReader.java:144)
at org.eclipse.ui.internal.registry.RegistryReader.readExtension(RegistryReader.java:155)
at org.eclipse.ui.internal.registry.RegistryReader.readRegistry(RegistryReader.java:176)
at org.eclipse.ui.internal.themes.ThemeRegistryReader.readThemes(ThemeRegistryReader.java:458)
at org.eclipse.ui.internal.WorkbenchPlugin$ThemeRegistryStore.<init>(WorkbenchPlugin.java:149)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.eclipse.rwt.SessionSingletonBase.getInstanceInternal(SessionSingletonBase.java:154)
at org.eclipse.rwt.SessionSingletonBase.getInstance(SessionSingletonBase.java:91)
at org.eclipse.ui.internal.WorkbenchPlugin$ThemeRegistryStore.getInstance(WorkbenchPlugin.java:142)
at org.eclipse.ui.internal.WorkbenchPlugin.getThemeRegistry(WorkbenchPlugin.java:872)
at org.eclipse.ui.internal.Workbench$29.runWithException(Workbench.java:1514)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
at org.eclipse.rwt.internal.lifecycle.UICallBackManager.addSync(UICallBackManager.java:115)
at org.eclipse.swt.widgets.Display$2.run(Display.java:695)
at org.eclipse.rwt.internal.lifecycle.UICallBackServiceHandler.runNonUIThreadWithFakeContext(UICallBackServiceHandler.java:460)
at org.eclipse.rwt.lifecycle.UICallBack.runNonUIThreadWithFakeContext(UICallBack.java:44)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:693)
at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:110)
at org.eclipse.ui.internal.Workbench.initializeFonts(Workbench.java:1510)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1390)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2406)
at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:2295)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:514)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:497)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:157)
at org.eclipse.birt.examples.rapviewer.Application.createUI(Application.java:17)
at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(EntryPointManager.java:92)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:231)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:119)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at org.eclipse.ui.themes.ColorUtil.getSystemColor(ColorUtil.java:152)
at org.eclipse.ui.themes.ColorUtil.process(ColorUtil.java:47)
at org.eclipse.ui.themes.ColorUtil.getColorValue(ColorUtil.java:172)
at org.eclipse.ui.internal.themes.LightColorFactory.<clinit>(LightColorFactory.java:33)
... 48 more
Find more posts tagged with
Comments
mwilliams
Hi Kevin,<br />
<br />
Have you seen this post in the devShare?<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/devshare/deploying-birt-reports/836-integrating-birt-into-rap-applications/#description'>Integrating
BIRT into RAP applications - Articles - BIRT Exchange</a>
kevin23_hy
THX,it's a good example,got run it soomthly,hope to put out more:)