... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Java on MAC
#11
(29.11.2011, 17:45)Palom0 Wrote: Check both my computer's time and the time on the /tmp/ files in the pic. Nothing was created when I tried installing RouteConverter.

The log is inside one of the subfolders of /tmp. Please try this from the console:

Quote:find /tmp -iname "*RouteConverter*"
--
Christian
Reply
#12
(30.11.2011, 17:00)routeconverter Wrote:
(29.11.2011, 17:45)Palom0 Wrote: Check both my computer's time and the time on the /tmp/ files in the pic. Nothing was created when I tried installing RouteConverter.

The log is inside one of the subfolders of /tmp. Please try this from the console:

Quote:find /tmp -iname "*RouteConverter*"

Nothing happens. See the pic


Attached Files Thumbnail(s)
   
Reply
#13
Hi Jose,

now I'm clueless. Remote debugging this is not easy :-( Are you familiar with programming?
--
Christian
Reply
#14
(30.11.2011, 21:31)routeconverter Wrote: Hi Jose,

now I'm clueless. Remote debugging this is not easy :-( Are you familiar with programming?

Chris,
I am not, but I finally was able to find some logs. See the attached files.

Jose


Attached Files Thumbnail(s)
   

.txt   RouteConverter.log.txt (Size: 3.54 KB / Downloads: 887)
.zip   routeconverter-jose.zip (Size: 15.7 KB / Downloads: 793)
Reply
#15
(30.11.2011, 21:47)Palom0 Wrote: I am not, but I finally was able to find some logs. See the attached files.

