llehtinen / java-axp

Automatically exported from code.google.com/p/java-axp
1 stars 0 forks source link

Not working on Mac - [NSConditionLock unlock]: unlocked when not locked #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, i've managed to get this interesting piece of SW running on my Mac, but I 
had to use SoyLatte 
(OpenJDK 6 BSD port packaged for OS X) which uses X11. It wouldn't start with 
official Apple 
Java.

When I import all project checked out from SVN into eclipse and try running 
'xps-swingviewer' 
with official Java 1.6 I get the following in my console:

2008-12-15 17:33:23.883 java[96877:10b] [Java CocoaComponent compatibility 
mode]: 
Enabled
2008-12-15 17:33:23.884 java[96877:10b] [Java CocoaComponent compatibility 
mode]: Setting 
timeout for SWT to 0.100000
2008-12-15 17:33:24.612 java[96877:1ad03] *** -[NSConditionLock unlock]: lock 
(<NSConditionLock: 0x10015bde0> '(null)') unlocked when not locked
2008-12-15 17:33:24.613 java[96877:1ad03] *** Break on _NSLockError() to debug.
2008-12-15 17:33:24.718 java[96877:1ad03] *** -[NSConditionLock unlock]: lock 
(<NSConditionLock: 0x10015a3f0> '(null)') unlocked when not locked
2008-12-15 17:33:24.719 java[96877:1ad03] *** Break on _NSLockError() to debug.
2008-12-15 17:33:25.324 java[96877:1ad03] *** -[NSConditionLock unlock]: lock 
(<NSConditionLock: 0x10015d080> '(null)') unlocked when not locked
2008-12-15 17:33:25.325 java[96877:1ad03] *** Break on _NSLockError() to debug.
2008-12-15 17:33:25.427 java[96877:1ad03] *** -[NSConditionLock unlock]: lock 
(<NSConditionLock: 0x12380fe60> '(null)') unlocked when not locked
2008-12-15 17:33:25.428 java[96877:1ad03] *** Break on _NSLockError() to debug.
2008-12-15 17:33:25.531 java[96877:1ad03] *** -[NSConditionLock unlock]: lock 
(<NSConditionLock: 0x123810360> '(null)') unlocked when not locked
2008-12-15 17:33:25.533 java[96877:1ad03] *** Break on _NSLockError() to debug.

Any hint on where I might start looking for solution? Or is this Apple's bug 
with ObjC/Java 
integration?

It would be nice to have a regular Mac app bundle for this.

Original issue reported on code.google.com by daniel.kvasnicka.jr on 15 Dec 2008 at 4:37

GoogleCodeExporter commented 8 years ago
As for the issue you're running into, this reference might be the issue. 
http://www.eclipse.org/newsportal/article.php?id=43303&group=eclipse.platform.sw
t#43303

I don't have OS X to test on, so this will be trial and error.

Original comment by chrisp...@gmail.com on 16 Dec 2008 at 12:48

GoogleCodeExporter commented 8 years ago
Issue 14 was created to address the lack of a deployable .app for OS X.

Original comment by chrisp...@gmail.com on 16 Dec 2008 at 12:49

GoogleCodeExporter commented 8 years ago
OK, so when I download the Mac bundle you provided and change vm in Info.plist 
to use 1.6.0, I get the "JVM 
Terminated" window you get when Eclipse dies...

On 1.5 it does not work either (i know it isn't supposed to), but it writes a 
log file. Do you know where I could 
find log file when it crases on 1.6.0? It's not in the configuration folder

Original comment by daniel.kvasnicka.jr on 16 Dec 2008 at 8:35

Attachments: