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:

Tall Ships Races 2025 - Dunkirk to Aberdeen


Welcome to the second of four virtual Tall Ships Races in European waters which are concurrently being organized in-real-life Sail Training International . This second race is from Dunkirk in France up the North Sea to Scotland’s Aberdeen; circa 400nm in Sailonline’s magnificent 90m Barque.
NOTE: Starts and Finishes in tall ships racing are always offshore to avoid conflict with shipping and shipping lanes; online and real-life may not match exactly.
Race #1924
INFO by brainaid.de
Barque 90m PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: TS - SYC
Race starts: Jul 13th 16:00 Registration Open!
▶ Flash
GO TO RACE

Suursaari TIMED Race 2025

The first TIMED race of the northern hemisphere Summer takes us to the Gulf of Finland on a 165nm zig-zagging course beginning and ending in the seacoast village of Haukilahti and circling the island of Suursaari. It’s only appropriate that the boat for this race is Finland’s own Club Swan 50. This is a TIMEDrace so you may RE-REGISTER HEREto try again after finishing a run. You will have 13 days and 11 hours to test your skill and decision making after the race opens.
Race #1928
INFOby brainaid.de
PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ3 - TRCH - SUPSOL - SYC
RACE CLOSE: Saturday,
26 July at 23:00 UTC
Race starts: Jul 13th 12:00 Registration will open soon
▶ Flash
GO TO RACE

Lake Ontario 300 Challenge 2025

Lake Ontario Offshore Racing (LOOR) welcomes Sailonline sailors (SOLers for short) to a second virtual version of a race in their annual series, the LO300. As the name implies, the LO300 is a 300nm offshore race across the length and breadth of Lake Ontario, from and back to Port Credit YC. Once again, as is our wont on Lake Ontario, a fleet of Beneteau First 36.7s is being made available to virtual racers. There is an overall prize for the SOLer who best bosses Lake Ontario over the two races hosted by Sailonline, this 300 and the Susan Hood raced back in May; so, let the competition be fierce!
Race #1931
INFOby brainaid.de
First 36.7 PARTICULARS
NAM_AWIP WX Updates:
0245 / 0845 / 1445 / 2045
Ranking: LOOR - SYC
Race starts: Jul 12th 15:10 Registration Open!

▶ Flash
GO TO RACE

SSANZ Triple Series 2025 - Race 1

Join the excitement as Sailonline partners again with New Zealand's Short-handed Sailing Association for the thrilling SSANZ Triple Series, proudly sponsored by Lewmar Marine. Our SOLers will tackle an exhilarating 47-nautical-mile race, navigating the waters of the beautiful Hauraki Gulf out to Motuora Island via The Haystack and back. Racing virtual Young 88 yachts, our virtual fleet will match skills and strategies with the real-life fleet of the vibrant Young 88 Association. Don't miss this intense, tactical challenge!
Race #1932
INFO by brainaid.de
Young 88 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
SSANZ - SYC
RACE CLOSE: Tuesday,
July 15 at 2300 UTC.
Race starts: Jul 11th 21:15 Registration Open!
▶ Flash
GO TO RACE

Tall Ships Races 2025 - Le Havre to Dunkirk


Welcome to the first of four virtual Tall Ships Races in European waters which are concurrently being organized in-real-life by Sail Training International . The course for this first race is between the French ports of Le Havre and Dunkirk; circa 125nm in Sailonline’s magnificent 90m Barque.
NOTE: Starts and Finishes in tall ships racing are always offshore to avoid conflict with shipping and shipping lanes; online and real-life may not match exactly.
Race #1923
INFO by brainaid.de
Barque 90m PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: TS - SYC
RACE CLOSE: Monday,
July 14 at 2300 UTC.
Race starts: Jul 07th 16:00 Registration Open!
▶ Flash
GO TO RACE

Young Island to Great Nicobar 2025

The adventure continues as we launch this fifth leg of the RWW series, racing from Young Island to Great Nicobar on the edge of the Bay of Bengal. Get ready for a chilling start as we set sail on the seventh leg of the 2025 Ocean Championship Series! A 5200nm journey of endurance, strategy, and pure sailing excitement. This leg will be pursued aboard the Super Maxi 100v2, pushing sailors to their limits. Do you have what it takes to conquer the Indian Ocean? Join us and put your skills to the ultimate test!
PRIZE: SMPF
Race #1929
INFO by brainaid.de
Super Maxi 100 v2 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ3 - RWW - OCCH - SUPSOL - SYC
Race starts: Jul 07th 11:00 Registration Open!
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

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

View full list

Series

Mobile Client

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

The mobile client