Great, the RouteConverter.log shows that everything is fine until the map is initialized :-( The Java VM seems to crash then....

Do you know how to start RouteConverter on the console?
--
Christian
Reply
#16
Nope, but if you give e some instructions, I could try...
(01.12.2011, 00:58)Palom0 Wrote: Nope, but if you give e some instructions, I could try...

Christian,
I believe I just did (using instructions I found online)
The application hanged again (see the pic).
I attach the new logs as well.

Jose


Attached Files
.zip   routeconverter-jose.zip (Size: 15.7 KB / Downloads: 755)
.txt   RouteConverter.log.txt (Size: 3.52 KB / Downloads: 940)
Reply
#17
(01.12.2011, 00:58)Palom0 Wrote: I believe I just did (using instructions I found online)

Hi Jose,

what I need is called a strack trace and since it's not in the log I hope it's printed on the console. It looks similiar to this and tells me, where the NullPointerException leading to the error occurs:

Quote:java.lang.ArrayIndexOutOfBoundsException: 3
at example.common.TestTry.execute(Testtry.java:17)
at example.common.TestTry.main(Testtry.java:11
)

So when you start RouteConverter with

java -jar RouteConverterPrereleaseMac64.jar

please copy the complete console output to the forum.
--
Christian
Reply
#18
Christian,
I think I was able to do what you asked. This time the application (prerrelease MEC64 java version) didn't freeze, but the right pane still didn't show the map.
Check the attached files.

Jose


---------------------------
Start Log
---------------------------
Dec 1, 2011 4:12:00 AM slash.navigation.converter.gui.RouteConverter startup
INFO: Started RouteConverter 2.6-SNAPSHOT-277 from November 28, 2011 for Mac (64-bit) with locale en_US on Java 1.6.0_26 (64-bit) and Mac OS X 10.5.8 x86_64 with 126 MByte heap
Dec 1, 2011 4:12:01 AM slash.navigation.gui.SingleFrameApplication createFrame
INFO: Graphics device is \Display0
Dec 1, 2011 4:12:02 AM slash.navigation.converter.gui.RouteConverter parseArgs
INFO: Processing arguments: []
Dec 1, 2011 4:12:02 AM slash.navigation.converter.gui.Updater check
FINE: Payload: routeconverter.version=2.6-SNAPSHOT-277,routeconverter.startcount=15,user.locale=en_US,java.version=1.6.0_26,javawebstart.version=null,os.name=Mac OS X,os.version=10.5.8,os.arch=x86_64,
Dec 1, 2011 4:12:03 AM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Screen size is java.awt.Rectangle[x=0,y=0,width=1280,height=800], insets are java.awt.Insets[top=22,left=0,bottom=70,right=0]
Dec 1, 2011 4:12:03 AM slash.navigation.gui.SingleFrameApplication crop
FINE: Cropping value 1239 for preferenceWidth to [0;2147483647] gives 1239
Dec 1, 2011 4:12:03 AM slash.navigation.gui.SingleFrameApplication crop
FINE: Cropping value 1239 for width to [0;1280] gives 1239
Dec 1, 2011 4:12:03 AM slash.navigation.gui.SingleFrameApplication crop
FINE: Cropping value 708 for preferencesHeight to [0;2147483647] gives 708
Dec 1, 2011 4:12:03 AM slash.navigation.gui.SingleFrameApplication crop
FINE: Cropping value 708 for height to [-92;708] gives 708
Dec 1, 2011 4:12:03 AM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame size is java.awt.Dimension[width=1239,height=708]
Dec 1, 2011 4:12:03 AM slash.navigation.gui.SingleFrameApplication crop
FINE: Cropping value 12 for x to [0;41] gives 12
Dec 1, 2011 4:12:03 AM slash.navigation.gui.SingleFrameApplication crop
FINE: Cropping value 22 for y to [22;44] gives 22
Dec 1, 2011 4:12:03 AM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame location is java.awt.Point[x=12,y=22]
Dec 1, 2011 4:12:03 AM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame state is 0
Dec 1, 2011 4:12:03 AM slash.navigation.converter.gui.Updater check
FINE: My version: 2.6-SNAPSHOT-277
Dec 1, 2011 4:12:03 AM slash.navigation.converter.gui.Updater check
FINE: Latest version on server: 2.5
Dec 1, 2011 4:12:03 AM slash.navigation.converter.gui.Updater check
FINE: Server thinks it's latest: true
Dec 1, 2011 4:12:03 AM slash.navigation.converter.gui.Updater check
FINE: I think it's latest: true
Dec 1, 2011 4:12:03 AM slash.navigation.converter.gui.mapview.EclipseSWTMapView createWebBrowser
SEVERE: Cannot create WebBrowser: Native Interface is not initialized
Dec 1, 2011 4:12:03 AM slash.navigation.converter.gui.RouteConverter$4 run
FINE: Initialized map divider to 300
Dec 1, 2011 4:12:03 AM slash.navigation.converter.gui.RouteConverter$5 run
FINE: Initialized elevation divider to 473
Dec 1, 2011 4:12:30 AM slash.navigation.catalog.domain.RouteCatalog fetchGpx
FINE: Fetching gpx from http://www.routeconverter.com/catalog/categories/.gpx
Dec 1, 2011 4:12:44 AM slash.navigation.converter.gui.mapview.BaseMapView dispose
INFO: Executors stopped after 0 ms
Dec 1, 2011 4:12:44 AM slash.navigation.converter.gui.helper.LengthCalculator dispose
INFO: LengthCalculator stopped after 0 ms
Dec 1, 2011 4:12:44 AM slash.navigation.gui.SingleFrameApplication closeFrame
INFO: Storing frame location as java.awt.Point[x=12,y=22]
Dec 1, 2011 4:12:44 AM slash.navigation.gui.SingleFrameApplication closeFrame
INFO: Storing frame size as java.awt.Dimension[width=1239,height=708]
Dec 1, 2011 4:12:44 AM slash.navigation.gui.SingleFrameApplication closeFrame
INFO: Storing frame state as 0
Dec 1, 2011 4:12:44 AM slash.navigation.gui.SingleFrameApplication closeFrame
INFO: Storing graphics device as \Display0
Dec 1, 2011 4:12:44 AM slash.navigation.converter.gui.RouteConverter shutdown
INFO: Shutdown RouteConverter 2.6-SNAPSHOT-277 from November 28, 2011 for Mac (64-bit) with locale en_US on Java 1.6.0_26 (64-bit) and Mac OS X 10.5.8 x86_64 with 126 MByte heap
---------------------------
End Log
---------------------------
An the info that shows in the Terminal screen as well:

=====================
Last login: Thu Dec 1 04:18:33 on ttys000
home-macs-macbook:~ jose$ cd desktop
home-macs-macbook:desktop jose$ java -jar RouteConverterPrereleaseMac64.jar
***WARNING: Display must be created on main thread due to Cocoa restrictions.
Dec 1, 2011 4:27:41 AM slash.navigation.gui.Application invokeNativeInterfaceMethod
INFO: Cannot invoke NativeInterface#open(): null
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:91)
at slash.navigation.gui.Application.openNativeInterface(Application.java:99)
at slash.navigation.gui.Application.launch(Application.java:108)
at slash.navigation.converter.gui.RouteConverter.main(RouteConverter.java:94)
Caused by: java.lang.IllegalStateException: Failed to use the Mac Dispatch executor. This may happen if the version of Java that is used is too old.
at chrriis.dj.nativeswing.swtimpl.core.SWTNativeInterface$InProcess.runWithMacExecutor(SWTNativeInterface.java:599)
at chrriis.dj.nativeswing.swtimpl.core.SWTNativeInterface$InProcess.initialize(SWTNativeInterface.java:572)
at chrriis.dj.nativeswing.swtimpl.core.SWTNativeInterface$InProcess.access$2(SWTNativeInterface.java:558)
at chrriis.dj.nativeswing.swtimpl.core.SWTNativeInterface.initialize_(SWTNativeInterface.java:238)
at chrriis.dj.nativeswing.swtimpl.NativeInterface.initialize(NativeInterface.java:71)
at chrriis.dj.nativeswing.swtimpl.core.SWTNativeInterface.open_(SWTNativeInterface.java:316)
at chrriis.dj.nativeswing.swtimpl.NativeInterface.open(NativeInterface.java:100)
... 8 more
Caused by: java.lang.NullPointerException
at chrriis.dj.nativeswing.swtimpl.core.SWTNativeInterface$InProcess.runWithMacExecutor(SWTNativeInterface.java:597)
... 14 more
Dec 1, 2011 4:27:41 AM slash.navigation.gui.Application invokeNativeInterfaceMethod
INFO: Cannot invoke NativeInterface#runEventPump(): null
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:91)
at slash.navigation.gui.Application.runNativeInterfaceEventPump(Application.java:103)
at slash.navigation.gui.Application.launch(Application.java:128)
at slash.navigation.converter.gui.RouteConverter.main(RouteConverter.java:94)
Caused by: java.lang.IllegalStateException: Cannot run the event pump when the interface is not initialized!
at chrriis.dj.nativeswing.swtimpl.core.SWTNativeInterface.runEventPump_(SWTNativeInterface.java:468)
at chrriis.dj.nativeswing.swtimpl.NativeInterface.runEventPump(NativeInterface.java:124)
... 8 more
Logging to /var/folders/hx/hxPEecUDH7GKF-l29-YJu++++TM/-Tmp-/RouteConverter.log

