Register | Login
Attackpoint - performance and training tools for orienteering athletes

Discussion: Ór setup - new laptop

in: Orienteering; General

Sep 23, 2021 2:51 AM # 
P.Stromme:
We just got a new laptop for downloads, and I'm having trouble getting Ór to recognize the download station. When I plug in the download station, the COM menu in Ór does not give options the way it should - it only shows [None] and Simulator.

I have installed the SI USB driver, and it works correctly in SI-Config. Any idea what I'm missing?
Advertisement  
Sep 23, 2021 11:36 AM # 
vmeyer:
https://www.attackpoint.org/discussionthread.jsp/m...
Sep 24, 2021 3:21 AM # 
P.Stromme:
After reading about issues with 32 bit vs 64 bit java, I was hopeful. But that didn't fix the issue. It still doesn't show any com port options in the COM menu.
Sep 24, 2021 2:06 PM # 
SherlockHolmes:
Send an email to martinflynn@gmail.com. He has helped me with Or in the past.
Sep 24, 2021 3:21 PM # 
BlaikM:
I was having the same issue trying to set up a Surface Pro 6 as an Ór workstation. But I just went to check for details to post here, and now it's working! Not sure what's changed on the tablet since the last time I tried. The only things I can think of are an update to the latest Java and Windows 10 update releases.

You say you can connect to the SI readout station through SI Config +? What COM port does the SportIdent USB device show up under in Device Manager?
Sep 24, 2021 5:52 PM # 
martinflynn:
If the box works with SIConfig, that eliminates a lot of possibilities.

The most likely cause is the Java VM you are using. I am using JRE version 1.8.0_301-b09 Java HotSpot(TM) Client VM without problem. That's 32 bit but I'm pretty sure I have also used 64 bit in the past without problem.

Failing that, it is possible to enable the Java Console and view Ór traces. These may give some clues. There is an FAQ on this at https://www.orienteering.ie/or-home/or-faq/
Sep 27, 2021 2:36 AM # 
P.Stromme:
The SI station shows up as COM 6 in Device Manager.

I have Java version 1.8.0_301-b09, downloaded from java.com. Is HotSpot(TM) Client VM something different from the version at java.com?

I will try enabling the Java Console...
Sep 27, 2021 3:03 AM # 
P.Stromme:
This is what I got from the Java Console. I see an "UnsatisfiedLinkError" and "Can't find dependent libraries" but I don't know how to fix the error. Any thoughts?

JNLPClassLoader: Finding library jnidispatch.dll
Exception in thread "ComPortThread" java.lang.UnsatisfiedLinkError: C:\Users\MNOC\AppData\Local\Temp\jna-2371381\jna9120555563654505663.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:851)
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:826)
at com.sun.jna.Native.(Native.java:140)
at jtermios.windows.WinAPI.(WinAPI.java:101)
at jtermios.windows.JTermiosImpl.getPortList(JTermiosImpl.java:1148)
at jtermios.JTermios.getPortList(JTermios.java:523)
at purejavacomm.CommPortIdentifier$1.(CommPortIdentifier.java:200)
at purejavacomm.CommPortIdentifier.getPortIdentifiers(CommPortIdentifier.java:193)
at org.martin.sireader.ComPortFinder$ComPortThread.collectPorts(ComPortFinder.java:80)
at org.martin.sireader.ComPortFinder$ComPortThread.run(ComPortFinder.java:60)
2663 [SIReader] DEBUG SIReceiver - statusChangedEvent() received:
Sep 27, 2021 4:01 PM # 
origamiguy:
Is the JAVA_HOME system environment variable set correctly? The installer for the Java Runtime Environment should have set it, but it's possible that it didn't..
I don't use Or, so I haven't seen this problem with it.
Sep 27, 2021 4:05 PM # 
BlaikM:
Phillip,
Check the very top of your Java console log and make sure it shows the Java version you think should be there. This is what I have:

Java Web Start 11.301.2.09
Using JRE version 1.8.0_301-b09 Java HotSpot(TM) 64-Bit Server VM

Next, copy/paste the console output into a text editor like Notepad++ and search downward from the top for COM (all uppercase) to see what it's doing when it tries to connect to the SI reader. Over a bit of the log, this is what I get:

