¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Tile download problem

 

It has been a long time since I used yaac and recently opened it on my Toshiba net book running Windows 7 basic. ?After reloading a newer version and configuring now I get "Java exception trying to download tiles" followed in the error box with lots of what appears to be program references.

what can I do now?
Bruce NT7Z


Re: hang on Mac OS X

 

I trimmed the jstack output to show the offending problem. It seems that one of the serial ports on your Mac is stuck, so when JSSC attempts to open it to confirm it is a real serial port (not a broken link in the file system), the open() system service call hangs. The reason the open is occurring is because YAAC is trying to pre-populate the drop-down list of available serial port names for your convenience, so it asks JSSC to get it that list. Unfortunately, it's not telling us which serial port file it's trying to open.

The file name pattern JSSC looks for on a Mac is

/dev/tty.serial.*
/dev/tty.usbserial.*
/dev/tty.usbmodem.*

and apparently Mac OS X does not honor the O_NDELAY (non-blocking) flag on the open() system call for a serial port.

Do you have any strange devices that look like serial ports on your system but aren't really?

Andrew, KA2DDO
author of YAAC

________________________________________
From: [email protected] <[email protected]> on behalf of Matthew Wishek
Sent: Wednesday, December 30, 2020 10:34 AM
Subject: Re: [yaac-users] URGENT: new build#163 of YAAC, created 2020-Dec-29

Here is the output of the 'jstack' command on the sub-process:

