2:14PM
Java and Lion
Monday, August 8, 2011 at 2:14PM After upgrading my MacBook Pro to Lion, I got an error when running SoapUI (v4.0.0). The app launched, but as soon as I clicked anywhere in its windows, I saw the following stacktrace
2011-08-08 13:08:13.623 java[78909:13403] [Java CocoaComponent compatibility mode]: Enabled
2011-08-08 13:08:13.635 java[78909:1f07] java.lang.Exception: Object owner or JVM pointer are not correct
2011-08-08 13:08:13.636 java[78909:1f07] (
0 CoreFoundation 0x00007fff8ff78986 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8f939d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff900025a9 -[NSException raise] + 9
3 JavaNativeFoundation 0x000000010a15ad5d JNFCallStaticVoidMethod + 213
4 libawt.jnilib 0x00000001142d4411 setBusy + 53
5 CoreFoundation 0x00007fff8ff38647 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
6 CoreFoundation 0x00007fff8ff385a6 __CFRunLoopDoObservers + 374
7 CoreFoundation 0x00007fff8ff0d976 __CFRunLoopRun + 1062
8 CoreFoundation 0x00007fff8ff0d216 CFRunLoopRunSpecific + 230
9 HIToolbox 0x00007fff8f2a94ff RunCurrentEventLoopInMode + 277
10 HIToolbox 0x00007fff8f2b0c21 ReceiveNextEventCommon + 355
11 HIToolbox 0x00007fff8f2b0aae BlockUntilNextEventMatchingListInMode + 62
12 AppKit 0x00007fff87952191 _DPSNextEvent + 659
13 AppKit 0x00007fff87951a95 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
14 libawt.jnilib 0x0000000114328f6d -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
15 AppKit 0x00007fff8794e3d6 -[NSApplication run] + 463
16 libawt.jnilib 0x00000001142d41f0 +[AWTStarter startAWT:] + 1495
17 libawt.jnilib 0x00000001142d3b6a -[CPerformer perform] + 93
18 CoreFoundation 0x00007fff8ff6811d -[NSObject performSelector:withObject:] + 61
19 Foundation 0x00007fff870f9830 __NSThreadPerformPerform + 214
20 CoreFoundation 0x00007fff8fee7241 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
21 CoreFoundation 0x00007fff8fee6aad __CFRunLoopDoSources0 + 253
22 CoreFoundation 0x00007fff8ff0d8d9 __CFRunLoopRun + 905
23 CoreFoundation 0x00007fff8ff0d216 CFRunLoopRunSpecific + 230
24 java 0x0000000109879842 java + 18498
25 java 0x0000000109879299 java + 17049
26 java 0x0000000109876a90 java + 6800
27 ??? 0x000000000000000e 0x0 + 14
Turns out this is caused by running the 64-bit version of Java (this is the default setting). By changing the order of the 32 and 64 bit versions in the Java Preferences application (/Applications/Utilities), Java now runs in 32-bit by default and SoapUI works again.

I probably could also changed the soapui.sh file and pass in the -d32 parameter manually.
tagged
java mac lion in
Java,
Mac
java mac lion in
Java,
Mac