Upgraded to beta54 and can no longer transmit through my serial TNC. No indication on the TNC that it is trying to key the radio. Tried deleting the serial TNC port and adding it back in, but then I get an error about an invalid callsign. I am using just my base callsign, no SSID on the end. TNC is a KPC3+ via a USB to serial adapter cable and was working prior to the upgrade.
Seeing "Caused by: java.io.IOException: can't open Serial_TNC connection COM4 without valid callsign
at org.ka2ddo.yaac.io.SerialTNCConnector.configure(SerialTNCConnector.java:126)"
Last edit: John 2015-02-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm not sure why this problem suddenly leaped out, because it's not new to build 54. It appears to be an old race condition in the GUI code for the port editor, causing the callsign to not be stored immediately when a new port is opened. Furthermore, it aggravates other deadlock conditions in the RXTX library.
In any case, I'm working on it, and should have a new build soon. As a work-around, when the open fails, try unchecking and rechecking the enable checkbox for this port, and see if that successfully opens the port.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Tried that last night, to no avail. Could only receive, not transmit. This appears to possibly be affecting the APRS-IS connection as well. I was receiving on the APRS-IS for a while, but must have timed out since I can't transmit to the APRS-IS servers and now am not receiving from them anymore.
Right now all I can do is receive-only from the Serial-TNC, so basically I am completely down.
This appears to have also hit another station in my area who is using YAAC.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Tried beta55 last night. While I no longer get that error when adding the Serial-TNC port, it still isn't transmitting on either the APRS-SI or Serial-TNC ports.
Last edit: John 2015-02-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Failed back to a copy of beta44 I still had and it works, so pretty sure it isn't a problem with my gear.
Still unable to transmit to the Serial-TNC or to APRS-IS with beta55. With that build I am dead in the water.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2015-02-08
Same here. Updated to build 55 and no longer transmits through tnc. Tnc works with other applications,so I know it's not that. Problem started when I updated to build 55. Is there a way to roll back? I didn't save a copy of the old zip file. Thanks Tony, KD2AFY
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A note for everybody upgrading past beta50 (that includes all later builds including 55):
You must delete all your port definitions and re-enter them. A bug reported a few builds ago required the storage format for port definitions to be changed in a non-backwards-compatible way. Skipping build 50 and going directly to a later build does not make this issue go away; you will have problems with port definitions saved by builds prior to 50, and will not even be able to edit them successfully to fix them.
No work-around, except to delete and re-enter your port definitions.
Sorry about the inconvenience.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hmmm... well, I am transmitting successfully to hardware TNCs, software TNCs, and APRS-IS with build 56 (released a few minutes ago). Try that, and see if that works. If it doesn't, please e-mail and send the following information:
Your name and callsign-SSID (so I can try to look your packets up on aprs.fi). :-)
the XML file saved by YAAC when you select File->Configure->Save to File. This contains your current configuration.
the YAAC.out file located in your log directory (also copyable from the Help->About dialog on the Error Log tab).
the make and model of any hardware TNC you are trying to use (including radios with built-in TNCs such as the Kenwood TM-D710 and TH-D72). The make and model of USB<->RS232 adapters would also be useful (cheap clones of Prolific devices with driver conflicts, per chance?).
The operating system (Microsoft Windows, Apple Macintosh OS X, etc.) name and version, and the version of the Java Runtime Environment (JRE) you are using. If you are using a non-Intel-PC type machine (such as a Raspberry Pi), please note that as well. If you are using an anti-virus program, please mention the name of that as well (when YAAC tried to access a resource such as an Internet connection, did you authorize the anti-virus program to allow YAAC to use the resource?).
Hopefully, we can get this problem licked either in this build or the next one.
Andrew Pavlin, KA2DDO
author of YAAC
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Build 57 has just been released, and it deals with all the errors that have been reported so far regarding transmit problems. Please try it out and let me know if there are still problems (or other problems).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Exception in thread "Transmitter Thread" # aprsc 2.0.14-g28c5a6a
java.lang.ClassCastException: java.lang.Short cannot be cast to java.lang.Integer
at org.ka2ddo.aprs.PositionMessage.appendRepeaterParameters(PositionMessage.java:831)
at org.ka2ddo.aprs.PositionReport.getBody(PositionReport.java:349)
at org.ka2ddo.yaac.io.BeaconData.getBody(BeaconData.java:223)
at org.ka2ddo.yaac.io.BeaconData.toString(BeaconData.java:566)
at java.lang.String.valueOf(Unknown Source)
at java.lang.StringBuilder.append(Unknown Source)
at org.ka2ddo.yaac.io.Transmitter.run(Transmitter.java:355)
at java.lang.Thread.run(Unknown Source)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Wed Feb 18 20:33:45 MST 2015: starting new YAAC logfile
Wed Feb 18 20:33:45 MST 2015: YAAC raising splash screen....
Wed Feb 18 20:33:46 MST 2015: YAAC finding installation directory....
Wed Feb 18 20:33:46 MST 2015: YAAC checking if upgrader needs moving....
Wed Feb 18 20:33:46 MST 2015: YAAC loading CoreProvider....
loading plugin --core-- name YAAC version 1.0-beta57(18-Feb-2015)
Wed Feb 18 20:33:46 MST 2015: creating SymAttr objects for 1.0.1...
Wed Feb 18 20:33:46 MST 2015: filling in text for 1.0.1 symbols...
Wed Feb 18 20:33:46 MST 2015: filling in text for extended symbols...
Wed Feb 18 20:33:46 MST 2015: YAAC loading plugins....
scanning plugin JAR file C:\YAAC\YAAC\plugins\javax.mail-1.5.2.jar
scanning plugin JAR file C:\YAAC\YAAC\plugins\sampleplugin.jar
attempting to load provider class org.ka2ddo.yaac.SamplePluginProvider
loading plugin C:\YAAC\YAAC\plugins\sampleplugin.jar name YAAC Sample Plug-in version V0.0
scanning plugin JAR file C:\YAAC\YAAC\plugins\telemetryalarmplugin.jar
attempting to load provider class org.ka2ddo.yaac.telemetryalarm.TelemetryAlarmProvider
appending JAR file C:\YAAC\YAAC\plugins\javax.mail-1.5.2.jar to org.ka2ddo.yaac.telemetryalarm.TelemetryAlarmProvider
loading plugin C:\YAAC\YAAC\plugins\telemetryalarmplugin.jar name Telemetry Alarm Plug-in version V0.0
Wed Feb 18 20:33:46 MST 2015: starting web server...
Wed Feb 18 20:33:46 MST 2015: YAAC starting main GUI....
OpenMap(tm) Version 5.0
Copyright (C) BBNT Solutions LLC. All rights reserved.
See http://openmap.bbn.com/ for details.
Wed Feb 18 20:33:46 MST 2015: about to create RasterMapOverlay layer...
Wed Feb 18 20:33:46 MST 2015: about to create StationRenderer layer...
1424316826803: starting to load symbols...
1424316826901: finished loading 1.0.1 basic symbol images...
no image for symbol V^ : VTOL Aircraft
no image for symbol Fh : HamFest
no image for symbol D^ : Drone
no image for symbol E^ : Enemy Aircraft
no image for symbol I0 : IRLP repeater
no image for symbol M' : multi-vehicle crash
no image for symbol I; : Island on the air
no image for symbol J^ : Jet Aircraft
no image for symbol RD : Rail depot
no image for symbol TR : Taco Bell
no image for symbol M^ : Missile
no image for symbol W; : WOTA
no image for symbol H' : Hazardous incident
no image for symbol A' : Automobile crash
no image for symbol S0 : Staging area
no image for symbol X^ : Experimental Aircraft
no image for symbol T% : Turbine power plant
no image for symbol AD : Airport
no image for symbol S; : Summit on the air
no image for symbol Ak : ATV
no image for symbol E% : Emergency power
no image for symbol LD : Light rail/subway
no image for symbol P' : pileup crash
no image for symbol SD : Seaport
no image for symbol E0 : Echolink node
no image for symbol FD : Ferry landing
no image for symbol 4k : 4x4
no image for symbol F; : Field Day
no image for symbol T' : truck wreck
no image for symbol P^ : Prop Aircraft
no image for symbol H^ : Hovercraft
no image for symbol BD : Bus depot
no image for symbol P% : Portable power plant
1424316827214: done loading symbols.
Wed Feb 18 20:33:47 MST 2015: setting up common GUI table models...
Wed Feb 18 20:33:47 MST 2015: starting bulletin board monitor...
Wed Feb 18 20:33:47 MST 2015: YAAC: GUI instantiated, now setting up GUI....
Wed Feb 18 20:33:47 MST 2015: YAAC removing splash screen....
renderCurrentRaster: 0 files in 16msec @ zoom=197080.86 1424316827964
renderCurrentMap: ABORT 260(5413)/34581 ways(19ur), 0/0 nodes, 0/0 signs, 1 files(2 new) in 328msec @ zoom=197080.86 1424316828214
renderCurrentRaster: 0 files in 0msec @ zoom=197080.86 1424316828214
Wed Feb 18 20:33:48 MST 2015: YAAC starting digipeater....
Wed Feb 18 20:33:48 MST 2015: YAAC opening ports....
Wed Feb 18 20:33:48 MST 2015: waiting for I/O starter for Port1:APRS-IS to finish
opening port PortConfig[Port1>APRS-IS,noam.aprs2.net,14580]
old socket rcvBuf=65536
opening port PortConfig[Port2>Serial_TNC,COM4,9600]
Wed Feb 18 20:33:48 MST 2015: opening socket to APRS-IS server noam.aprs2.net/204.27.56.54:14580
updated socket rcvBuf=65536
Wed Feb 18 20:33:48 MST 2015: waiting for I/O starter for Port2:Serial_TNC to finish
aprsc 2.0.14-g28c5a6a
Wed Feb 18 20:33:48 MST 2015: opened SerialTNC COM4 default input buf size=0
renderCurrentMap: 4624(49852)/270248 ways(37372ur), 2/24763 nodes, 12/0 signs, 8 files(8 new) in 678msec @ zoom=197080.86 1424316828892
Wed Feb 18 20:33:48 MST 2015: trying to force echoing TNC back into KISS mode again
Wed Feb 18 20:33:50 MST 2015: waiting for I/O starter for Port2:Serial_TNC to finish
Wed Feb 18 20:33:50 MST 2015: initializing local station KD0SFY
Wed Feb 18 20:33:50 MST 2015: YAAC starting beacon and persistent objects....
Wed Feb 18 20:33:50 MST 2015: YAAC creating main menu bar....
Wed Feb 18 20:33:50 MST 2015: terminating TransmitterThread
Exception in thread "Transmitter Thread" java.lang.ClassCastException: java.lang.Short cannot be cast to java.lang.Integer
at org.ka2ddo.aprs.PositionMessage.appendRepeaterParameters(PositionMessage.java:831)
at org.ka2ddo.aprs.PositionReport.getBody(PositionReport.java:349)
at org.ka2ddo.yaac.io.BeaconData.getBody(BeaconData.java:223)
at org.ka2ddo.yaac.io.BeaconData.toString(BeaconData.java:566)
at java.lang.String.valueOf(Unknown Source)
at java.lang.StringBuilder.append(Unknown Source)
at org.ka2ddo.yaac.io.Transmitter.run(Transmitter.java:355)
at java.lang.Thread.run(Unknown Source)
Wed Feb 18 20:33:50 MST 2015: creating bookmark menu...
Wed Feb 18 20:33:50 MST 2015: initializing MessageDialog...
Wed Feb 18 20:33:50 MST 2015: YAAC startup completed.
Wed Feb 18 20:33:52 MST 2015: trying to force echoing TNC back into KISS mode again
renderCurrentMap: ABORT 68(1661)/489 ways(3ur), 0/0 nodes, 0/0 signs, 1 files(0 new) in 31msec @ zoom=197080.86 1424316832205
renderCurrentRaster: 0 files in 0msec @ zoom=197080.86 1424316832221
renderCurrentRaster: 0 files in 0msec @ zoom=197080.86 1424316832236
renderCurrentMap: 4544(49010)/270248 ways(37032ur), 2/24763 nodes, 11/0 signs, 8 files(0 new) in 640msec @ zoom=197080.86 1424316832861
Wed Feb 18 20:33:53 MST 2015: trying to force echoing TNC back into KISS mode again
Wed Feb 18 20:33:55 MST 2015: COM4: got as many as 87 bytes in one chunk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So, while I can now beacon in beta58, here are the message handling errors I am seeing:
unhandled exception in TransmitterThread: SendableMessageWrapper[id10,'#=1/4,active,msg=:KD0SFY-7:test message 1{M0006]
java.lang.NullPointerException
at org.ka2ddo.ax25.AX25Message.extractSource(AX25Message.java:336)
at org.ka2ddo.ax25.AX25Stack.processAPRSPacket(AX25Stack.java:828)
at org.ka2ddo.yaac.io.Transmitter.sendOneFrame(Transmitter.java:410)
at org.ka2ddo.yaac.io.Transmitter.sendForOnePort(Transmitter.java:382)
at org.ka2ddo.yaac.io.Transmitter.run(Transmitter.java:347)
at java.lang.Thread.run(Unknown Source) unhandled exception in TransmitterThread: SendableMessageWrapper[id10,'#=1/4,active,msg=:KD0SFY-7:test message 1{M0006]
java.lang.NullPointerException
at org.ka2ddo.ax25.AX25Message.extractSource(AX25Message.java:336)
at org.ka2ddo.ax25.AX25Stack.processAPRSPacket(AX25Stack.java:828)
at org.ka2ddo.yaac.io.Transmitter.sendOneFrame(Transmitter.java:410)
at org.ka2ddo.yaac.io.Transmitter.sendForOnePort(Transmitter.java:382)
at org.ka2ddo.yaac.io.Transmitter.run(Transmitter.java:347)
at java.lang.Thread.run(Unknown Source)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Almost hate to bring this up, but in addition to not being able to message, it seems that the fix for the PHG circle offset directions in the YAAC map display didn't work. Now the map display doesn't show any offset when I punch in different antenna directivity.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hmmm... I just uploaded the new build that should fix the NullPointerException on message transmit.
Re: the PHG circles: is that for your own station, or for others? If only for your own, are you receiving digipeater echoes of your beacon? If not, the PHG won't apply because you didn't receive it from somewhere else. I'll look into fixing it so you still see yourself correctly even if you can't hear it back from anyone else.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Andrew! I'll give the new code a go here in a few.
Pretty sure I am seeing the echoes as I do see my circle. Whereas the original PHG direction offset displayed the incorrect direction on the YAAC map (aprs.fi showed correct, so the actual encoded signal was correct), the new PHG problem is the YAAC map display always shows the circle centered, no offset at all (aprs.fi still shows the correct direction, so again the encoded signal is correct).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Upgraded to beta54 and can no longer transmit through my serial TNC. No indication on the TNC that it is trying to key the radio. Tried deleting the serial TNC port and adding it back in, but then I get an error about an invalid callsign. I am using just my base callsign, no SSID on the end. TNC is a KPC3+ via a USB to serial adapter cable and was working prior to the upgrade.
Seeing "Caused by: java.io.IOException: can't open Serial_TNC connection COM4 without valid callsign
at org.ka2ddo.yaac.io.SerialTNCConnector.configure(SerialTNCConnector.java:126)"
Last edit: John 2015-02-05
Greetings.
I'm not sure why this problem suddenly leaped out, because it's not new to build 54. It appears to be an old race condition in the GUI code for the port editor, causing the callsign to not be stored immediately when a new port is opened. Furthermore, it aggravates other deadlock conditions in the RXTX library.
In any case, I'm working on it, and should have a new build soon. As a work-around, when the open fails, try unchecking and rechecking the enable checkbox for this port, and see if that successfully opens the port.
Tried that last night, to no avail. Could only receive, not transmit. This appears to possibly be affecting the APRS-IS connection as well. I was receiving on the APRS-IS for a while, but must have timed out since I can't transmit to the APRS-IS servers and now am not receiving from them anymore.
Right now all I can do is receive-only from the Serial-TNC, so basically I am completely down.
This appears to have also hit another station in my area who is using YAAC.
Tried beta55 last night. While I no longer get that error when adding the Serial-TNC port, it still isn't transmitting on either the APRS-SI or Serial-TNC ports.
Last edit: John 2015-02-06
Failed back to a copy of beta44 I still had and it works, so pretty sure it isn't a problem with my gear.
Still unable to transmit to the Serial-TNC or to APRS-IS with beta55. With that build I am dead in the water.
Same here. Updated to build 55 and no longer transmits through tnc. Tnc works with other applications,so I know it's not that. Problem started when I updated to build 55. Is there a way to roll back? I didn't save a copy of the old zip file. Thanks Tony, KD2AFY
A note for everybody upgrading past beta50 (that includes all later builds including 55):
You must delete all your port definitions and re-enter them. A bug reported a few builds ago required the storage format for port definitions to be changed in a non-backwards-compatible way. Skipping build 50 and going directly to a later build does not make this issue go away; you will have problems with port definitions saved by builds prior to 50, and will not even be able to edit them successfully to fix them.
No work-around, except to delete and re-enter your port definitions.
Sorry about the inconvenience.
OK, but the transmit problem cropped up going from beta53 to 54. Rebuilding the ports hasn't helped.
Hmmm... well, I am transmitting successfully to hardware TNCs, software TNCs, and APRS-IS with build 56 (released a few minutes ago). Try that, and see if that works. If it doesn't, please e-mail and send the following information:
Your name and callsign-SSID (so I can try to look your packets up on aprs.fi). :-)
the XML file saved by YAAC when you select File->Configure->Save to File. This contains your current configuration.
the YAAC.out file located in your log directory (also copyable from the Help->About dialog on the Error Log tab).
the make and model of any hardware TNC you are trying to use (including radios with built-in TNCs such as the Kenwood TM-D710 and TH-D72). The make and model of USB<->RS232 adapters would also be useful (cheap clones of Prolific devices with driver conflicts, per chance?).
The operating system (Microsoft Windows, Apple Macintosh OS X, etc.) name and version, and the version of the Java Runtime Environment (JRE) you are using. If you are using a non-Intel-PC type machine (such as a Raspberry Pi), please note that as well. If you are using an anti-virus program, please mention the name of that as well (when YAAC tried to access a resource such as an Internet connection, did you authorize the anti-virus program to allow YAAC to use the resource?).
Hopefully, we can get this problem licked either in this build or the next one.
Andrew Pavlin, KA2DDO
author of YAAC
Build 57 has just been released, and it deals with all the errors that have been reported so far regarding transmit problems. Please try it out and let me know if there are still problems (or other problems).
Just updated. Still not transmitting.
In the error log, still seeing:
Exception in thread "Transmitter Thread" # aprsc 2.0.14-g28c5a6a
java.lang.ClassCastException: java.lang.Short cannot be cast to java.lang.Integer
at org.ka2ddo.aprs.PositionMessage.appendRepeaterParameters(PositionMessage.java:831)
at org.ka2ddo.aprs.PositionReport.getBody(PositionReport.java:349)
at org.ka2ddo.yaac.io.BeaconData.getBody(BeaconData.java:223)
at org.ka2ddo.yaac.io.BeaconData.toString(BeaconData.java:566)
at java.lang.String.valueOf(Unknown Source)
at java.lang.StringBuilder.append(Unknown Source)
at org.ka2ddo.yaac.io.Transmitter.run(Transmitter.java:355)
at java.lang.Thread.run(Unknown Source)
From start up:
Wed Feb 18 20:33:45 MST 2015: starting new YAAC logfile
Wed Feb 18 20:33:45 MST 2015: YAAC raising splash screen....
Wed Feb 18 20:33:46 MST 2015: YAAC finding installation directory....
Wed Feb 18 20:33:46 MST 2015: YAAC checking if upgrader needs moving....
Wed Feb 18 20:33:46 MST 2015: YAAC loading CoreProvider....
loading plugin --core-- name YAAC version 1.0-beta57(18-Feb-2015)
Wed Feb 18 20:33:46 MST 2015: creating SymAttr objects for 1.0.1...
Wed Feb 18 20:33:46 MST 2015: filling in text for 1.0.1 symbols...
Wed Feb 18 20:33:46 MST 2015: filling in text for extended symbols...
Wed Feb 18 20:33:46 MST 2015: YAAC loading plugins....
scanning plugin JAR file C:\YAAC\YAAC\plugins\javax.mail-1.5.2.jar
scanning plugin JAR file C:\YAAC\YAAC\plugins\sampleplugin.jar
attempting to load provider class org.ka2ddo.yaac.SamplePluginProvider
loading plugin C:\YAAC\YAAC\plugins\sampleplugin.jar name YAAC Sample Plug-in version V0.0
scanning plugin JAR file C:\YAAC\YAAC\plugins\telemetryalarmplugin.jar
attempting to load provider class org.ka2ddo.yaac.telemetryalarm.TelemetryAlarmProvider
appending JAR file C:\YAAC\YAAC\plugins\javax.mail-1.5.2.jar to org.ka2ddo.yaac.telemetryalarm.TelemetryAlarmProvider
loading plugin C:\YAAC\YAAC\plugins\telemetryalarmplugin.jar name Telemetry Alarm Plug-in version V0.0
Wed Feb 18 20:33:46 MST 2015: starting web server...
Wed Feb 18 20:33:46 MST 2015: YAAC starting main GUI....
OpenMap(tm) Version 5.0
Copyright (C) BBNT Solutions LLC. All rights reserved.
See http://openmap.bbn.com/ for details.
Wed Feb 18 20:33:46 MST 2015: about to create RasterMapOverlay layer...
Wed Feb 18 20:33:46 MST 2015: about to create StationRenderer layer...
1424316826803: starting to load symbols...
1424316826901: finished loading 1.0.1 basic symbol images...
no image for symbol V^ : VTOL Aircraft
no image for symbol Fh : HamFest
no image for symbol D^ : Drone
no image for symbol E^ : Enemy Aircraft
no image for symbol I0 : IRLP repeater
no image for symbol M' : multi-vehicle crash
no image for symbol I; : Island on the air
no image for symbol J^ : Jet Aircraft
no image for symbol RD : Rail depot
no image for symbol TR : Taco Bell
no image for symbol M^ : Missile
no image for symbol W; : WOTA
no image for symbol H' : Hazardous incident
no image for symbol A' : Automobile crash
no image for symbol S0 : Staging area
no image for symbol X^ : Experimental Aircraft
no image for symbol T% : Turbine power plant
no image for symbol AD : Airport
no image for symbol S; : Summit on the air
no image for symbol Ak : ATV
no image for symbol E% : Emergency power
no image for symbol LD : Light rail/subway
no image for symbol P' : pileup crash
no image for symbol SD : Seaport
no image for symbol E0 : Echolink node
no image for symbol FD : Ferry landing
no image for symbol 4k : 4x4
no image for symbol F; : Field Day
no image for symbol T' : truck wreck
no image for symbol P^ : Prop Aircraft
no image for symbol H^ : Hovercraft
no image for symbol BD : Bus depot
no image for symbol P% : Portable power plant
1424316827214: done loading symbols.
Wed Feb 18 20:33:47 MST 2015: setting up common GUI table models...
Wed Feb 18 20:33:47 MST 2015: starting bulletin board monitor...
Wed Feb 18 20:33:47 MST 2015: YAAC: GUI instantiated, now setting up GUI....
Wed Feb 18 20:33:47 MST 2015: YAAC removing splash screen....
renderCurrentRaster: 0 files in 16msec @ zoom=197080.86 1424316827964
renderCurrentMap: ABORT 260(5413)/34581 ways(19ur), 0/0 nodes, 0/0 signs, 1 files(2 new) in 328msec @ zoom=197080.86 1424316828214
renderCurrentRaster: 0 files in 0msec @ zoom=197080.86 1424316828214
Wed Feb 18 20:33:48 MST 2015: YAAC starting digipeater....
Wed Feb 18 20:33:48 MST 2015: YAAC opening ports....
Wed Feb 18 20:33:48 MST 2015: waiting for I/O starter for Port1:APRS-IS to finish
opening port PortConfig[Port1>APRS-IS,noam.aprs2.net,14580]
old socket rcvBuf=65536
opening port PortConfig[Port2>Serial_TNC,COM4,9600]
Wed Feb 18 20:33:48 MST 2015: opening socket to APRS-IS server noam.aprs2.net/204.27.56.54:14580
updated socket rcvBuf=65536
Wed Feb 18 20:33:48 MST 2015: waiting for I/O starter for Port2:Serial_TNC to finish
aprsc 2.0.14-g28c5a6a
Wed Feb 18 20:33:48 MST 2015: opened SerialTNC COM4 default input buf size=0
renderCurrentMap: 4624(49852)/270248 ways(37372ur), 2/24763 nodes, 12/0 signs, 8 files(8 new) in 678msec @ zoom=197080.86 1424316828892
Wed Feb 18 20:33:48 MST 2015: trying to force echoing TNC back into KISS mode again
Wed Feb 18 20:33:50 MST 2015: waiting for I/O starter for Port2:Serial_TNC to finish
Wed Feb 18 20:33:50 MST 2015: initializing local station KD0SFY
Wed Feb 18 20:33:50 MST 2015: YAAC starting beacon and persistent objects....
Wed Feb 18 20:33:50 MST 2015: YAAC creating main menu bar....
Wed Feb 18 20:33:50 MST 2015: terminating TransmitterThread
Exception in thread "Transmitter Thread" java.lang.ClassCastException: java.lang.Short cannot be cast to java.lang.Integer
at org.ka2ddo.aprs.PositionMessage.appendRepeaterParameters(PositionMessage.java:831)
at org.ka2ddo.aprs.PositionReport.getBody(PositionReport.java:349)
at org.ka2ddo.yaac.io.BeaconData.getBody(BeaconData.java:223)
at org.ka2ddo.yaac.io.BeaconData.toString(BeaconData.java:566)
at java.lang.String.valueOf(Unknown Source)
at java.lang.StringBuilder.append(Unknown Source)
at org.ka2ddo.yaac.io.Transmitter.run(Transmitter.java:355)
at java.lang.Thread.run(Unknown Source)
Wed Feb 18 20:33:50 MST 2015: creating bookmark menu...
Wed Feb 18 20:33:50 MST 2015: initializing MessageDialog...
Wed Feb 18 20:33:50 MST 2015: YAAC startup completed.
Wed Feb 18 20:33:52 MST 2015: trying to force echoing TNC back into KISS mode again
renderCurrentMap: ABORT 68(1661)/489 ways(3ur), 0/0 nodes, 0/0 signs, 1 files(0 new) in 31msec @ zoom=197080.86 1424316832205
renderCurrentRaster: 0 files in 0msec @ zoom=197080.86 1424316832221
renderCurrentRaster: 0 files in 0msec @ zoom=197080.86 1424316832236
renderCurrentMap: 4544(49010)/270248 ways(37032ur), 2/24763 nodes, 11/0 signs, 8 files(0 new) in 640msec @ zoom=197080.86 1424316832861
Wed Feb 18 20:33:53 MST 2015: trying to force echoing TNC back into KISS mode again
Wed Feb 18 20:33:55 MST 2015: COM4: got as many as 87 bytes in one chunk
How embarrassing. OK, how about build#58 that was just posted?
Yay.. beacons are working on both the APRS-IS and TNC sides. However, messages don't seem to be going out the TNC side.
Yay! beacons appear to be going out both the APRS-IS and TNC ports. However, messages don't seem to be going out the TNC port.
So, while I can now beacon in beta58, here are the message handling errors I am seeing:
unhandled exception in TransmitterThread: SendableMessageWrapper[id10,'#=1/4,active,msg=:KD0SFY-7:test message 1{M0006]
java.lang.NullPointerException
at org.ka2ddo.ax25.AX25Message.extractSource(AX25Message.java:336)
at org.ka2ddo.ax25.AX25Stack.processAPRSPacket(AX25Stack.java:828)
at org.ka2ddo.yaac.io.Transmitter.sendOneFrame(Transmitter.java:410)
at org.ka2ddo.yaac.io.Transmitter.sendForOnePort(Transmitter.java:382)
at org.ka2ddo.yaac.io.Transmitter.run(Transmitter.java:347)
at java.lang.Thread.run(Unknown Source) unhandled exception in TransmitterThread: SendableMessageWrapper[id10,'#=1/4,active,msg=:KD0SFY-7:test message 1{M0006]
java.lang.NullPointerException
at org.ka2ddo.ax25.AX25Message.extractSource(AX25Message.java:336)
at org.ka2ddo.ax25.AX25Stack.processAPRSPacket(AX25Stack.java:828)
at org.ka2ddo.yaac.io.Transmitter.sendOneFrame(Transmitter.java:410)
at org.ka2ddo.yaac.io.Transmitter.sendForOnePort(Transmitter.java:382)
at org.ka2ddo.yaac.io.Transmitter.run(Transmitter.java:347)
at java.lang.Thread.run(Unknown Source)
Almost hate to bring this up, but in addition to not being able to message, it seems that the fix for the PHG circle offset directions in the YAAC map display didn't work. Now the map display doesn't show any offset when I punch in different antenna directivity.
Hmmm... I just uploaded the new build that should fix the NullPointerException on message transmit.
Re: the PHG circles: is that for your own station, or for others? If only for your own, are you receiving digipeater echoes of your beacon? If not, the PHG won't apply because you didn't receive it from somewhere else. I'll look into fixing it so you still see yourself correctly even if you can't hear it back from anyone else.
Thanks Andrew! I'll give the new code a go here in a few.
Pretty sure I am seeing the echoes as I do see my circle. Whereas the original PHG direction offset displayed the incorrect direction on the YAAC map (aprs.fi showed correct, so the actual encoded signal was correct), the new PHG problem is the YAAC map display always shows the circle centered, no offset at all (aprs.fi still shows the correct direction, so again the encoded signal is correct).
Messages do appear to be working now! Thanks!