Home
Developing Analytics Applications
ClassCastException with custom's ODA driver
system_migrated
Hi,
I wrote a ODA runtime driver with the wizzard. No error occures when launches a JUnit test. It does render a pdf file from rptdesign file. If rptdesign file has embed images, and the images have "width" or "height" property, it renders an empty pdf to me, otherwise it seems OK.
Eclipse Version: eclipse-reporting-galileo-SR2-win32, Windows XP, IBM Java 1.5. BIRT 2.5.2
and the exception as following:
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20071007 (JIT enabled)
J9VM - 20071004_14218_lHdSMR
JIT - 20070820_1846ifx1_r8
GC - 200708_10
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
!ENTRY org.eclipse.osgi 4 0 2010-05-12 15:42:23.328
!MESSAGE error loading hook: org.eclipse.persistence.jpa.equinox.weaving.WeavingConfigurator
!STACK 0
java.lang.ClassCastException: org.eclipse.persistence.jpa.equinox.weaving.WeavingConfigurator incompatible with org.eclipse.osgi.baseadaptor.HookConfigurator
at org.eclipse.osgi.baseadaptor.HookRegistry.loadConfigurators(HookRegistry.java:177)
at org.eclipse.osgi.baseadaptor.HookRegistry.initialize(HookRegistry.java:100)
at org.eclipse.osgi.baseadaptor.BaseAdaptor.<init>(BaseAdaptor.java:96)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
at org.eclipse.core.runtime.adaptor.EclipseStarter.createAdaptor(EclipseStarter.java:747)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.birt.core.framework.osgi.OSGILauncher.doStartup(OSGILauncher.java:191)
Find more posts tagged with
Comments
There are no comments yet