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:

Brisbane to Keppel Tropical Yacht Race 2025


When the winter weather turns cool in southern Australia sailors head up to the warmer waters of The Great Barrier Reef and the big winter regattas at Hamilton Island, Airlie Beach and Magnetic Island. But the race isn’t ‘on’ this year; nevertheless, Sailonline is inviting all racers from RQYS and beyond to race the 343 nm for the fun, this time in our SOTO 40. It might be winter downunder but do put on your shorts and t-shirts before you sit down behind your devices to get into the spirit of it all!
Race #1921
INFOby brainaid.de
SOTO 40 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC
Race starts: Jun 19th 01:00 Registration Open!
▶ Flash
GO TO RACE

Pantaenius Shetland Race 2025 - Leg 1

Prepare your sails and brace for exhilaration—it's time once again to embark on the thrilling journey from Norway's stunning outer Korsfjorden to the ruggedly beautiful Shetland Isles! Welcome to the first electrifying leg of Sailonline's celebrated two-race Shetland Series. Spanning nearly 190 nautical miles, this year's challenge features the Salona 39, masterfully designed in collaboration with Maurizio Cossutti. Sailonline proudly partners with this iconic race, bringing sailors from around the globe together to test their strategic prowess and seamanship. Whether you're a seasoned veteran or setting out on your first virtual adventure with us, get ready for an unforgettable race filled with intense competition, breathtaking scenery, and the sheer joy of sailing. The North Sea awaits—let the adventure begin!
Race #1922
INFO by brainaid.de
Salona 39 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
SHE - SYC
Race starts: Jun 18th 11:00 Registration Open!
▶ Flash
GO TO RACE

Haugesund to Reykjavik 2025


In late April 2016 Draken Harald Hårfagre, the worlds largest viking ship built in modern times, left her home port in Haugesund, Norway and sailed off for a challenging voyage across the North Atlantic Ocean.
The aim was to explore and relive one of the most mythological sea voyages – the first transatlantic crossing, and the Viking discovery of the New World, more than a thousand years ago. History tells us about the Viking explorer, Leif Eriksson, who discovered America over 500 years before Christopher Columbus. The expedition was all about exploring the world, just like the Vikings did.
Sailonline is racing the 1000 nm first leg, from Haugesund, Norway, to Reykjavik, Iceland in our Farr 400. Let us sail in the wake of history on this epic adventure!
Race #1913
INFO from brainaid.de
Farr 400 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
ARQ2 - ARCH - SUPSOL – SYC
Race starts: Jun 16th 17:00 Registration Open!
▶ Flash
GO TO RACE

Africa by Sea - Swakopmund to Maputo 2025


Time again to continue our exploration of Africa by Sea, which now takes us around the tip of the continent at Cape Agulhas and up the coast of South Africa to Mozambique’s marvellous Maputo, where we should find good anchorage in the bend of the Rio Espirito Santo (Umbuluzi) once we’ve cleared the 60m high Maputo - Katembe suspension bridge. It’s 1900nm and we’ll be glad to be sailing our comfortable and sturdy Xp-55, as we will certainly experience more headwinds!
Race #1857
INFOby brainaid.de
Xp-55 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - ABC
Race starts: Jun 11th 17:00 Registration Open!
▶ Flash
GO TO RACE

Marquesas to Young Island 2025

The adventure continues as we launch this fourth leg of the RWW series, racing from Marquesas to Young Island in the Balleny Islands, a group of islands in the Southern Ocean only 62 nm from Antarctica. Get ready for a chilling new challenge as we set sail on the sixth leg of the 2025 Ocean Championship Series! A 4100nm journey of endurance, strategy, and pure sailing excitement. This leg will be pursued aboard the race machine RP66, pushing sailors to their limits. Do you have what it takes to conquer the Southern Ocean? Join us and put your skills to the ultimate test!
PRIZE: SMPF
Race #1909
INFO by brainaid.de
Raichel/Pugh 66 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ2 - RWW - OCCH - SUPSOL - SYC
RACE CLOSE: Saturday,
June 21 at 2300 UTC.
Race starts: Jun 02nd 11:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member WRmirekd
  2. Sailonline Yacht Club Member CriticalHippo
  3. Sailonline Yacht Club Member KaSToR
  4. Sailonline Yacht Club Member FreyjaUSA
  5. Sailonline Yacht Club Member Patrick70119
  6. Sailonline Yacht Club Member Kipper1258
  7. Sailonline Yacht Club Member rafa
  8. Sailonline Yacht Club Member rumskib
  9. Sailonline Yacht Club Member bonknhoot
  10. Sailonline Yacht Club Member Smo

View full list

Series

Mobile Client

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

The mobile client