2474 [SIReader] DEBUG SIReader - Try to open COM5 at speed 38400
2543 [SIReader] DEBUG SIReader - Opened COM5
2543 [SI Port Reader] DEBUG SIPortReader - Start reading Data
2543 [SI Port Reader] DEBUG SIPortReader - Start reading readData
2606 [SIReader] DEBUG SIReader - Start sending Message Ping
2606 [SIReader] DEBUG SIReader - Finished sending Message
2606 [SIReader] DEBUG SIReceiver - statusChangedEvent() received: Connecting
2606 [SI Port Reader] DEBUG SIPortReader - Finish reading readData
2606 [SI Port Reader] DEBUG SIPortReader - Start reading readMessage
2606 [SI Port Reader] DEBUG SIPortReader - Finish reading readMessage
2606 [SI Port Reader] DEBUG SIPortReader - Start reading Data readtoEtx
2606 [SI Port Reader] DEBUG SIPortReader - Finish reading Data readtoEtx
2606 [SI Port Reader] DEBUG SIPortReader - Finished reading Data
2606 [SI Port Reader] DEBUG SIPortReader - Start reading Data
2606 [SI Port Reader] DEBUG SIPortReader - Start reading readData
2606 [SIReader] DEBUG SIReader - State = Port Open : Message = Ping Port = COM5
2606 [SIReader] DEBUG SIReceiver - statusChangedEvent() received: Open
Sep 27, 2021 4:42 PM # 
martinflynn:
Check that C:\Users\MNOC\AppData\Local\Temp\jna-2371381\jna9120555563654505663.dll actually exists.

I think this should have been created when you installed Ór - it is included in one of the jar files that Ór loads (jna.jar). There are two versions, Webstart seems to install the correct version based Java VM type (32bit or 64bit). One version is 103,936 bytes (32 bit Java), the other is 132,608 bytes (64 bit Java).
Sep 27, 2021 5:03 PM # 
P.Stromme:
There are 2 different dll's in that folder. Both of them are 103,936 bytes:
jna4791362788049739891.dll
jna7438704057347060955.dll

@BlaikM - The top of the Java Console log looks correct:
Java Web Start 11.301.2.09
Using JRE version 1.8.0_301-b09 Java HotSpot(TM) Client VM

"COM" does not appear at all. The only line that references SIReader is the final line in the log:
2663 [SIReader] DEBUG SIReceiver - statusChangedEvent() received:
Sep 27, 2021 5:07 PM # 
P.Stromme:
@BlaikM - I take that back... there is one more reference to SIReader. It says "Closing Port:null." Here is the complete log:

