Describe the bug
After upgrading to latest version (3.9.0 > 3.9.1), settings have reset to default and all of my comments are lost. This happened to me with the previous update as well (3.8.2 > 3.9.0). With the previous update, if I ran the program with Admin rights then my comments would show. Now they won't show at all whether I run with admin rights or not.
To Reproduce
Steps to reproduce the behavior:
Update to new version
all settings and comments are lost
Expected behavior
Settings and comments are retained through updates.
Versions (please copy from the About dialog or complete manually):
Version of Angry IP Scanner: 3.9.1
OS, version, CPU architecture: Win 10 Pro 22H2 64bit; AMD Ryzen 7 3800XT
Java version, vendor (java -version) - or if Windows installer was used with bundled Java:
openjdk version "17.0.1" 2021-10-19 LTS
OpenJDK Runtime Environment (build 17.0.1+12-LTS)
OpenJDK 64-Bit Server VM (build 17.0.1+12-LTS, mixed mode, sharing)
Logs:
Please run Angry IP Scanner from Terminal and see if any relevant logs were written. Paste them here:
Windows: jre\bin\java -jar ipscan.exe (inside of installation directory, e.g. C:\Program Files\Angry IP Scanner)
Mac: Angry\ IP\ Scanner.app/Contents/MacOS/ipscan
Linux: ipscan or java -jar ipscan.jar
C:\Program Files\Angry IP Scanner>jre\bin\java -jar ipscan.exe
Feb 14, 2024 1:35:05 PM net.azib.ipscan.fetchers.HostnameFetcher <clinit>
WARNING: Could not get InetAddressImpl
java.lang.reflect.InaccessibleObjectException: Unable to make field static final java.net.InetAddressImpl java.net.InetAddress.impl accessible: module java.base does not "opens java.net" to unnamed module @3632be31
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown Source)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown Source)
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Unknown Source)
at java.base/java.lang.reflect.Field.setAccessible(Unknown Source)
at net.azib.ipscan.fetchers.HostnameFetcher.<clinit>(HostnameFetcher.java:37)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
at net.azib.ipscan.di.Injector.createInstance(Injector.java:41)
at net.azib.ipscan.di.Injector.require(Injector.java:24)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
at net.azib.ipscan.di.Injector.register(Injector.java:29)
at net.azib.ipscan.config.ComponentRegistry.register(ComponentRegistry.java:20)
at net.azib.ipscan.config.ComponentRegistry.init(ComponentRegistry.java:35)
at net.azib.ipscan.config.ComponentRegistry.init(ComponentRegistry.java:29)
at net.azib.ipscan.Main.main(Main.java:57)
Describe the bug After upgrading to latest version (3.9.0 > 3.9.1), settings have reset to default and all of my comments are lost. This happened to me with the previous update as well (3.8.2 > 3.9.0). With the previous update, if I ran the program with Admin rights then my comments would show. Now they won't show at all whether I run with admin rights or not.
To Reproduce Steps to reproduce the behavior:
Expected behavior Settings and comments are retained through updates.
Versions (please copy from the About dialog or complete manually):
java -version
) - or if Windows installer was used with bundled Java:Logs:
jre\bin\java -jar ipscan.exe
(inside of installation directory, e.g. C:\Program Files\Angry IP Scanner)Angry\ IP\ Scanner.app/Contents/MacOS/ipscan
ipscan
orjava -jar ipscan.jar