Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to Terminate all Threads #457

Open
tgaguy opened this issue Aug 28, 2024 · 0 comments
Open

Fails to Terminate all Threads #457

tgaguy opened this issue Aug 28, 2024 · 0 comments

Comments

@tgaguy
Copy link

tgaguy commented Aug 28, 2024

Describe the bug
A clear and concise description of what the bug is.
when scanning a range of ip's. ie 10.2.30.0 - 10.2.30.255. shows all threads then counts down as they terminate but fail to continue and sticks as 46 remaining. Only stopping manually produces results. Scan will wait infinitely for threads to terminate. Consistent network activity during this 46 threads remaining time. Network activity reduces significantly when manually stopped. Connected via Lan cable. Not connected to wifi.

Watching the ethernat status

To Reproduce
Steps to reproduce the behavior: Run a scan

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
All treads to terminate and produce results

Screenshots
If applicable, add screenshots to help explain your problem.
2024-08-29 (3)
2024-08-29 (2)
2024-08-29 (7)
2024-08-29 (6)
2024-08-29 (5)

Versions (please copy from the About dialog or complete manually):

  • Version of Angry IP Scanner
  • OS, version, CPU architecture
  • Java version, vendor (java -version) - or if Windows installer was used with bundled Java

Version: 3.9.1
Build date: 2023-02-11

  • Java: BellSoft 17.0.6+10-LTS
    OS: Windows 11 10.0 (amd64)
    SWT: win32 4956

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

PS C:\Program Files\Angry IP Scanner> jre\bin\java -jar ipscan.exe
Aug 29, 2024 10:30:50 AM net.azib.ipscan.fetchers.HostnameFetcher
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 @527740a2
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.(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)

Aug 29, 2024 10:30:50 AM net.azib.ipscan.gui.actions.HelpMenuActions$CheckVersion$1 run
WARNING: null
java.net.UnknownHostException: angryip.org
at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source)
at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
at java.base/java.net.Socket.connect(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
at java.base/sun.net.NetworkClient.doConnect(Unknown Source)
at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
at java.base/sun.net.www.http.HttpClient.openServer(Unknown Source)
at java.base/sun.net.www.protocol.https.HttpsClient.(Unknown Source)
at java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at net.azib.ipscan.gui.actions.HelpMenuActions$CheckVersion$1.run(HelpMenuActions.java:120)
at java.base/java.lang.Thread.run(Unknown Source)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant