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:

Africa by Sea 2025 - Maputo to Mogadishu


The fifth leg of our exploration of Africa By Sea takes us north along the length of the Continent’s succulent sub-tropical and tropical Indian Ocean coast. Much fought over by traders and colonists both well-before and after a Portuguese expedition under the command of Vasco da Gama first sailed there from Europe back in the 16th century, it is yet to be properly explored as a yachting destination. With plenty of islands off- and inshore, small and very large, there is much to interrupt your 1900nm voyage and visit in your Swan 65, from Maputo to Mogadishu! Race #1858
INFOby brainaid.de
Swan 65 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - ABS
Race starts: Aug 20th 17:00 Registration Open!
▶ Flash
GO TO RACE

Elba Rendezvous 2025


It’s time for a summer sprint following the route of a classic regatta triangle. The theatre of our struggle will be Golfo Di Follonica with its start and finish at Piombino. Buoys are set up in front of Porto Azzurro on Elba Island and next to Punta Ala. One lap of 38 NM will be done with the help of our Figaro 3 Foil.
Race 1941
INFO by brainaid.de
Figaro 3 Foil PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
SPRQ3 - SPRCH - SUPSOL – SYC
Race starts: Aug 16th 15:00 Registration Open!
▶ Flash
GO TO RACE

Svalbard Circuit 2025


If you're tired of high temperatures, we suggest a change of scenery and a visit to the Arctic Ocean. SOL invites you to the next ARCH race, which will take place on a new route spanning over 650 nm around the Svalbard Archipelago. Beware of polar bears and don't take them on board your Xp-55, because while they may look pleasant, they are very dangerous.
Race #1940
INFO from brainaid.de
Xp-55 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
ARQ3 - ARCH - SUPSOL – SYC
RACE CLOSE: Thursday,
August 21 at 2300 UTC.
Race starts: Aug 11th 17:00 Registration Closed
▶ Flash
GO TO RACE

Captain Gosnold TIMED Memorial Race 2025

Welcome to Newport, RI, one of the great sailing centers of the world. This TIMED race takes us around Nantucket Island in RC 44s to celebrate the life of Capt. Bartholomew Gosnold who, among many other things in his short life, named Cape Cod for the teeming fish he encountered there, and Martha’s Vineyard for his daughter. 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 #1939
INFOby brainaid.de
RC 44 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ3 - TRCH - SUPSOL - SYC
RACE CLOSE: Saturday,
23 August at 23:00 UTC
Race starts: Aug 10th 12:00 Registration Open!
▶ Flash
GO TO RACE

Cape Town to Java 2025

Get ready for an exhilarating new challenge as we set sail on the eighth leg of the 2025 Ocean Championship Series! Reversing the 18th century footsteps of the indentured Cape Malays that inspired Isna Marifa’s moving novel 'Mountains More Ancient' , this leg takes us from Cape Town South Africa to the Bay of Belbuhan on the south west coast of Java - a 5100 nm journey of endurance, strategy, and pure sailing adrenaline, aboard the 125 ft Orange catamaran. Do you have what it takes to conquer the Indian Ocean? Join us and put your skills to the ultimate test!
PRIZE: SMPF
Race #1937
INFO by brainaid.de
Orange 125 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ3 - OCCH - SUPSOL - SYC
RACE CLOSE: Saturday,
August 23 at 2300 UTC.
Race starts: Aug 04th 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 vida
  3. Sailonline Yacht Club Member CriticalHippo
  4. Sailonline Yacht Club Member rafa
  5. Sailonline Yacht Club Member Kipper1258
  6. Sailonline Yacht Club Member KaSToR
  7. Sailonline Yacht Club Member BRENTGRAY
  8. Sailonline Yacht Club Member Sax747
  9. Sailonline Yacht Club Member FreyjaUSA
  10. Sailonline Yacht Club Member Panpyc

View full list

Series

Mobile Client

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

The mobile client