=========================


Attached Files Thumbnail(s)
       

.txt   RouteConverter.log.txt (Size: 4 KB / Downloads: 925)
Reply
#19
(01.12.2011, 13:24)Palom0 Wrote: I think I was able to do what you asked.

Hi Jose,

you're great. That was what I needed: the error message from the Eclipse SWT / DJ Native Swing libraries which I use for the Web browser that displays the map.

(01.12.2011, 13:24)Palom0 Wrote: This time the application (prerrelease MEC64 java version) didn't freeze, but the right pane still didn't show the map.

The relevant line is

Quote:Caused by: java.lang.IllegalStateException: Failed to use the Mac Dispatch executor. This may happen if the version of Java that is used is too old.

Although I can't believe that a Java 1.6.0_26 is too old. Is there anything newer for Macs?

Does RouteConverter 2.4 work on your machine?
It's available here: http://static.routeconverter.de/download...64.app.zip

--
Christian
Reply
#20
Quote:Although I can't believe that a Java 1.6.0_26 is too old. Is there anything newer for Macs?

Does RouteConverter 2.4 work on your machine?
It's available here: http://static.routeconverter.de/download...64.app.zip

Christian,
There is no further update from Apple. I am up to date on all SW updates.
Regarding version 2.4, I triad it today and it seems to work fine.

Jose
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)