% jstack 17388
2020-12-30 07:31:31
Full thread dump Java HotSpot(TM) 64-Bit Server VM (15.0.1+9-18 mixed mode, sharing):
~~~~~~~
"AWT-EventQueue-0" #23 prio=6 os_prio=31 cpu=1908.38ms elapsed=127.87s tid=0x00007fa602050e00 nid=0x1ff03 runnable [0x000070000df81000]
java.lang.Thread.State: RUNNABLE
at jssc.SerialNativeInterface.openPort(Native Method)
at jssc.SerialPortList.getUnixBasedPortNames(SerialPortList.java:333)
at jssc.SerialPortList.getPortNames(SerialPortList.java:296)
at jssc.SerialPortList.getPortNames(SerialPortList.java:178)
at org.ka2ddo.yaac.os.OSAdapter$1.getSerialPortNames(OSAdapter.java:59)
at org.ka2ddo.yaac.os.OSAdapter.getSerialPortNames(OSAdapter.java:89)
at org.ka2ddo.yaac.os.OSAdapter.getCachedSerialPortNames(OSAdapter.java:101)
at org.ka2ddo.yaac.gui.io.SerialTNCPortEditor.<init>(SerialTNCPortEditor.java:88)
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0([email protected]/Native Method)
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance([email protected]/NativeConstructorAccessorImpl.java:64)
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance([email protected]/DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstanceWithCaller([email protected]/Constructor.java:500)
at java.lang.reflect.Constructor.newInstance([email protected]/Constructor.java:481)
at org.ka2ddo.yaac.gui.PortEditor.<init>(PortEditor.java:81)
at org.ka2ddo.yaac.gui.config.ConfigurePorts.actionPerformed(ConfigurePorts.java:97)
at javax.swing.AbstractButton.fireActionPerformed([email protected]/AbstractButton.java:1967)
at javax.swing.AbstractButton$Handler.actionPerformed([email protected]/AbstractButton.java:2308)
at javax.swing.DefaultButtonModel.fireActionPerformed([email protected]/DefaultButtonModel.java:405)
at javax.swing.DefaultButtonModel.setPressed([email protected]/DefaultButtonModel.java:262)


Re: URGENT: new build#163 of YAAC, created 2020-Dec-29

 

Here is the output of the 'jstack' command on the sub-process:

% jstack 17388
2020-12-30 07:31:31
Full thread dump Java HotSpot(TM) 64-Bit Server VM (15.0.1+9-18 mixed mode, sharing):

Threads class SMR info:
_java_thread_list=0x00007fa5b2378910, length=35, elements={
0x00007fa622009e00, 0x00007fa62201ba00, 0x00007fa601809000, 0x00007fa601808a00,
0x00007fa60180d000, 0x00007fa60180d600, 0x00007fa60180dc00, 0x00007fa601848200,
0x00007fa621808c00, 0x00007fa60200d600, 0x00007fa62208ee00, 0x00007fa60184a400,
0x00007fa60184aa00, 0x00007fa622091a00, 0x00007fa623128800, 0x00007fa60208dc00,
0x00007fa6018e6600, 0x00007fa602050e00, 0x00007fa62313ca00, 0x00007fa62313fa00,
0x00007fa601a09800, 0x00007fa6218b0600, 0x00007fa6218a6e00, 0x00007fa601a10400,
0x00007fa62197c400, 0x00007fa6220ede00, 0x00007fa621821400, 0x00007fa6220e5200,
0x00007fa6220e3200, 0x00007fa62312c800, 0x00007fa62182da00, 0x00007fa621c72200,
0x00007fa62213a400, 0x00007fa59192ec00, 0x00007fa594012c00
}

"Reference Handler" #2 daemon prio=10 os_prio=31 cpu=1.70ms elapsed=128.59s tid=0x00007fa622009e00 nid=0x3b03 waiting on condition? [0x000070000c728000]
?? java.lang.Thread.State: RUNNABLE
?? ?at java.lang.ref.Reference.waitForReferencePendingList([email protected]/Native Method)
?? ?at java.lang.ref.Reference.processPendingReferences([email protected]/Reference.java:241)
?? ?at java.lang.ref.Reference$ReferenceHandler.run([email protected]/Reference.java:213)

"Finalizer" #3 daemon prio=8 os_prio=31 cpu=4.53ms elapsed=128.59s tid=0x00007fa62201ba00 nid=0x3e03 in Object.wait()? [0x000070000c82b000]
?? java.lang.Thread.State: WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at java.lang.ref.ReferenceQueue.remove([email protected]/ReferenceQueue.java:155)
?? ?- locked <0x00000006001accd8> (a java.lang.ref.ReferenceQueue$Lock)
?? ?at java.lang.ref.ReferenceQueue.remove([email protected]/ReferenceQueue.java:176)
?? ?at java.lang.ref.Finalizer$FinalizerThread.run([email protected]/Finalizer.java:170)

"Signal Dispatcher" #4 daemon prio=9 os_prio=31 cpu=0.20ms elapsed=128.58s tid=0x00007fa601809000 nid=0x5a03 runnable? [0x0000000000000000]
?? java.lang.Thread.State: RUNNABLE

"Service Thread" #5 daemon prio=9 os_prio=31 cpu=6.52ms elapsed=128.58s tid=0x00007fa601808a00 nid=0xa603 runnable? [0x0000000000000000]
?? java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" #6 daemon prio=9 os_prio=31 cpu=4587.54ms elapsed=128.58s tid=0x00007fa60180d000 nid=0x5e03 waiting on condition? [0x0000000000000000]
?? java.lang.Thread.State: RUNNABLE
?? No compile task

"C1 CompilerThread0" #9 daemon prio=9 os_prio=31 cpu=1749.78ms elapsed=128.58s tid=0x00007fa60180d600 nid=0xa003 waiting on condition? [0x0000000000000000]
?? java.lang.Thread.State: RUNNABLE
?? No compile task

"Sweeper thread" #10 daemon prio=9 os_prio=31 cpu=16.03ms elapsed=128.58s tid=0x00007fa60180dc00 nid=0x6003 runnable? [0x0000000000000000]
?? java.lang.Thread.State: RUNNABLE

"Notification Thread" #11 daemon prio=9 os_prio=31 cpu=0.03ms elapsed=128.57s tid=0x00007fa601848200 nid=0x9c03 runnable? [0x0000000000000000]
?? java.lang.Thread.State: RUNNABLE

"Common-Cleaner" #12 daemon prio=8 os_prio=31 cpu=1.04ms elapsed=128.57s tid=0x00007fa621808c00 nid=0x9903 in Object.wait()? [0x000070000d149000]
?? java.lang.Thread.State: TIMED_WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at java.lang.ref.ReferenceQueue.remove([email protected]/ReferenceQueue.java:155)
?? ?- locked <0x00000006001b4798> (a java.lang.ref.ReferenceQueue$Lock)
?? ?at jdk.internal.ref.CleanerImpl.run([email protected]/CleanerImpl.java:148)
?? ?at java.lang.Thread.run([email protected]/Thread.java:832)
?? ?at jdk.internal.misc.InnocuousThread.run([email protected]/InnocuousThread.java:134)

"Sound pusher thread" #13 daemon prio=5 os_prio=31 cpu=0.23ms elapsed=128.50s tid=0x00007fa60200d600 nid=0x9603 in Object.wait()? [0x000070000d24c000]
?? java.lang.Thread.State: WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at java.lang.Object.wait([email protected]/Object.java:321)
?? ?at org.ka2ddo.util.FastBlockingQueue.take(FastBlockingQueue.java:253)
?? ?- locked <0x00000006001c3550> (a org.ka2ddo.util.FastBlockingQueue)
?? ?at org.ka2ddo.yaac.YAAC$SoundMakerWrapper.run(YAAC.java:167)
?? ?at java.lang.Thread.run([email protected]/Thread.java:832)

"Timer-0" #14 daemon prio=5 os_prio=31 cpu=0.21ms elapsed=128.48s tid=0x00007fa62208ee00 nid=0x6803 in Object.wait()? [0x000070000d34f000]
?? java.lang.Thread.State: WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at java.lang.Object.wait([email protected]/Object.java:321)
?? ?at java.util.TimerThread.mainLoop([email protected]/Timer.java:527)
?? ?- locked <0x00000006001d9af8> (a java.util.TaskQueue)
?? ?at java.util.TimerThread.run([email protected]/Timer.java:506)

"LoggerTimer" #16 daemon prio=5 os_prio=31 cpu=0.81ms elapsed=128.46s tid=0x00007fa60184a400 nid=0x6c03 in Object.wait()? [0x000070000d452000]
?? java.lang.Thread.State: TIMED_WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at org.ka2ddo.util.ReschedulableTimer.run(ReschedulableTimer.java:127)
?? ?- locked <0x00000006001e1130> (a org.ka2ddo.util.ReschedulableTimer)

"CheckpointingLoggerTimer" #17 daemon prio=5 os_prio=31 cpu=0.10ms elapsed=128.46s tid=0x00007fa60184aa00 nid=0x9203 in Object.wait()? [0x000070000d555000]
?? java.lang.Thread.State: TIMED_WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <0x00000006001cad30> (a java.util.TaskQueue)
?? ?at java.util.TimerThread.mainLoop([email protected]/Timer.java:553)
?? ?- locked <0x00000006001cad30> (a java.util.TaskQueue)
?? ?at java.util.TimerThread.run([email protected]/Timer.java:506)

"AppKit Thread" #18 daemon prio=5 os_prio=31 cpu=1574.52ms elapsed=128.34s tid=0x00007fa622091a00 nid=0x307 runnable? [0x0000000000000000]
?? java.lang.Thread.State: RUNNABLE

"AWT-Shutdown" #19 prio=5 os_prio=31 cpu=2.79ms elapsed=128.25s tid=0x00007fa623128800 nid=0x14b03 in Object.wait()? [0x000070000d658000]
?? java.lang.Thread.State: WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at java.lang.Object.wait([email protected]/Object.java:321)
?? ?at sun.awt.AWTAutoShutdown.run([email protected]/AWTAutoShutdown.java:291)
?? ?- locked <0x00000006001acd18> (a java.lang.Object)
?? ?at java.lang.Thread.run([email protected]/Thread.java:832)

"Java2D Queue Flusher" #20 daemon prio=10 os_prio=31 cpu=242.98ms elapsed=128.05s tid=0x00007fa60208dc00 nid=0xe403 in Object.wait()? [0x000070000dc79000]
?? java.lang.Thread.State: TIMED_WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run([email protected]/OGLRenderQueue.java:205)
?? ?- locked <0x00000006001ad008> (a sun.java2d.opengl.OGLRenderQueue$QueueFlusher)
?? ?at java.lang.Thread.run([email protected]/Thread.java:832)

"Java2D Disposer" #21 daemon prio=10 os_prio=31 cpu=1.69ms elapsed=128.01s tid=0x00007fa6018e6600 nid=0xf203 in Object.wait()? [0x000070000dd7c000]
?? java.lang.Thread.State: WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at java.lang.ref.ReferenceQueue.remove([email protected]/ReferenceQueue.java:155)
?? ?- locked <0x00000006001b4958> (a java.lang.ref.ReferenceQueue$Lock)
?? ?at java.lang.ref.ReferenceQueue.remove([email protected]/ReferenceQueue.java:176)
?? ?at sun.java2d.Disposer.run([email protected]/Disposer.java:144)
?? ?at java.lang.Thread.run([email protected]/Thread.java:832)

"AWT-EventQueue-0" #23 prio=6 os_prio=31 cpu=1908.38ms elapsed=127.87s tid=0x00007fa602050e00 nid=0x1ff03 runnable? [0x000070000df81000]
?? java.lang.Thread.State: RUNNABLE
?? ?at jssc.SerialNativeInterface.openPort(Native Method)
?? ?at jssc.SerialPortList.getUnixBasedPortNames(SerialPortList.java:333)
?? ?at jssc.SerialPortList.getPortNames(SerialPortList.java:296)
?? ?at jssc.SerialPortList.getPortNames(SerialPortList.java:178)
?? ?at org.ka2ddo.yaac.os.OSAdapter$1.getSerialPortNames(OSAdapter.java:59)
?? ?at org.ka2ddo.yaac.os.OSAdapter.getSerialPortNames(OSAdapter.java:89)
?? ?at org.ka2ddo.yaac.os.OSAdapter.getCachedSerialPortNames(OSAdapter.java:101)
?? ?at org.ka2ddo.yaac.gui.io.SerialTNCPortEditor.<init>(SerialTNCPortEditor.java:88)
?? ?at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0([email protected]/Native Method)
?? ?at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance([email protected]/NativeConstructorAccessorImpl.java:64)
?? ?at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance([email protected]/DelegatingConstructorAccessorImpl.java:45)
?? ?at java.lang.reflect.Constructor.newInstanceWithCaller([email protected]/Constructor.java:500)
?? ?at java.lang.reflect.Constructor.newInstance([email protected]/Constructor.java:481)
?? ?at org.ka2ddo.yaac.gui.PortEditor.<init>(PortEditor.java:81)
?? ?at org.ka2ddo.yaac.gui.config.ConfigurePorts.actionPerformed(ConfigurePorts.java:97)
?? ?at javax.swing.AbstractButton.fireActionPerformed([email protected]/AbstractButton.java:1967)
?? ?at javax.swing.AbstractButton$Handler.actionPerformed([email protected]/AbstractButton.java:2308)
?? ?at javax.swing.DefaultButtonModel.fireActionPerformed([email protected]/DefaultButtonModel.java:405)
?? ?at javax.swing.DefaultButtonModel.setPressed([email protected]/DefaultButtonModel.java:262)
?? ?at javax.swing.plaf.basic.BasicButtonListener.mouseReleased([email protected]/BasicButtonListener.java:279)
?? ?at java.awt.Component.processMouseEvent([email protected]/Component.java:6614)
?? ?at javax.swing.JComponent.processMouseEvent([email protected]/JComponent.java:3342)
?? ?at java.awt.Component.processEvent([email protected]/Component.java:6379)
?? ?at java.awt.Container.processEvent([email protected]/Container.java:2263)
?? ?at java.awt.Component.dispatchEventImpl([email protected]/Component.java:4990)
?? ?at java.awt.Container.dispatchEventImpl([email protected]/Container.java:2321)
?? ?at java.awt.Component.dispatchEvent([email protected]/Component.java:4822)
?? ?at java.awt.LightweightDispatcher.retargetMouseEvent([email protected]/Container.java:4919)
?? ?at java.awt.LightweightDispatcher.processMouseEvent([email protected]/Container.java:4548)
?? ?at java.awt.LightweightDispatcher.dispatchEvent([email protected]/Container.java:4489)
?? ?at java.awt.Container.dispatchEventImpl([email protected]/Container.java:2307)
?? ?at java.awt.Window.dispatchEventImpl([email protected]/Window.java:2769)
?? ?at java.awt.Component.dispatchEvent([email protected]/Component.java:4822)
?? ?at java.awt.EventQueue.dispatchEventImpl([email protected]/EventQueue.java:772)
?? ?at java.awt.EventQueue$4.run([email protected]/EventQueue.java:721)
?? ?at java.awt.EventQueue$4.run([email protected]/EventQueue.java:715)
?? ?at java.security.AccessController.executePrivileged([email protected]/AccessController.java:753)
?? ?at java.security.AccessController.doPrivileged([email protected]/AccessController.java:391)
?? ?at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege([email protected]/ProtectionDomain.java:85)
?? ?at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege([email protected]/ProtectionDomain.java:95)
?? ?at java.awt.EventQueue$5.run([email protected]/EventQueue.java:745)
?? ?at java.awt.EventQueue$5.run([email protected]/EventQueue.java:743)
?? ?at java.security.AccessController.executePrivileged([email protected]/AccessController.java:753)
?? ?at java.security.AccessController.doPrivileged([email protected]/AccessController.java:391)
?? ?at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege([email protected]/ProtectionDomain.java:85)
?? ?at java.awt.EventQueue.dispatchEvent([email protected]/EventQueue.java:742)
?? ?at java.awt.EventDispatchThread.pumpOneEventForFilters([email protected]/EventDispatchThread.java:203)
?? ?at java.awt.EventDispatchThread.pumpEventsForFilter([email protected]/EventDispatchThread.java:124)
?? ?at java.awt.EventDispatchThread.pumpEventsForHierarchy([email protected]/EventDispatchThread.java:113)
?? ?at java.awt.EventDispatchThread.pumpEvents([email protected]/EventDispatchThread.java:109)
?? ?at java.awt.EventDispatchThread.pumpEvents([email protected]/EventDispatchThread.java:101)
?? ?at java.awt.EventDispatchThread.run([email protected]/EventDispatchThread.java:90)

"AX25Stack parser" #24 daemon prio=5 os_prio=31 cpu=7243.27ms elapsed=127.77s tid=0x00007fa62313ca00 nid=0x15d0f in Object.wait()? [0x000070000e085000]
?? java.lang.Thread.State: TIMED_WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at org.ka2ddo.ax25.AX25Stack.processQueuedFrames(AX25Stack.java:341)
?? ?- locked <0x00000006001c3ff0> (a org.ka2ddo.util.FastBlockingQueue)
?? ?at org.ka2ddo.ax25.AX25Stack.run(AX25Stack.java:300)
?? ?at java.lang.Thread.run([email protected]/Thread.java:832)

"AX.25 Retransmit Timer" #25 daemon prio=5 os_prio=31 cpu=0.09ms elapsed=127.77s tid=0x00007fa62313fa00 nid=0x16003 in Object.wait()? [0x000070000e188000]
?? java.lang.Thread.State: TIMED_WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <0x00000006001b4a28> (a org.ka2ddo.util.ReschedulableTimer)
?? ?at org.ka2ddo.util.ReschedulableTimer.run(ReschedulableTimer.java:127)
?? ?- locked <0x00000006001b4a28> (a org.ka2ddo.util.ReschedulableTimer)

"BeaconTimer" #26 daemon prio=5 os_prio=31 cpu=0.79ms elapsed=127.76s tid=0x00007fa601a09800 nid=0x1ed03 in Object.wait()? [0x000070000e28b000]
?? java.lang.Thread.State: TIMED_WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at org.ka2ddo.util.ReschedulableTimer.run(ReschedulableTimer.java:127)
?? ?- locked <0x00000006001e1318> (a org.ka2ddo.util.ReschedulableTimer)

"Transmitter Thread" #27 daemon prio=5 os_prio=31 cpu=5.79ms elapsed=127.74s tid=0x00007fa6218b0600 nid=0x16403 in Object.wait()? [0x000070000e38e000]
?? java.lang.Thread.State: WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at java.lang.Object.wait([email protected]/Object.java:321)
?? ?at org.ka2ddo.yaac.io.Transmitter.run(Transmitter.java:491)
?? ?- locked <0x00000006001d9cb8> (a org.ka2ddo.yaac.io.Transmitter)
?? ?at java.lang.Thread.run([email protected]/Thread.java:832)

"StationTracker prune timer" #28 daemon prio=5 os_prio=31 cpu=0.14ms elapsed=127.72s tid=0x00007fa6218a6e00 nid=0x16713 in Object.wait()? [0x000070000e491000]
?? java.lang.Thread.State: TIMED_WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <0x00000006001ad210> (a java.util.TaskQueue)
?? ?at java.util.TimerThread.mainLoop([email protected]/Timer.java:553)
?? ?- locked <0x00000006001ad210> (a java.util.TaskQueue)
?? ?at java.util.TimerThread.run([email protected]/Timer.java:506)

"PortConnector Inactivity Timer" #29 daemon prio=5 os_prio=31 cpu=0.64ms elapsed=127.70s tid=0x00007fa601a10400 nid=0x16a03 in Object.wait()? [0x000070000e594000]
?? java.lang.Thread.State: TIMED_WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at java.util.TimerThread.mainLoop([email protected]/Timer.java:553)
?? ?- locked <0x00000006001bbda8> (a java.util.TaskQueue)
?? ?at java.util.TimerThread.run([email protected]/Timer.java:506)

"AprsIsServerProvider client timer" #30 daemon prio=5 os_prio=31 cpu=0.07ms elapsed=127.63s tid=0x00007fa62197c400 nid=0x1e603 in Object.wait()? [0x000070000e697000]
?? java.lang.Thread.State: WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <0x00000006001e1608> (a java.util.TaskQueue)
?? ?at java.lang.Object.wait([email protected]/Object.java:321)
?? ?at java.util.TimerThread.mainLoop([email protected]/Timer.java:527)
?? ?- locked <0x00000006001e1608> (a java.util.TaskQueue)
?? ?at java.util.TimerThread.run([email protected]/Timer.java:506)

"AREDN polling timer" #32 daemon prio=5 os_prio=31 cpu=1.80ms elapsed=127.38s tid=0x00007fa6220ede00 nid=0x16f03 in Object.wait()? [0x000070000e79a000]
?? java.lang.Thread.State: TIMED_WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at java.util.TimerThread.mainLoop([email protected]/Timer.java:553)
?? ?- locked <0x00000006001b4d18> (a java.util.TaskQueue)
?? ?at java.util.TimerThread.run([email protected]/Timer.java:506)

"TimerQueue" #34 daemon prio=5 os_prio=31 cpu=23.73ms elapsed=126.77s tid=0x00007fa621821400 nid=0xf90b waiting on condition? [0x000070000f1b8000]
?? java.lang.Thread.State: TIMED_WAITING (parking)
?? ?at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
?? ?- parking to wait for? <0x0000000603c04ed0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
?? ?at java.util.concurrent.locks.LockSupport.parkNanos([email protected]/LockSupport.java:252)
?? ?at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos([email protected]/AbstractQueuedSynchronizer.java:1661)
?? ?at java.util.concurrent.DelayQueue.take([email protected]/DelayQueue.java:229)
?? ?at javax.swing.TimerQueue.run([email protected]/TimerQueue.java:171)
?? ?at java.lang.Thread.run([email protected]/Thread.java:832)

"ProjectionSupportThread Thread-6" #35 prio=6 os_prio=31 cpu=0.28ms elapsed=126.58s tid=0x00007fa6220e5200 nid=0x1de1f in Object.wait()? [0x000070000f2bb000]
?? java.lang.Thread.State: WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <0x0000000603c00e68> (a java.lang.Object)
?? ?at java.lang.Object.wait([email protected]/Object.java:321)
?? ?at com.bbn.openmap.event.ProjectionSupport$ProjectionChangeNotifier.run(ProjectionSupport.java:200)
?? ?- locked <0x0000000603c00e68> (a java.lang.Object)

"Connector Timer" #36 daemon prio=5 os_prio=31 cpu=0.14ms elapsed=126.57s tid=0x00007fa6220e3200 nid=0x1db03 in Object.wait()? [0x000070000f3be000]
?? java.lang.Thread.State: TIMED_WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <0x0000000603c072f8> (a org.ka2ddo.util.ReschedulableTimer)
?? ?at org.ka2ddo.util.ReschedulableTimer.run(ReschedulableTimer.java:127)
?? ?- locked <0x0000000603c072f8> (a org.ka2ddo.util.ReschedulableTimer)

"AprsIsConnector(#1,NB0X-1->firenet.us:14580)" #39 daemon prio=6 os_prio=31 cpu=82.09ms elapsed=126.29s tid=0x00007fa62312c800 nid=0x1d023 runnable? [0x000070000f6c7000]
?? java.lang.Thread.State: RUNNABLE
?? ?at sun.nio.ch.SocketDispatcher.read0([email protected]/Native Method)
?? ?at sun.nio.ch.SocketDispatcher.read([email protected]/SocketDispatcher.java:47)
?? ?at sun.nio.ch.NioSocketImpl.tryRead([email protected]/NioSocketImpl.java:261)
?? ?at sun.nio.ch.NioSocketImpl.implRead([email protected]/NioSocketImpl.java:312)
?? ?at sun.nio.ch.NioSocketImpl.read([email protected]/NioSocketImpl.java:350)
?? ?at sun.nio.ch.NioSocketImpl$1.read([email protected]/NioSocketImpl.java:803)
?? ?at java.net.Socket$SocketInputStream.read([email protected]/Socket.java:981)
?? ?at org.ka2ddo.yaac.io.AprsIsConnector.run(AprsIsConnector.java:561)
?? ?at java.lang.Thread.run([email protected]/Thread.java:832)

"AprsIsConnector(#2,NB0X-1->noam.aprs2.net:14580)" #40 daemon prio=6 os_prio=31 cpu=82.53ms elapsed=126.22s tid=0x00007fa62182da00 nid=0x18407 runnable? [0x000070000f5c4000]
?? java.lang.Thread.State: RUNNABLE
?? ?at sun.nio.ch.SocketDispatcher.read0([email protected]/Native Method)
?? ?at sun.nio.ch.SocketDispatcher.read([email protected]/SocketDispatcher.java:47)
?? ?at sun.nio.ch.NioSocketImpl.tryRead([email protected]/NioSocketImpl.java:261)
?? ?at sun.nio.ch.NioSocketImpl.implRead([email protected]/NioSocketImpl.java:312)
?? ?at sun.nio.ch.NioSocketImpl.read([email protected]/NioSocketImpl.java:350)
?? ?at sun.nio.ch.NioSocketImpl$1.read([email protected]/NioSocketImpl.java:803)
?? ?at java.net.Socket$SocketInputStream.read([email protected]/Socket.java:981)
?? ?at org.ka2ddo.yaac.io.AprsIsConnector.run(AprsIsConnector.java:561)
?? ?at java.lang.Thread.run([email protected]/Thread.java:832)

"SendableMessageTimer" #41 daemon prio=5 os_prio=31 cpu=0.35ms elapsed=126.21s tid=0x00007fa621c72200 nid=0x18207 in Object.wait()? [0x000070000f4c1000]
?? java.lang.Thread.State: TIMED_WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at org.ka2ddo.util.ReschedulableTimer.run(ReschedulableTimer.java:127)
?? ?- locked <0x0000000603c026b8> (a org.ka2ddo.util.ReschedulableTimer)

"DestroyJavaVM" #42 prio=5 os_prio=31 cpu=1057.66ms elapsed=126.21s tid=0x00007fa62213a400 nid=0x2803 waiting on condition? [0x0000000000000000]
?? java.lang.Thread.State: RUNNABLE

"Java Sound Event Dispatcher" #58 daemon prio=6 os_prio=31 cpu=0.10ms elapsed=108.36s tid=0x00007fa59192ec00 nid=0x28c03 in Object.wait()? [0x000070000daf0000]
?? java.lang.Thread.State: WAITING (on object monitor)
?? ?at java.lang.Object.wait([email protected]/Native Method)
?? ?- waiting on <no object reference available>
?? ?at java.lang.Object.wait([email protected]/Object.java:321)
?? ?at com.sun.media.sound.EventDispatcher.dispatchEvents([email protected]/EventDispatcher.java:173)
?? ?- locked <0x000000060cee56e0> (a com.sun.media.sound.EventDispatcher)
?? ?at com.sun.media.sound.EventDispatcher.run([email protected]/EventDispatcher.java:212)
?? ?at java.lang.Thread.run([email protected]/Thread.java:832)

"Attach Listener" #59 daemon prio=9 os_prio=31 cpu=0.39ms elapsed=0.10s tid=0x00007fa594012c00 nid=0x18f07 waiting on condition? [0x0000000000000000]
?? java.lang.Thread.State: RUNNABLE

"VM Thread" os_prio=31 cpu=37.61ms elapsed=128.59s tid=0x00007fa62283e8f0 nid=0x3803 runnable

"GC Thread#0" os_prio=31 cpu=198.59ms elapsed=128.59s tid=0x00007fa622812080 nid=0x4c03 runnable

"GC Thread#1" os_prio=31 cpu=198.94ms elapsed=127.20s tid=0x00007fa5b150e510 nid=0x1717b runnable

"GC Thread#2" os_prio=31 cpu=198.83ms elapsed=127.20s tid=0x00007fa5b150ef70 nid=0x17303 runnable

"GC Thread#3" os_prio=31 cpu=197.77ms elapsed=127.20s tid=0x00007fa5b2149770 nid=0x17503 runnable

"GC Thread#4" os_prio=31 cpu=198.15ms elapsed=127.20s tid=0x00007fa5b214a390 nid=0x1e403 runnable

"GC Thread#5" os_prio=31 cpu=198.04ms elapsed=127.20s tid=0x00007fa5b150fbd0 nid=0x17703 runnable

"GC Thread#6" os_prio=31 cpu=200.24ms elapsed=127.20s tid=0x00007fa5b15107d0 nid=0x17903 runnable

"GC Thread#7" os_prio=31 cpu=201.01ms elapsed=127.20s tid=0x00007fa5b15113f0 nid=0x17a03 runnable

"GC Thread#8" os_prio=31 cpu=197.56ms elapsed=127.20s tid=0x00007fa5b1512010 nid=0x17c03 runnable

"GC Thread#9" os_prio=31 cpu=200.16ms elapsed=127.20s tid=0x00007fa5b1513020 nid=0x17d03 runnable

"G1 Main Marker" os_prio=31 cpu=2.73ms elapsed=128.59s tid=0x00007fa622813230 nid=0x3003 runnable

"G1 Conc#0" os_prio=31 cpu=306.12ms elapsed=128.59s tid=0x00007fa622814310 nid=0x3303 runnable

"G1 Conc#1" os_prio=31 cpu=307.95ms elapsed=126.17s tid=0x00007fa5b15da6b0 nid=0x18c0b runnable

"G1 Conc#2" os_prio=31 cpu=307.12ms elapsed=126.17s tid=0x00007fa5b2361e90 nid=0x1cc13 runnable

"G1 Refine#0" os_prio=31 cpu=2.41ms elapsed=128.59s tid=0x00007fa622831810 nid=0x3503 runnable

"G1 Refine#1" os_prio=31 cpu=1.27ms elapsed=106.01s tid=0x00007fa5e1513690 nid=0x14907 runnable

"G1 Refine#2" os_prio=31 cpu=1.41ms elapsed=106.01s tid=0x00007fa592dda460 nid=0x1897f runnable

"G1 Refine#3" os_prio=31 cpu=1.08ms elapsed=106.01s tid=0x00007fa5933d8fa0 nid=0x28303 runnable

"G1 Refine#4" os_prio=31 cpu=1.21ms elapsed=106.01s tid=0x00007fa5932cf6e0 nid=0x21e03 runnable

"G1 Refine#5" os_prio=31 cpu=0.83ms elapsed=106.01s tid=0x00007fa592ddabc0 nid=0x22003 runnable

"G1 Refine#6" os_prio=31 cpu=0.39ms elapsed=106.01s tid=0x00007fa5933d9b00 nid=0x22203 runnable

"G1 Refine#7" os_prio=31 cpu=0.61ms elapsed=106.01s tid=0x00007fa5e2015480 nid=0x22303 runnable

"G1 Refine#8" os_prio=31 cpu=0.03ms elapsed=106.01s tid=0x00007fa5e2015e80 nid=0x22503 runnable

"G1 Young RemSet Sampling" os_prio=31 cpu=12.27ms elapsed=128.59s tid=0x00007fa622832890 nid=0x4803 runnable

"VM Periodic Task Thread" os_prio=31 cpu=54.62ms elapsed=128.57s tid=0x00007fa621734a80 nid=0x9b03 waiting on condition

JNI global refs: 1074, weak refs: 258


Re: URGENT: new build#163 of YAAC, created 2020-Dec-29

 

Hmmm.... interesting. I hope something didn't get broken from the build#163 fixes.

Alas, I'm not familiar enough with Mac OS X to be sure how to do this. But here's what I'd like you to try to do:

1. Run YAAC from a Terminal window, so you can see all the error messages as they come out.

2. Repeat what you did to hang the UI.

3. Find the process ID of the Java process running YAAC. Note that there should be two of them, one a subprocess of the other, because YAAC has to be started with certain command-line options in order to interact with the Mac desktop correctly, so the normal invocation of YAAC causes a subprocess to be run to add the extra command-line options.

4. For the subprocess, issue a 'jstack' command on its PID. This should cause the Java runtime to print out the stack traces of all the running threads. Note that you might not have the jstack command unless you have installed the full Java Development Kit (JDK), not just the Java Runtime Environment (JRE), so if it doesn't work, install the JDK from the same place where you got the JRE.

5. Send me the output from the jstack command.

Thanks.

Andrew, KA2DDO
author of YAAC

________________________________________
From: [email protected] <[email protected]> on behalf of Matthew Wishek <matthew@...>
Sent: Wednesday, December 30, 2020 9:20 AM
To: [email protected]
Subject: Re: [yaac-users] URGENT: new build#163 of YAAC, created 2020-Dec-29

Andrew, thank you for a very fine APRS client.

I upgraded from build#161 to build#163 yesterday, and the application now hangs when trying to add a port in the 'Expert Configuration'.

I am running on macOS Catalina. The following messages appear when try to add a port:

Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: starting to create
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'General' with class org.ka2ddo.yaac.gui.config.ConfigureGeneral
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Transmit' with class org.ka2ddo.yaac.gui.config.ConfigureTransmit
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Digipeat' with class org.ka2ddo.yaac.gui.config.ConfigureDigipeat
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Ports' with class org.ka2ddo.yaac.gui.config.ConfigurePorts
Wed Dec 30 06:15:56 PST 2020: opening PortTableModel with 3 existing records
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Beacon' with class org.ka2ddo.yaac.gui.config.ConfigureBeacon
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Status' with class org.ka2ddo.yaac.gui.config.ConfigureStatus
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Preferences' with class org.ka2ddo.yaac.gui.config.ConfigurePreferences
Wed Dec 30 06:15:56 PST 2020: generateFontList(): load complete system font set
Wed Dec 30 06:15:56 PST 2020: generateFontList(): check locale coverage of fonts
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Behavior' with class org.ka2ddo.yaac.gui.config.ConfigureBehavior
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'MADIS POST' with class org.ka2ddo.yaac.madispost.gui.ConfigureMadisPost
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Weather Alert' with class org.ka2ddo.yaac.weatheralert.gui.ConfigureWeatherAlert
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Email' with class org.ka2ddo.yaac.telemetryalarm.gui.ConfigureEmail
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Sounds' with class org.ka2ddo.yaac.sounds.gui.ConfigureSound
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Repeater Finder' with class org.ka2ddo.yaac.repeaterfinder.gui.ConfigureRepeaterFinder
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'AREDN' with class org.ka2ddo.yaac.arednobjects.gui.ConfigureAREDN
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: showing dialog
Wed Dec 30 06:15:57 PST 2020: generateFontList(): finished checking font coverage (751m14/751), avg time/font=1 msec
Wed Dec 30 06:15:58 PST 2020: ConfigurePreferences: font lists loaded
1609337766915: PortEditor: starting to create editor
1609337766915: PortEditor: starting to create per-driver cards
1609337766917: PortEditor: loading editor class for Serial_TNC
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See for further details.
1609337766917: PortEditor: creating card for Serial_TNC

There is a ~30 second delay between the last two lines of the above log.

APRS messages continue to be processed, as "invalid message format" logs continue to appear, but the GUI is hung.

Please let me know if you need any additional information.

Matthew
NB0X


Re: URGENT: new build#163 of YAAC, created 2020-Dec-29

 

Andrew, thank you for a very fine APRS client.

I upgraded from build#161 to build#163 yesterday, and the application now hangs when trying to add a port in the 'Expert Configuration'.

I am running on macOS Catalina. The following messages appear when try to add a port:

Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: starting to create
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'General' with class org.ka2ddo.yaac.gui.config.ConfigureGeneral
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Transmit' with class org.ka2ddo.yaac.gui.config.ConfigureTransmit
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Digipeat' with class org.ka2ddo.yaac.gui.config.ConfigureDigipeat
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Ports' with class org.ka2ddo.yaac.gui.config.ConfigurePorts
Wed Dec 30 06:15:56 PST 2020: opening PortTableModel with 3 existing records
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Beacon' with class org.ka2ddo.yaac.gui.config.ConfigureBeacon
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Status' with class org.ka2ddo.yaac.gui.config.ConfigureStatus
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Preferences' with class org.ka2ddo.yaac.gui.config.ConfigurePreferences
Wed Dec 30 06:15:56 PST 2020: generateFontList(): load complete system font set
Wed Dec 30 06:15:56 PST 2020: generateFontList(): check locale coverage of fonts
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Behavior' with class org.ka2ddo.yaac.gui.config.ConfigureBehavior
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'MADIS POST' with class org.ka2ddo.yaac.madispost.gui.ConfigureMadisPost
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Weather Alert' with class org.ka2ddo.yaac.weatheralert.gui.ConfigureWeatherAlert
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Email' with class org.ka2ddo.yaac.telemetryalarm.gui.ConfigureEmail
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Sounds' with class org.ka2ddo.yaac.sounds.gui.ConfigureSound
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'Repeater Finder' with class org.ka2ddo.yaac.repeaterfinder.gui.ConfigureRepeaterFinder
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: adding tab 'AREDN' with class org.ka2ddo.yaac.arednobjects.gui.ConfigureAREDN
Wed Dec 30 06:15:56 PST 2020: ConfigureDialog: showing dialog
Wed Dec 30 06:15:57 PST 2020: generateFontList(): finished checking font coverage (751m14/751), avg time/font=1 msec
Wed Dec 30 06:15:58 PST 2020: ConfigurePreferences: font lists loaded
1609337766915: PortEditor: starting to create editor
1609337766915: PortEditor: starting to create per-driver cards
1609337766917: PortEditor: loading editor class for Serial_TNC
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
1609337766917: PortEditor: creating card for Serial_TNC

There is a ~30 second delay between the last two lines of the above log.

APRS messages continue to be processed, as "invalid message format" logs continue to appear, but the GUI is hung.

Please let me know if you need any additional information.

Matthew
NB0X


Re: next beta build#162 of YAAC, created 2020-Dec-28

 

Exactly the same issue on my Raspberry pi installation.
Simon 2E0CRV


Re: next beta build#162 of YAAC, created 2020-Dec-28

 

Same problem for me on my Raspberry Pi installation.
Simon 2E0CRV




On Tuesday, 29 December 2020, 09:05:29 GMT, Franco Spinelli <frspin@...> wrote:


YAAC don't start after this update on my Ubuntu 20.04/64 bit.

This is error messages on console:

os.name=Linux
os.version=5.4.0-58-generic
os.arch=amd64
java.version=11.0.9.1
java.class.version=55.0
JVM: Ubuntu OpenJDK 64-Bit Server VM 11.0.9.1+1-Ubuntu-0ubuntu1.20.04
java.class.path=YAAC.jar
Tue Dec 29 09:59:47 CET 2020: starting YAAC....
Tue Dec 29 09:59:48 CET 2020: YAAC initializing on Linux 5.4.0-58-generic with Java 11.0.9.1
Tue Dec 29 09:59:48 CET 2020: YAAC raising splash screen....
Tue Dec 29 09:59:48 CET 2020: load cached preferences....
Tue Dec 29 09:59:48 CET 2020: load beacon definitions....
Tue Dec 29 09:59:48 CET 2020: load status definition....
Tue Dec 29 09:59:48 CET 2020: set up raw packet data model....
Tue Dec 29 09:59:48 CET 2020: YAAC finding installation directory....
Tue Dec 29 09:59:48 CET 2020: YAAC checking if upgrader needs moving....
JSSC found at /mnt/Prog/GIS/YAAC/lib/jssc.jar
Tue Dec 29 09:59:48 CET 2020: YAAC loading CoreProvider....
loading plugin --core-- name YAAC version 1.0-beta162(28-Dec-2020)
java.lang.reflect.InvocationTargetException
?? ?at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
?? ?at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
?? ?at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
?? ?at java.base/java.lang.reflect.Method.invoke(Method.java:566)
?? ?at org.ka2ddo.yaac.bootstrap.YAACBootstrap.main(YAACBootstrap.java:164)
Caused by: java.lang.NoClassDefFoundError: jssc/SerialPortEventListener
?? ?at java.base/java.lang.ClassLoader.defineClass1(Native Method)
?? ?at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
?? ?at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
?? ?at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
?? ?at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
?? ?at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
?? ?at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
?? ?at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
?? ?at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
?? ?at org.ka2ddo.yaac.core.provider.CoreProvider.getPortConnectorTypes(CoreProvider.java:141)
?? ?at org.ka2ddo.yaac.YAAC.loadProvidedServices(YAAC.java:1491)
?? ?at org.ka2ddo.yaac.YAAC.main(YAAC.java:560)
?? ?... 5 more
Caused by: java.lang.ClassNotFoundException: jssc.SerialPortEventListener
?? ?at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
?? ?at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)

