Facebook

Login

Support Sailonline

If you haven't already - join the SAILONLINE YACHT CLUB!

Please also consider making a donation - all amounts are greatly appreciated!

Board » Technical Discussion » AGL 14 Issues

Page: Previous 1 2 3 4 5 6 Next

Hi All, Hi Kip'

For this morning, when I try to launch AGL, in the Console, I read :

"C:\SOL\Race0>C:\SOL\Java14\jre_windows\bin\java.exe -Dsun.java2d.uiScale.enabled
=false -Dfile.encoding=UTF8 -classpath "C:\SOL\Java14\agl14_3_8.jar;C:\SOL\Java1
4\agl14_lib\*;" main.AGMain autoGribLoader.ini 1.0
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Exception in thread "main" java.lang.IllegalArgumentException: setSelectedIndex:
228 out of bounds
at java.desktop/javax.swing.JComboBox.setSelectedIndex(Unknown Source)
at autoPilot.Gui.<init>(Gui.java:1470)
at autoPilot.AutoPilot.<init>(AutoPilot.java:257)
at main.AGMain.main(AGMain.java:10)"

so...AGL doesn't launch...



--- Last Edited by Rick1_95 at 2024-06-09 20:15:58 ---

--- Last Edited by Rick1_95 at 2024-06-09 20:16:34 ---
so...AGL doesn't launch...


Not sure how this has happened to you, but it looks like you have managed to set a GL font that does not exist on your computer. To fix, do the following.

1. Edit the file aqutoGribLoader.in and delete the lines

# GL Font
glFont={whatever yours is set to}

which are at the bottom of the file.

2. Save the file and close it.
3. Launch AGL. It will now choose the default of Arial
Thx Kip'

Problem Solved ;-)

(Font was Yu Mincho)
There is an intermittent issue with the NOAA downloads during the incremental download. It appears NOAA is sending a corrupt file which then hangs AGL. Shutting down and restarting AGL will fix the hang. I have put checks in and currently testing which will hopefully resolve the issue. May take a few days to validate before a new version is released.

Symptoms are that the NOAA download stops prematurely and this exception is being thrown in the command window.

Exception in thread "Thread-17" java.lang.NullPointerException
at java.base/java.text.SimpleDateFormat.parse(Unknown Source)
at java.base/java.text.DateFormat.parse(Unknown Source)
at grib.WriteGribFile.CreateGribSections(WriteGribFile.java:175)
at grib.WriteGribFile.GribFileCreate(WriteGribFile.java:115)
at grib.NOAAGrib.writeNOAAToFile(NOAAGrib.java:819)
at grib.NOAAGrib.downloadGribFile(NOAAGrib.java:420)
at grib.NOAAGrib.run(NOAAGrib.java:148)
at java.base/java.lang.Thread.run(Unknown Source)

Hi Kip'

...so, we wait to update 14-3-12 to 14-4-1 ?
Hello,

i tried to install agl on windows. I follow all the steps of the manual but when i try to launch AG14_pause i receive this message: C:\SOL\Java14\windows_bat>C:SOL\Java14\jre_windows\bin\java.exe -Dsun.java2d.uiScale.enabled=false -Dfile.encoding=UTF8 -classpath "C:SOL\Java14\agl14_4_1.jar;C:SOL\Java14\agl14_lib\*;" main.AGMain autoGribLoader.ini
Impossibile trovare il percorso specificato.
Hello,

i tried to install agl on windows. I follow all the steps of the manual but when i try to launch AG14_pause i receive this message: C:\SOL\Java14\windows_bat>C:SOL\Java14\jre_windows\bin\java.exe -Dsun.java2d.uiScale.enabled=false -Dfile.encoding=UTF8 -classpath "C:SOL\Java14\agl14_4_1.jar;C:SOL\Java14\agl14_lib\*;" main.AGMain autoGribLoader.ini
Impossibile trovare il percorso specificato.
1. Check that all those folders and file actually exist. Looks like something is missing. If they do not exist, you have not installed it correctly.
2. You should not be running AGL from the install area. You need to create separate race folders and run from there, as explained in the manual.

Might be worth having another careful read through the manual and making sure every step has been followed correctly.


I put some checks into the code, but the problem has not manifested itself again after 4 sets of downloads. Version 14.4.2 has therefore been released, and is good to go.
Hello,

i tried to install agl on windows. I follow all the steps of the manual but when i try to launch AG14_pause i receive this message: C:\SOL\Java14\windows_bat>C:SOL\Java14\jre_windows\bin\java.exe -Dsun.java2d.uiScale.enabled=false -Dfile.encoding=UTF8 -classpath "C:SOL\Java14\agl14_4_1.jar;C:SOL\Java14\agl14_lib\*;" main.AGMain autoGribLoader.ini
Impossibile trovare il percorso specificato.

