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:

Isle of Wight RTI Sprint 2025


Welcome to the Isle of Wight in the British Isles. A past home to Queen Victoria and the foundation of the America's Cup when yacht racing became popular in the 1800's. This particular race was last raced on SOL in 2012 to follow Soler JuJu sailing around the island. We return, long overdue, to race our final Q2 sprint around the island.
Race 1918
INFO by brainaid.de
Ker 40 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
SPRQ2 - SPRCH - SUPSOL – SYC
Race starts: Jun 07th 09: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 starts: Jun 02nd 11:00 Registration Open!
▶ Flash
GO TO RACE

TuziTekwini TIMED Race 2025

Sailonline is delighted to have been invited to partner with the King Shaka Yacht Club (KSYC) of South Africa to bring a virtual version of the Tuzi Tekwini Ocean Raceto our online community.
The Tuzi Tekwini Ocean Race is a near 90 nautical mile race down the east coast of South Africa from the port of Richards Bay to the port of Durban. Achievable in a single day and seen by some as an easy mile-builder, the course is more tactical than some think and should not be underestimated. This iconic race promises to be an unforgettable experience for yachting enthusiasts.
Our online version of the race will be 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 #1916
INFOby brainaid.de
Sailonline’s virtual yacht for all your runs will be our much-loved Farr 38 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ2 - TRCH - SUPSOL - SYC
RACE CLOSE: Saturday,
14 June at 23:00 UTC
Race starts: Jun 01st 12:00 Registration Open!
▶ Flash
GO TO RACE

Susan Hood Trophy Race 2025

Lake Ontario Offshore Racing (LOOR) welcomes racers to Sailonline’s virtual version of their annual Susan Hood Trophy Race. This year, this pleasant weekender on western Lake Ontario will be of about 60nm in length, and online for convenience will start and finish at the Port Credit Yacht Club (PCYC). At or before the real-life Skipper’s Briefing a decision will be made to race the course clockwise (course Delta) or anti-clockwise (Echo). If there is time we will match this online. As before, the race is the first of two that will count towards a special Sailonline's LOOR Series medals, and we sail in Beneteau First 36.7s. Bon voyage!
Race #1920
INFOby brainaid.de
First 36.7 PARTICULARS
NAM_AWIP WX Updates:
0245 / 0845 / 1445 / 2045
Ranking: SYC - LOOR
RACE CLOSE: Saturday,
June 7 at 2300 UTC.
Race starts: May 30th 23:45 Registration Closed

▶ Flash
GO TO RACE

SoCal 300 2025


With this year's California Offshore Race Week already well under way, here now is your chance to participate virtually in SDYC's challenging 243nm (as the seagull flies) SoCal 300 from Santa Barbara to San Diego. With a wide and wild range of boats entered for the real race, whose progress we hope we will be able to follow on our own chart by linking to the YB tracker, virtual SOLers will have to dig deep to remain competitive in our trusty Santa Cruz 52s.
Race #1919
INFO by brainaid.de
Santa Cruz 52 PARTICULARS
NAM_AWIP WX Updates:
0245 / 0845 / 1445 / 2045
Ranking: SYC
RACE CLOSE: Sunday,
June 8 at 2300 UTC.
Race starts: May 29th 20: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 Smo
  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