Regards

Franco Spinelli
IW2DHW


Re: URGENT: new build#163 of YAAC, created 2020-Dec-29

 

YAACMain.jar is how I had to split the YAAC code in half so I could get the dynamically located JSSC library to be recognized. The problem in build#162 was a security rule in the Java runtime that I was violating. Any code that references the JSSC library had to be loaded into the JVM at either the same time or after the JSSC library was loaded, or it couldn't see the JSSC code. That prevents attackers from slipping in an infected library that overrides Java runtime library code. In build#162, I was attaching the JSSC library _after_ the core YAAC code was started running, so therefore YAAC couldn't see any of the code in the JSSC library. So I split YAAC into two pieces:

1. YAAC.jar (same name, so users wouldn't get confused or broken) which now only contains the startup code that deals with some Mac OS X weirdness and locates and loads the JSSC library before starting the rest of YAAC.

2. YAACMain.jar, which contains the rest of the code of core YAAC and is now loaded _after_ the JSSC library, so the security rule isn't violated when core YAAC tries to call JSSC.

Note that all of the other 3rd party libraries (OpenMap, JavaHelp, Apache compress, etc.) are loaded at the same time as YAAC.jar, so they too are loaded before the code in YAACMain.jar is loaded. Back when YAAC was one jar file, those 3rd party libraries were loaded at the same time too, so they were accessible from code in YAAC.jar.

I had to play similar (but not the same) games with the RXTX library in order to locate their native libraries dynamically instead of requiring the user to manually specify a command-line option to identify the correct platform-specific native machine code library.

For those who want to see how I do it, look in the source code distribution for the source file YAACBootstrap.java, which is the startup code that runs before the main YAAC.java code.

Andrew, KA2DDO
author of YAAC
________________________________________
From: [email protected] <[email protected]> on behalf of Ronny Julian
Sent: Wednesday, December 30, 2020 12:50 AM
Subject: Re: [yaac-users] URGENT: new build#163 of YAAC, created 2020-Dec-29

Working Great again! Pardon the dumb question if I missed it. What is YAAC MAIN?


Re: URGENT: new build#163 of YAAC, created 2020-Dec-29

 
Edited

I found it.? ? The web server is operating on port 8008.?

More info is at?


Re: URGENT: new build#163 of YAAC, created 2020-Dec-29

 

I've installed 163 and have set up the AREDN plugin. It immediately worked flawlessly.

The release notes say:? "Such a map can be exported back to the mesh by making the YAAC mini-webserver a service on the mesh."

I'm unable to find the documentation on the YAAC mini-webserver. Can you point me in the right direction?

Thanks again for all your hard work. You make it easy to brag about YAAC.


Re: URGENT: new build#163 of YAAC, created 2020-Dec-29

 

Working Great again!? Pardon the dumb question if I missed it.? What is YAAC?MAIN?

On Tue, Dec 29, 2020 at 8:30 PM Pascal Charette <ve2pcq@...> wrote:
Yeah! So many thanks. It works again ?

ve2pcq?

Le mar. 29 d¨¦c. 2020 ¨¤ 20:04, Andrew P. <andrewemt@...> a ¨¦crit?:
next beta build#163 of YAAC ("Yet Another APRS Client"), created 2020-Dec-29

downloadable from
? ? ? ? ? ? ? ?or

IF you have already made the unfortunate mistake of installing the defective
build#162, manually download the YAAC.zip distribution from one of the above
sources and unzip it over your existing installation (telling unzip to
overwrite all pre-existing files).

CRITICAL changes and updates include:
1. fixed startup sequence and distro structure to work both in development
? ? and production environments when searching for a dynamically selectable
? ? version of the JSSC library.
2. update the cleaner to remove an obsolete version of JSSC from having
? ? formerly installed YAAC build#156.





Re: YAAC on a Pi0

 

Hello Andrew,

Looks like YAAC was getting the JSSC from the YAAC directory after all.
(JSSC found at /home/pi/YAAC/YAAC/lib/jssc-2.9.2.jar)


I installed the package "sudo apt install libjssc-java". Restarted YAAC and saw it was now getting the JSSC from the system.?
(JSSC found at /usr/share/java/jssc-2.8.0.jar)

I tested the port configuration and it now opened. I also added a Serial_TNC and it worked (I don't have a serial_TNC) so it gave me a handled error as expected.?





Re: YAAC on a Pi0

 

¿ªÔÆÌåÓý

I was unable to configure those. It fails on old? jssc error.

I think i have the libjssc-java installed.

Get


From: [email protected] <[email protected]> on behalf of Andrew P. <andrewemt@...>
Sent: Tuesday, December 29, 2020 7:04:35 PM
To: [email protected] <[email protected]>
Subject: Re: [yaac-users] YAAC on a Pi0
?
Dave,

Are you able to configure serial port devices (Serial_TNC, Serial_Weather, etc.) on your Pi Zero? Do you have the package libjssc-java installed on your Pi?

Andrew, KA2DDO
author of YAAC
________________________________________
From: [email protected] <[email protected]> on behalf of DaveK <djkrab@...>
Sent: Tuesday, December 29, 2020 9:18 PM
To: [email protected]
Subject: Re: [yaac-users] YAAC on a Pi0

It seems to be working now on my Pi0 in the latest build 163.



Still haven¡¯t figured out how to get it to start on boot automatically.


Many thanks to Andrew.

From: daniel boggiano via groups.io<mailto:dboggny@...>
Sent: Tuesday, December 29, 2020 7:31 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [yaac-users] YAAC on a Pi0

Where would I begin?








Re: YAAC on a Pi0

 

Dave,

Are you able to configure serial port devices (Serial_TNC, Serial_Weather, etc.) on your Pi Zero? Do you have the package libjssc-java installed on your Pi?

Andrew, KA2DDO
author of YAAC
________________________________________
From: [email protected] <[email protected]> on behalf of DaveK <djkrab@...>
Sent: Tuesday, December 29, 2020 9:18 PM
To: [email protected]
Subject: Re: [yaac-users] YAAC on a Pi0

It seems to be working now on my Pi0 in the latest build 163.



Still haven¡¯t figured out how to get it to start on boot automatically.


Many thanks to Andrew.

From: daniel boggiano via groups.io<mailto:dboggny@...>
Sent: Tuesday, December 29, 2020 7:31 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [yaac-users] YAAC on a Pi0

Where would I begin?


Re: YAAC on a Pi0

 

¿ªÔÆÌåÓý

It seems to be working now on my Pi0 in the latest build 163.

?

?

?

Still haven¡¯t figured out how to get it to start on boot automatically.

?

?

Many thanks to Andrew.

?

From: daniel boggiano via groups.io
Sent: Tuesday, December 29, 2020 7:31 AM
To: [email protected]
Subject: Re: [yaac-users] YAAC on a Pi0

?

Where would I begin?

?


Re: URGENT: new build#163 of YAAC, created 2020-Dec-29

 

Yeah! So many thanks. It works again ?

ve2pcq?

Le mar. 29 d¨¦c. 2020 ¨¤ 20:04, Andrew P. <andrewemt@...> a ¨¦crit?:
next beta build#163 of YAAC ("Yet Another APRS Client"), created 2020-Dec-29

downloadable from
? ? ? ? ? ? ? ?or

IF you have already made the unfortunate mistake of installing the defective
build#162, manually download the YAAC.zip distribution from one of the above
sources and unzip it over your existing installation (telling unzip to
overwrite all pre-existing files).

CRITICAL changes and updates include:
1. fixed startup sequence and distro structure to work both in development
? ? and production environments when searching for a dynamically selectable
? ? version of the JSSC library.
2. update the cleaner to remove an obsolete version of JSSC from having
? ? formerly installed YAAC build#156.





URGENT: new build#163 of YAAC, created 2020-Dec-29

 

next beta build#163 of YAAC ("Yet Another APRS Client"), created 2020-Dec-29

downloadable from
or

IF you have already made the unfortunate mistake of installing the defective
build#162, manually download the YAAC.zip distribution from one of the above
sources and unzip it over your existing installation (telling unzip to
overwrite all pre-existing files).

CRITICAL changes and updates include:
1. fixed startup sequence and distro structure to work both in development
and production environments when searching for a dynamically selectable
version of the JSSC library.
2. update the cleaner to remove an obsolete version of JSSC from having
formerly installed YAAC build#156.


Re: next beta build#162 of YAAC, created 2020-Dec-28

 

¿ªÔÆÌåÓý

I did find the file and deleted it. Same results as before. Hangs on the splash page.

Tom KG2U

On Dec 29, 2020, at 1:34 PM, Andrew P. <andrewemt@...> wrote:

OK, your feature looks like it's because you have an obsolete version of the jssc.jar file left over in your YAAC installation due to a previous version not being deleted by an upgrade. Please delete YAAC/lib/jssc.jar from your system (leaving YAAC/lib/jssc-2.9.2.jar there), and let me know if you can start up after doing so.

Andrew, KA2DDO
author of YAAC
________________________________________
From:?[email protected]?<[email protected]> on behalf of Franco Spinelli
Sent: Tuesday, December 29, 2020 4:05 AM
Subject: Re: [yaac-users] next beta build#162 of YAAC, created 2020-Dec-28

YAAC don't start after this update on my Ubuntu 20.04/64 bit.

This is error messages on console:

os.name=Linux
os.version=5.4.0-58-generic
os.arch=amd64
java.version=11.0.9.1
java.class.version=55.0
JVM: Ubuntu OpenJDK 64-Bit Server VM 11.0.9.1+1-Ubuntu-0ubuntu1.20.04
java.class.path=YAAC.jar
Tue Dec 29 09:59:47 CET 2020: starting YAAC....
Tue Dec 29 09:59:48 CET 2020: YAAC initializing on Linux 5.4.0-58-generic with Java 11.0.9.1
Tue Dec 29 09:59:48 CET 2020: YAAC raising splash screen....
Tue Dec 29 09:59:48 CET 2020: load cached preferences....
Tue Dec 29 09:59:48 CET 2020: load beacon definitions....
Tue Dec 29 09:59:48 CET 2020: load status definition....
Tue Dec 29 09:59:48 CET 2020: set up raw packet data model....
Tue Dec 29 09:59:48 CET 2020: YAAC finding installation directory....
Tue Dec 29 09:59:48 CET 2020: YAAC checking if upgrader needs moving....
JSSC found at /mnt/Prog/GIS/YAAC/lib/jssc.jar
Tue Dec 29 09:59:48 CET 2020: YAAC loading CoreProvider....
loading plugin --core-- name YAAC version 1.0-beta162(28-Dec-2020)
java.lang.reflect.InvocationTargetException
???at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
???at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
???at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
???at java.base/java.lang.reflect.Method.invoke(Method.java:566)
???at org.ka2ddo.yaac.bootstrap.YAACBootstrap.main(YAACBootstrap.java:164)
Caused by: java.lang.NoClassDefFoundError: jssc/SerialPortEventListener
???at java.base/java.lang.ClassLoader.defineClass1(Native Method)
???at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
???at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
???at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
???at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
???at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
???at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
???at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
???at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
???at org.ka2ddo.yaac.core.provider.CoreProvider.getPortConnectorTypes(CoreProvider.java:141)
???at org.ka2ddo.yaac.YAAC.loadProvidedServices(YAAC.java:1491)
???at org.ka2ddo.yaac.YAAC.main(YAAC.java:560)
???... 5 more
Caused by: java.lang.ClassNotFoundException: jssc.SerialPortEventListener
???at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
???at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)

Regards

Franco Spinelli
IW2DHW




Re: next beta build#162 of YAAC, created 2020-Dec-28

 

The file was not in that directory or anywhere else on the drive.

On Tue, Dec 29, 2020 at 1:34 PM Andrew P. <andrewemt@...> wrote:
OK, your feature looks like it's because you have an obsolete version of the jssc.jar file left over in your YAAC installation due to a previous version not being deleted by an upgrade. Please delete YAAC/lib/jssc.jar from your system (leaving YAAC/lib/jssc-2.9.2.jar there), and let me know if you can start up after doing so.

Andrew, KA2DDO
author of YAAC
________________________________________
From: [email protected] <[email protected]> on behalf of Franco Spinelli
Sent: Tuesday, December 29, 2020 4:05 AM
Subject: Re: [yaac-users] next beta build#162 of YAAC, created 2020-Dec-28

YAAC don't start after this update on my Ubuntu 20.04/64 bit.

This is error messages on console:

=Linux
os.version=5.4.0-58-generic
os.arch=amd64
java.version=11.0.9.1
java.class.version=55.0
JVM: Ubuntu OpenJDK 64-Bit Server VM 11.0.9.1+1-Ubuntu-0ubuntu1.20.04
java.class.path=YAAC.jar
Tue Dec 29 09:59:47 CET 2020: starting YAAC....
Tue Dec 29 09:59:48 CET 2020: YAAC initializing on Linux 5.4.0-58-generic with Java 11.0.9.1
Tue Dec 29 09:59:48 CET 2020: YAAC raising splash screen....
Tue Dec 29 09:59:48 CET 2020: load cached preferences....
Tue Dec 29 09:59:48 CET 2020: load beacon definitions....
Tue Dec 29 09:59:48 CET 2020: load status definition....
Tue Dec 29 09:59:48 CET 2020: set up raw packet data model....
Tue Dec 29 09:59:48 CET 2020: YAAC finding installation directory....
Tue Dec 29 09:59:48 CET 2020: YAAC checking if upgrader needs moving....
JSSC found at /mnt/Prog/GIS/YAAC/lib/jssc.jar
Tue Dec 29 09:59:48 CET 2020: YAAC loading CoreProvider....
loading plugin --core-- name YAAC version 1.0-beta162(28-Dec-2020)
java.lang.reflect.InvocationTargetException
? ? at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
? ? at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
? ? at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
? ? at java.base/java.lang.reflect.Method.invoke(Method.java:566)
? ? at org.ka2ddo.yaac.bootstrap.YAACBootstrap.main(YAACBootstrap.java:164)
Caused by: java.lang.NoClassDefFoundError: jssc/SerialPortEventListener
? ? at java.base/java.lang.ClassLoader.defineClass1(Native Method)
? ? at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
? ? at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
? ? at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
? ? at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
? ? at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
? ? at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
? ? at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
? ? at org.ka2ddo.yaac.core.provider.CoreProvider.getPortConnectorTypes(CoreProvider.java:141)
? ? at org.ka2ddo.yaac.YAAC.loadProvidedServices(YAAC.java:1491)
? ? at org.ka2ddo.yaac.YAAC.main(YAAC.java:560)
? ? ... 5 more
Caused by: java.lang.ClassNotFoundException: jssc.SerialPortEventListener
? ? at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
? ? at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)

Regards

Franco Spinelli
IW2DHW






Re: Fixing the breakage in build#162

 

Correction: I will have build#163 out ASAP.

________________________________________
From: Andrew P.
Sent: Tuesday, December 29, 2020 2:17 PM
To: [email protected]
Subject: Fixing the breakage in build#162

I apologize for the mess. Somehow, the code to handle conditional JSSC selection worked for me in development, but not in production. I can replicate the issue, and am currently trying to fix it.

Anyone who hasn't upgraded to build#162, DON'T!!!! I will have build#162 out as soon as possible.

Andrew, KA2DDO
author of YAAC