[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Re: java.lang.NoSuchMethodError: fixedClassInitProc
|
Hi Virender, sorry for the late reply,
Looking at the trace, my guess is that the signature of Display's
fixedClassInitProc method does not match what it's looking for. In
particular, if you have the original swt code where the signature looks
like:
static int /*long*/ fixedClassInitProc (int /*long*/ g_class, int /*long*/
class_data)
...then as a quick experiment try flipping its int's and long's, to look
like:
static long /*int*/ fixedClassInitProc (long /*int*/ g_class, long /*int*/
class_data)
...to see if you get any farther (eg.- the next attempt to hook a callback).
Grant
"Virender Kumar" <virender.kumar@xxxxxx> wrote in message
news:db2de1f2da6a08568250845ef446ed65$1@xxxxxxxxxxxxxxxxxx
> Hi
>
> I'm trying to port Eclipse 3.2 to HP-UX Itanium. I get an eclipse binary
> at the end of build process, but when I try to run it, I get trace
> attached at the bottom.
>
> I tried setting SWT_PTR_CFLAGS=-DSWT_PTR_SIZE_64 in build script for SWT
> libraries. However, the problem continues.
>
> I was not able to build all the libswt-xxx.so files, which come in linux
> package. The libraries which I was able to build are :
>
> libswt-atk-gtk-3232.so
> libswt-awt-gtk-3232.so
> libswt-cairo-gtk-3232.so
> libswt-cde-gtk-3232.so
> libswt-gtk-3232.so
> libswt-pi-gtk-3232.so
> libswt-mozilla-gtk-3232.so
>
> So, could this problem be because of some missing libraries.
>
> Any hints will be very useful.
>
> Regards
> Virender.
>
>
>
>
>
> --------------------------------------------------------
>
> java.vendor=Hewlett-Packard Co.
> BootLoader constants: OS=hpux, ARCH=ia64, WS=gtk, NL=en Command-line
> arguments: -os hpux -ws gtk -arch ia64
>
> !ENTRY org.eclipse.osgi 4 0 2006-11-27 09:47:58.414 !MESSAGE Application
> error !STACK 1
> java.lang.NoSuchMethodError: fixedClassInitProc
> at org.eclipse.swt.internal.Callback.bind(Native Method)
> at org.eclipse.swt.internal.Callback.<init>(Callback.java:123)
> at org.eclipse.swt.internal.Callback.<init>(Callback.java:78)
> at org.eclipse.swt.internal.Callback.<init>(Callback.java:60)
> at org.eclipse.swt.widgets.Display.createDisplay(Display.java:807)
> at org.eclipse.swt.widgets.Display.create(Display.java:781)
> at org.eclipse.swt.graphics.Device.<init>(Device.java:145)
> at org.eclipse.swt.widgets.Display.<init>(Display.java:452)
> at org.eclipse.swt.widgets.Display.<init>(Display.java:443)
> at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:448)
> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
> at
>
org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java
:122)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:75)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.
java:78)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
EclipseAppLauncher.java:92)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAp
pLauncher.java:68)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
> 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:324)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
>
> !ENTRY org.eclipse.osgi 2 0 2006-11-27 09:47:58.459 !MESSAGE The following
> is a complete list of bundles which are not resolved, see the prior log
> entry for the root cause if it exists:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2006-11-27 09:47:58.459 !MESSAGE Bundle
> update@plugins/org.eclipse.jdt.junit4.runtime_1.0.0.v20060605-1400.jar
> [26] was not resolved.
> !SUBENTRY 2 org.eclipse.jdt.junit4.runtime 2 0 2006-11-27 09:47:58.459
> !MESSAGE Missing required bundle org.junit4_[4.1.0,4.2.0).
> !SUBENTRY 1 org.eclipse.osgi 2 0 2006-11-27 09:47:58.460 !MESSAGE Bundle
> update@plugins/org.eclipse.jdt.apt.ui_3.2.0.v20060602-1740.jar [34] was
> not resolved.
> !SUBENTRY 2 org.eclipse.jdt.apt.ui 2 0 2006-11-27 09:47:58.460 !MESSAGE
> Missing required bundle org.eclipse.jdt.apt.core_[3.2.0,4.0.0).
> !SUBENTRY 1 org.eclipse.osgi 2 0 2006-11-27 09:47:58.460 !MESSAGE Bundle
> update@plugins/org.eclipse.jdt.apt.core_3.2.0.v20060602-1740.jar [88] was
> not resolved.
> !SUBENTRY 2 org.eclipse.jdt.apt.core 2 0 2006-11-27 09:47:58.460 !MESSAGE
> Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5
> !SUBENTRY 1 org.eclipse.osgi 2 0 2006-11-27 09:47:58.460 !MESSAGE Bundle
> update@plugins/org.junit4_4.1.0/ [98] was not resolved.
> !SUBENTRY 2 org.junit4 2 0 2006-11-27 09:47:58.461 !MESSAGE Missing
> Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.5
>
>