¿ªÔÆÌåÓý

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

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


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


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

 

I don¡¯t find the YAAC/lib/jssc.jar

ve2pcq?

Le mar. 29 d¨¦c. 2020 ¨¤ 13:34, Andrew P. <andrewemt@...> a ¨¦crit?:
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: next beta build#162 of YAAC, created 2020-Dec-28

 

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

 

Andrew what can I send you to help?

On Tue, Dec 29, 2020 at 11:29 AM Ronny Julian <k4rjjradio@...> wrote:
Hangs on Splash screen upon reboot after upgrade.? Windows 10 64 bit Latest?build.

K4RJJ

On Tue, Dec 29, 2020 at 9:27 AM Carl Makin <carl@...> wrote:


> On 30 Dec 2020, at 1:13 am, Pascal Charette <ve2pcq@...> wrote:
> JSSC found at /home/ve2pcq/YAAC/lib/jssc-2.9.2.jar
> Tue Dec 29 09:10:54 EST 2020: YAAC loading CoreProvider....
> loading plugin --core-- name YAAC version 1.0-beta162(28-Dec-2020)
> java.lang.reflect.InvocationTargetException

Similar here.

Mac-Pro:yaac carl$ java -jar YAAC.jar
=Mac OS X
os.version=10.14.6
os.arch=x86_64
java.version=15.0.1
java.class.version=59.0
JVM: AdoptOpenJDK OpenJDK 64-Bit Server VM 15.0.1+9
java.class.path=YAAC.jar
launching subprocess to run YAAC...
Wed Dec 30 00:23:26 AEDT 2020: starting YAAC....
Wed Dec 30 00:23:27 AEDT 2020: YAAC initializing on Mac OS X 10.14.6 with Java 15.0.1
Wed Dec 30 00:23:27 AEDT 2020: YAAC raising splash screen....
Wed Dec 30 00:23:28 AEDT 2020: load cached preferences....
Wed Dec 30 00:23:28 AEDT 2020: load beacon definitions....
Wed Dec 30 00:23:28 AEDT 2020: load status definition....
Wed Dec 30 00:23:28 AEDT 2020: set up raw packet data model....
Wed Dec 30 00:23:28 AEDT 2020: YAAC finding installation directory....
Wed Dec 30 00:23:28 AEDT 2020: YAAC checking if upgrader needs moving....
JSSC found at /Users/carl/yaac/lib/jssc-2.9.2.jar
Wed Dec 30 00:23:28 AEDT 2020: YAAC loading CoreProvider....
Wed Dec 30 00:23:28 AEDT 2020: creating SymAttr objects for 1.0.1...
Wed Dec 30 00:23:28 AEDT 2020: filling in text for 1.0.1 symbols...
Wed Dec 30 00:23:28 AEDT 2020: filling in text for extended symbols...
Exception in thread "main" java.lang.NoClassDefFoundError: jssc/SerialPortEventListener
? ? ? ? at java.base/java.lang.ClassLoader.defineClass1(Native Method)
? ? ? ? at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
? ? ? ? at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
? ? ? ? at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:825)
? ? ? ? at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:723)
? ? ? ? at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:646)
? ? ? ? at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:604)
? ? ? ? at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
? ? ? ? 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)
Caused by: java.lang.ClassNotFoundException: jssc.SerialPortEventListener
? ? ? ? at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
? ? ? ? at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
? ? ? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
? ? ? ? ... 12 more


Carl.








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

 

Hangs on Splash screen upon reboot after upgrade.? Windows 10 64 bit Latest?build.

K4RJJ

On Tue, Dec 29, 2020 at 9:27 AM Carl Makin <carl@...> wrote:


> On 30 Dec 2020, at 1:13 am, Pascal Charette <ve2pcq@...> wrote:
> JSSC found at /home/ve2pcq/YAAC/lib/jssc-2.9.2.jar
> Tue Dec 29 09:10:54 EST 2020: YAAC loading CoreProvider....
> loading plugin --core-- name YAAC version 1.0-beta162(28-Dec-2020)
> java.lang.reflect.InvocationTargetException

Similar here.

Mac-Pro:yaac carl$ java -jar YAAC.jar
=Mac OS X
os.version=10.14.6
os.arch=x86_64
java.version=15.0.1
java.class.version=59.0
JVM: AdoptOpenJDK OpenJDK 64-Bit Server VM 15.0.1+9
java.class.path=YAAC.jar
launching subprocess to run YAAC...
Wed Dec 30 00:23:26 AEDT 2020: starting YAAC....
Wed Dec 30 00:23:27 AEDT 2020: YAAC initializing on Mac OS X 10.14.6 with Java 15.0.1
Wed Dec 30 00:23:27 AEDT 2020: YAAC raising splash screen....
Wed Dec 30 00:23:28 AEDT 2020: load cached preferences....
Wed Dec 30 00:23:28 AEDT 2020: load beacon definitions....
Wed Dec 30 00:23:28 AEDT 2020: load status definition....
Wed Dec 30 00:23:28 AEDT 2020: set up raw packet data model....
Wed Dec 30 00:23:28 AEDT 2020: YAAC finding installation directory....
Wed Dec 30 00:23:28 AEDT 2020: YAAC checking if upgrader needs moving....
JSSC found at /Users/carl/yaac/lib/jssc-2.9.2.jar
Wed Dec 30 00:23:28 AEDT 2020: YAAC loading CoreProvider....
Wed Dec 30 00:23:28 AEDT 2020: creating SymAttr objects for 1.0.1...
Wed Dec 30 00:23:28 AEDT 2020: filling in text for 1.0.1 symbols...
Wed Dec 30 00:23:28 AEDT 2020: filling in text for extended symbols...
Exception in thread "main" java.lang.NoClassDefFoundError: jssc/SerialPortEventListener
? ? ? ? at java.base/java.lang.ClassLoader.defineClass1(Native Method)
? ? ? ? at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
? ? ? ? at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
? ? ? ? at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:825)
? ? ? ? at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:723)
? ? ? ? at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:646)
? ? ? ? at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:604)
? ? ? ? at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
? ? ? ? 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)
Caused by: java.lang.ClassNotFoundException: jssc.SerialPortEventListener
? ? ? ? at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
? ? ? ? at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
? ? ? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
? ? ? ? ... 12 more


Carl.