These was a problem with AGInstallDir.bat is that it was setting the environment variable to C:SOL\Java14\ instead of C:\SOL\Java14\. A new version is in the release area that can be copied and run. Alternatively, edit the environment variable AGInstallDir to match.



I put some checks into the code, but the problem has not manifested itself again after 4 sets of downloads. Version 14.4.2 has therefore been released, and is good to go.


This issue is still in 14.4.2. I finally found the bug. It has to do with the NOAA download trying to access the SOL Wx information as the new SOL download is in progress. The result is that NOAA tries to access values that have not been set yet and the thread hangs on invalid data being read. The fix is currently being tested and should be release in the next day or so.

Current work around is to restart AGL.

Page: Previous 1 2 3 4 5 6 Next

Thread is locked.

Races

Next Race: 00d 00h 00m


Current Races:

Raja Muda Selangor 2026 - Port Klang to Pangkor

Sailonline is delighted to be able to offer online sailors an opportunity to once again compete in all three of the offshore races of the Raja Muda Selangor International race week, organised by the Royal Selangor Yacht Club in association with the RORC, and commencing with a 75nm trip from Port Klang to Pangkor. This year we will be racing this race, and the other two, which together will count towards our Sailonline Raja Muda Series (RMI), in X-332s.
Be careful at the Pangkor Island marina – there are tidal currents of 1-2 knots, which make mooring to floating docks quite tricky.
Race #2070
INFO by brainaid.de
X-332 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
RMI - RED - SUPBUD - SYC
Race starts: Nov 14th 04:00 Registration Open!

▶ Flash
GO TO RACE

Skimmer Dragonfly - India to East Africa 2026


In the autumn, when the rains stop and the tourists thicken in Goa and along the north western coast of India, globe skimming dragonfly climb to the skies (up to 1500m) to catch the high-altitude ITCZ winds and glide south west to East Africa. We’ll stay at sea level, where alas the winds will be less predictable, and race them there, the whole 2400nm of the way, in Carkeek 40s.
Race #2062
INFOby brainaid.de
Carkeek 40 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: MIG - SYC
Race starts: Nov 11th 11:00 Registration Open!
▶ Flash
GO TO RACE

Fiji TIMED Race 2026

Welcome to Fiji for this month’s TIMED race. Sail our 90 foot Monohull over the almost 200nm course beginning in Lucala Bay and ending in Labasa in your attempt to turn in the fastest time.
This is a TIMEDrace so you may RE-REGISTER HEREto try again after finishing a run. You will have two weeks to test your skill and decision making after the race opens.
Race #2069
INFOby brainaid.de
PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ4 - TRCH - SYC
RACE CLOSE: Saturday,
21 November at 23:00 UTC
Race starts: Nov 08th 12:00 Registration Open!
▶ Flash
GO TO RACE

Bar-Tailed Godwit - Alaska to New Zealand 2026


Welcome to the autumn return flight of our bar-tailed Godwit, reflecting the bird's annual migratory route. This is the penultimate leg in our migration series. (The concluding leg is coming up simultaneously, 'Skimmer Dragonfly', start on the 11th of November. Not part of the 2026 OCCH). This race, at hand, is the next to last leg of the 2026 Ocean Race Championship. The voyage promises to be not only a test of skill and strategy but an immersive experience in the beauty of the vast Central Pacific Ocean. Join us as we push the boundaries of seafaring prowess on this epic adventure.
Let's fly like a Godwit!
Race #2065
INFOby brainaid.de
GunBoat 90 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
OCQ4 - OCCH - SYC - MIG
Race starts: Nov 02nd 11:00 Registration Closed
▶ Flash
GO TO RACE

Mad Max by Balloon 2026 - Across the Outback


Mad Max Rockatansky doesn’t get to go in a balloon in any of the Legends of the Wasteland, and the Wasteland is not necessarily the Outback of Australia, but Mel Gibson and film director George Miller indubitably are… of Australia, and ballooning as reconnaissance is a main feature of the Mad Max spin-off video game, so here goes: 1500nm in a balloon from somewhere on the edge of the Outback, Goondiwindi, to cross a finish line at Fitzroy Crossing, somewhere on the edge of the Outback!
Race #1974
INFOby brainaid.de
SOL Balloon PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: BOL - SYC
RACE CLOSE: Tuesday,
November 17 at 2300 UTC.
Race starts: Oct 14th 13:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member KaSToR
  2. Sailonline Yacht Club Member CriticalHippo
  3. Sailonline Yacht Club Member rafa
  4. Sailonline Yacht Club Member rumskib
  5. Sailonline Yacht Club Member cdhinman
  6. Sailonline Yacht Club Member rthinman
  7. Sailonline Yacht Club Member Panpyc
  8. Sailonline Yacht Club Member BRENTGRAY
  9. Sailonline Yacht Club Member brandystrega
  10. Sailonline Yacht Club Member Sax747

View full list

Series

Mobile Client

SYC members have the benefit of access to our mobile/lightweight web client!

The mobile client