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

Error reported on IP v6 device #353

Open
Peak-Qi opened this issue Feb 4, 2024 · 1 comment
Open

Error reported on IP v6 device #353

Peak-Qi opened this issue Feb 4, 2024 · 1 comment

Comments

@Peak-Qi
Copy link

Peak-Qi commented Feb 4, 2024

Error reported on IP v6 device

Caused by java.lang.NumberFormatException
For input string: "3870:a688:1:d9c6:d79b:19d0:1257"
java.lang.Integer.parseInt (Integer.java:615)
java.lang.Integer.parseInt (Integer.java:650)
java.net.URLStreamHandler.parseURL (URLStreamHandler.java:246)
jcifs.smb.Handler.parseURL (Handler.java:99)
java.net.URL. (URL.java:630)
jcifs.smb.SmbFile. (SmbFile.java:438)
com.smb.control.proxy.impl.JcifsSmbControllerImpl.getSmbFile (JcifsSmbControllerImpl.kt:121)
com.smb.control.proxy.impl.JcifsSmbControllerImpl.listFile (JcifsSmbControllerImpl.kt:87)
com.smb.control.SmbControlDispatcher.listFile (SmbControlDispatcher.kt:143)
com.smb.control.SmbControlDispatcher$listServiceFile$1.invokeSuspend (SmbControlDispatcher.kt:138)
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:106)
kotlinx.coroutines.internal.LimitedDispatcher.run (LimitedDispatcher.kt:42)
kotlinx.coroutines.scheduling.TaskImpl.run (Tasks.kt:95)
kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely (CoroutineScheduler.kt:570)
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask (CoroutineScheduler.kt:750)
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker (CoroutineScheduler.kt:677)
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run (CoroutineScheduler.kt:664)

@mbechler
Copy link
Contributor

mbechler commented Feb 4, 2024

What does the URL look like? IPv6 adresses in URLs need to be put in brackets, e.g. smb://[1:2:3::1]/x

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

2 participants