Java Web Start 11.301.2.09
Using JRE version 1.8.0_301-b09 Java HotSpot(TM) Client VM
JRE expiration date: 11/20/21 12:00 AM
console.user.home = C:\Users\MNOC
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to
----------------------------------------------------
Insecure property: (uploadpage3, https://orienteering.ie/results/upload3.php) specified in unsigned jnlp file will not be set.
Insecure property: (liveserver, https://orienteering.ie/live/upload.php) specified in unsigned jnlp file will not be set.
Insecure property: (liveviewer, https://orienteering.ie/live/view.php) specified in unsigned jnlp file will not be set.
Insecure property: (uploadpage1, https://orienteering.ie/results/upload1.php) specified in unsigned jnlp file will not be set.
Insecure property: (archive, https://orienteering.ie/members/getarchive.php) specified in unsigned jnlp file will not be set.
0 [javawsApplicationMain] DEBUG OR - Starting Version: 4.3.7
8 [javawsApplicationMain] DEBUG OR - java.util.zip.ZipFile$ZipFileInflaterInputStream@1c4b562
8 [javawsApplicationMain] DEBUG OR - Built: 20.03.2020
16 [javawsApplicationMain] DEBUG OR - Create VirtualDatabaseManager
16 [javawsApplicationMain] DEBUG OR - setCurrentCompetition
48 [javawsApplicationMain] DEBUG OR - MainFrame
128 [javawsApplicationMain] DEBUG DbManager - databaseUpdated
201 [javawsApplicationMain] DEBUG DbManager - getResultsCache for competition 1
201 [javawsApplicationMain] DEBUG DbManager - getResultsCache complete
201 [javawsApplicationMain] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
201 [javawsApplicationMain] DEBUG CompetitorResultCache - Refresh CompetitorResult Cache
209 [javawsApplicationMain] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
209 [javawsApplicationMain] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
217 [javawsApplicationMain] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
327 [javawsApplicationMain] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
396 [javawsApplicationMain] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
396 [javawsApplicationMain] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
433 [javawsApplicationMain] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
433 [javawsApplicationMain] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
481 [javawsApplicationMain] DEBUG OR - setupFrame
561 [javawsApplicationMain] DEBUG OR - showMainPanel
689 [javawsApplicationMain] DEBUG DbManager - databaseUpdated
689 [javawsApplicationMain] DEBUG OR - Create SIReader
721 [javawsApplicationMain] DEBUG OR - Start SIReader
721 [javawsApplicationMain] DEBUG OR - MessageSender
721 [javawsApplicationMain] DEBUG OR - LiveSender
729 [javawsApplicationMain] DEBUG OR - SplitsSpooler
729 [SIReader] DEBUG SIReader - Closing Port:null
793 [AWT-EventQueue-2] DEBUG DbManager - getResultsCache for competition 1
793 [AWT-EventQueue-2] DEBUG DbManager - getResultsCache complete
793 [AWT-EventQueue-2] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
793 [AWT-EventQueue-2] DEBUG CompetitorResultCache - Refresh CompetitorResult Cache
793 [AWT-EventQueue-2] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
793 [AWT-EventQueue-2] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
793 [AWT-EventQueue-2] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
817 [AWT-EventQueue-2] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
817 [AWT-EventQueue-2] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
817 [AWT-EventQueue-2] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
833 [AWT-EventQueue-2] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
833 [AWT-EventQueue-2] DEBUG CompetitorResultCache - CompetitorResultCache.getCache
JNLPClassLoader: Finding library jnidispatch.dll
Exception in thread "ComPortThread" java.lang.UnsatisfiedLinkError: C:\Users\MNOC\AppData\Local\Temp\jna-2371381\jna7438704057347060955.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:851)
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:826)
at com.sun.jna.Native.(Native.java:140)
at jtermios.windows.WinAPI.(WinAPI.java:101)
at jtermios.windows.JTermiosImpl.getPortList(JTermiosImpl.java:1148)
at jtermios.JTermios.getPortList(JTermios.java:523)
at purejavacomm.CommPortIdentifier$1.(CommPortIdentifier.java:200)
at purejavacomm.CommPortIdentifier.getPortIdentifiers(CommPortIdentifier.java:193)
at org.martin.sireader.ComPortFinder$ComPortThread.collectPorts(ComPortFinder.java:80)
at org.martin.sireader.ComPortFinder$ComPortThread.run(ComPortFinder.java:60)
2761 [SIReader] DEBUG SIReceiver - statusChangedEvent() received:
Sep 27, 2021 5:54 PM # 
MIclimber:
FWIW. While my Or still works, I know others that had the same Java issues with Win 10, and since switched to MeOS. I too switched and so far it seems to be a worthwhile replacement to not use Or again. #ThereAreNoTiesInOrienteering
Sep 27, 2021 7:38 PM # 
martinflynn:
One thing that may work:

1. Copy jna7438704057347060955.dll into your JRE bin folder: C:\Program Files (x86)\Java\jre1.8.0_301\bin
2. Rename it to jnidispatch.dll
3. Delete the folder C:\Users\MNOC\AppData\Local\Temp\jna-2371381\
4. Try starting Ór. Java should pick it up from the bin folder rather than looking for it in your cache.

Martin
Sep 27, 2021 8:48 PM # 
BlaikM:
Phillip,

If Martin's ideas don't work, my last guess: I looked up my tech issue history, and I had a very similar issue with FLO's trusty ol' Toughbook laptop back in Feb, and what ended up fixing it was a complete uninstall and reinstall of Java. Still don't know exactly what was wrong or why a reinstall fixed it, but that's what worked.

-- Blaik
Sep 27, 2021 10:42 PM # 
P.Stromme:
Well, the complete uninstall and reinstall solved the issue. Unfortunately, it caused me to lose the Or shortcut on the desktop. How can I get that back?
Sep 28, 2021 4:09 AM # 
BlaikM:
Yeah, I've encountered that on occasion as well. Martin might be able to give an explanation and proper fix, but typically if you just go to Start, then scroll down to the Ór folder, inside you'll see the Ór icon. Just left-click and drag it to the desktop to produce a desktop shortcut.
Sep 28, 2021 3:36 PM # 
martinflynn:
Blaik's suggestion should work.

Alternatively:
1. Open the Java Config screen by using Java->Configure Java on the Start menu.
2. Click View...
3. Right-click on Ór
4. Click "Install Shortcuts"
Sep 29, 2021 10:25 AM # 
P.Stromme:
The "Install Shortcuts" option is grayed out for me. But Blaik's suggestion worked. For some reason, I thought that there was no Or folder in the start menu, so I didn't even think of that.

Now that I've got this problem solved, I discovered that I can't install our Epson receipt printer, but I'll start a new thread for that.
https://attackpoint.org/discussionthread.jsp/messa...

This discussion thread is closed.