01.06.2010, 12:50
(01.06.2010, 10:35)hvdwolf Wrote: Solved with modified routeconverter.html from this thread.
... and the just uploaded prerelease?
--
Christian
Christian
|
RouteConverter and Mac OS X
|
|
01.06.2010, 12:50
(01.06.2010, 10:35)hvdwolf Wrote: Solved with modified routeconverter.html from this thread. ... and the just uploaded prerelease?
--
Christian
01.06.2010, 16:24
Unfortunately both the .app and the .jar don't function.
The .app doesn't open. The .jar opens but doesn't show a map (see attached screengrab). And then it hangs, it's completely blocked. I used "java -XstartOnFirstThread -jar RouteConverterPrereleaseMac64.jar". See messges below. Code: 2010-06-01 17:13:14.000 java[15428:c0b] [Java CocoaComponent compatibility mode]: Enabled
2010-06-01 17:13:14.000 java[15428:c0b] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000
java.lang.reflect.InvocationTargetException
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:597)
at slash.navigation.gui.Application.invokeNativeInterfaceMethod(Application.java:85)
at slash.navigation.gui.Application.openNativeInterface(Application.java:94)
at slash.navigation.gui.Application.launch(Application.java:103)
at slash.navigation.converter.gui.RouteConverter6.main(RouteConverter6.java:48)
Caused by: java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.eclipse.swt.graphics.Device.<clinit>(Unknown Source)
at chrriis.dj.nativeswing.swtimpl.NativeInterface$InProcess.initialize(NativeInterface.java:425)
at chrriis.dj.nativeswing.swtimpl.NativeInterface$InProcess.access$0(NativeInterface.java:424)
at chrriis.dj.nativeswing.swtimpl.NativeInterface.initialize(NativeInterface.java:221)
at chrriis.dj.nativeswing.swtimpl.NativeInterface.open(NativeInterface.java:239)
... 8 more
java.lang.reflect.InvocationTargetException
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:597)
at slash.navigation.gui.Application.invokeNativeInterfaceMethod(Application.java:85)
at slash.navigation.gui.Application.runNativeInterfaceEventPump(Application.java:98)
at slash.navigation.gui.Application.launch(Application.java:123)
at slash.navigation.converter.gui.RouteConverter6.main(RouteConverter6.java:48)
Caused by: java.lang.IllegalStateException: Cannot run the event pump when the interface is not initialized!
at chrriis.dj.nativeswing.swtimpl.NativeInterface.runEventPump(NativeInterface.java:378)
... 8 more
Logging to /var/folders/+R/+RmeG2o8EleS+UbdOPEbWE+++TI/-Tmp-/RouteConverter.log
1-jun-2010 17:13:14 slash.navigation.converter.gui.RouteConverter startup
INFO: Started RouteConverter 1.34-SNAPSHOT-1.337 van 1 juni 2010 on Mac OS X 10.5.8 x86_64 with Java 1.6.0_20 and 126 MByte heap
1-jun-2010 17:13:14 slash.navigation.converter.gui.RouteConverter startup
INFO: Started RouteConverter 1.34-SNAPSHOT-1.337 van 1 juni 2010 on Mac OS X 10.5.8 x86_64 with Java 1.6.0_20 and 126 MByte heap
1-jun-2010 17:13:14 slash.navigation.gui.SingleFrameApplication createFrame
INFO: Graphics device is \Display0
1-jun-2010 17:13:14 slash.navigation.gui.SingleFrameApplication createFrame
INFO: Graphics device is \Display0
1-jun-2010 17:13:14 slash.navigation.converter.gui.Updater check
FINE: Payload: routeconverter.version=1.34-SNAPSHOT-1.337,routeconverter.startcount=87,user.locale=nl_NL,java.version=1.6.0_20,os.name=Mac OS X,os.version=10.5.8,os.arch=x86_64,
1-jun-2010 17:13:14 slash.navigation.converter.gui.Updater check
FINE: My version: 1.34-SNAPSHOT-1.337
1-jun-2010 17:13:14 slash.navigation.converter.gui.Updater check
FINE: Latest version on server: 1.32
1-jun-2010 17:13:14 slash.navigation.converter.gui.Updater check
FINE: Server thinks it's latest: true
1-jun-2010 17:13:14 slash.navigation.converter.gui.Updater check
FINE: I think it's latest: true
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication openFrame
INFO: Screen size is java.awt.Rectangle[x=0,y=0,width=1440,height=900]
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication openFrame
INFO: Screen size is java.awt.Rectangle[x=0,y=0,width=1440,height=900]
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 1073 for preferenceWidth to [0;2147483647] gives 1073
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 1073 for preferenceWidth to [0;2147483647] gives 1073
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 1073 for width to [-4;1448] gives 1073
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 1073 for width to [-4;1448] gives 1073
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 623 for preferencesHeight to [0;2147483647] gives 623
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 623 for preferencesHeight to [0;2147483647] gives 623
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 623 for height to [-4;908] gives 623
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 623 for height to [-4;908] gives 623
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame size is java.awt.Dimension[width=1073,height=623]
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame size is java.awt.Dimension[width=1073,height=623]
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 145 for x to [-4;375] gives 145
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 145 for x to [-4;375] gives 145
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 108 for y to [-4;285] gives 108
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication crop
INFO: Cropping value 108 for y to [-4;285] gives 108
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame location is java.awt.Point[x=145,y=108]
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame location is java.awt.Point[x=145,y=108]
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame state is 0
1-jun-2010 17:13:15 slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame state is 0
1-jun-2010 17:13:15 slash.common.io.Externalization extractFile
INFO: Extracting slash/navigation/converter/gui/mapview/routeconverter.html to /var/folders/+R/+RmeG2o8EleS+UbdOPEbWE+++TI/-Tmp-/routeconverter/routeconverter_nl.html
1-jun-2010 17:13:15 slash.common.io.Externalization extractFile
INFO: Extracting slash/navigation/converter/gui/mapview/routeconverter.html to /var/folders/+R/+RmeG2o8EleS+UbdOPEbWE+++TI/-Tmp-/routeconverter/routeconverter_nl.html
1-jun-2010 17:13:15 slash.common.io.Externalization extractFile
INFO: Extracting slash/navigation/converter/gui/mapview/contextmenucontrol.js to /var/folders/+R/+RmeG2o8EleS+UbdOPEbWE+++TI/-Tmp-/routeconverter/contextmenucontrol.js
1-jun-2010 17:13:15 slash.common.io.Externalization extractFile
INFO: Extracting slash/navigation/converter/gui/mapview/contextmenucontrol.js to /var/folders/+R/+RmeG2o8EleS+UbdOPEbWE+++TI/-Tmp-/routeconverter/contextmenucontrol.js
1-jun-2010 17:13:15 slash.navigation.converter.gui.mapview.EclipseSWTMapView loadWebPage
FINE: 1275405195687 loadWebPage thread Thread[AWT-EventQueue-0,6,main]When I use "java -jar RouteConverterPrereleaseMac64.jar", it does open and function but it doesn't show a map (off course).
01.06.2010, 17:32
(01.06.2010, 16:24)hvdwolf Wrote: I used "java -XstartOnFirstThread -jar RouteConverterPrereleaseMac64.jar". Are you sure you've used the 64-bit version, the error message claims it had been the 32-bit version: Code: Caused by: java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)(01.06.2010, 16:24)hvdwolf Wrote: When I use "java -jar RouteConverterPrereleaseMac64.jar", it does open and function but it doesn't show a map (off course). And does the log contain something useful?
--
Christian
01.06.2010, 18:56
(01.06.2010, 17:32)routeconverter Wrote:Yes, I see that now but I really used the RouteConverterPrereleaseMac64.jar. I'm affraid you packed a 32bit library into the Mac64.jar.(01.06.2010, 16:24)hvdwolf Wrote: I used "java -XstartOnFirstThread -jar RouteConverterPrereleaseMac64.jar". Especially as the folder "/var/folders/+R/+RmeG2o8EleS+UbdOPEbWE+++TI/-Tmp-/swtlib-32/" has been updated this evening whereas the swtlib-64 was updated yesterday evening. (01.06.2010, 17:32)routeconverter Wrote: And does the log contain something useful?No, the same as the lines already in my previous post.
01.06.2010, 20:12
Off topic here: The linux prerelease doesn't show a map either.
02.06.2010, 10:35
(30.05.2010, 10:43)hvdwolf Wrote: Menu: Quite frankly: I don't know how to solve these problems from within the application. They seem to be issues of the Java VM on Mac OS X.
--
Christian
02.06.2010, 21:46
(02.06.2010, 10:35)routeconverter Wrote:(30.05.2010, 10:43)hvdwolf Wrote: Menu: Yes, it seems like it. I've tested the linux version and the windows version and these versions don't show that behavior. (29.05.2010, 10:27)routeconverter Wrote:(29.05.2010, 09:33)hvdwolf Wrote: It does show an error message: "Unable to call RouteConverter from Webbrowser via port 53465. Please check your firewall." Well, I found a java topic about local TCP-ports and vista returning an ipv6 localhost address here. He does (needs to do?) "something" on Vista and Linux but not on MacOSX as it is unneccessary (?) there. Maybe it's rubbish, maybe it's useful. I can't judge it. Note also that OSXes hosts file also contains these entries Code: 127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
04.06.2010, 07:09
(03.06.2010, 19:22)hvdwolf Wrote: Well, I found a java topic about local TCP-ports and vista returning an ipv6 localhost address here. He does (needs to do?) "something" on Vista and Linux but not on MacOSX as it is unneccessary (?) there. I found that one valueable: Quote:Important Note: Although I hate putting an IPv4 address in the code, a hardcoded one no less, a recent Windows Vista update has caused a lookup of "localhost" to return "::1" even if IPv6 isn't enabled on that host. Thus getLoopbackAddress() forces an IPv4 address of 127.0.0.1. I'll try to replace "localhost" by "127.0.0.1" to avoid that "::1" bug. Thank you!
--
Christian |
|
« Next Oldest | Next Newest »
|