Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

CompletionException: java.io.IOException: error response (UPnPError/errorCode=714) #13

Description

@dotStart

When a port mapping has been removed manually, has somehow expired (for instance, when the application is suspended for longer periods of time), or was rejected silently by a non-compliant router, the application crashes citing a UPnP error.

Expected Behavior
The error should be logged and ignored as the desired state has already been achieved.

Environment (please complete the following information):

  • OS: Windows 10
  • Application Version: 2.4.0

Additional Context

Message: CompletionException: java.io.IOException: error response: {faultcode=s:Client, faultstring=UPnPError, UPnPError/errorCode=714, UPnPError/errorDescription=NoSuchEntryInArray}
  java.util.concurrent.CompletableFuture.reportJoin::-1
  java.util.concurrent.CompletableFuture.join::-1
  tv.dotstart.beacon.forwarding.ActionExtensionsKt.invoke in ActionExtensions.kt::48
  tv.dotstart.beacon.forwarding.PortMapping.remove in PortMapping.kt::79
  tv.dotstart.beacon.forwarding.PortExposureProvider.close in PortExposureProvider.kt::142
  tv.dotstart.beacon.controller.MainController.onServiceClose in MainController.kt::211
  jdk.internal.reflect.NativeMethodAccessorImpl.invoke0::-2
  jdk.internal.reflect.NativeMethodAccessorImpl.invoke::-1
  jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke::-1
  java.lang.reflect.Method.invoke::-1
  com.sun.javafx.reflect.Trampoline.invoke::-1
Message: IOException: error response: {faultcode=s:Client, faultstring=UPnPError, UPnPError/errorCode=714, UPnPError/errorDescription=NoSuchEntryInArray}
  net.mm2d.upnp.internal.impl.ActionInvokeDelegate.invoke in ActionInvokeDelegate.kt::95
  net.mm2d.upnp.internal.impl.ActionInvokeDelegate.invoke in ActionInvokeDelegate.kt::49
  net.mm2d.upnp.internal.impl.ActionImpl.invokeCustomSync in ActionImpl.kt::49
  net.mm2d.upnp.internal.impl.ActionImpl$invokeInner$1.invoke in ActionImpl.kt::63
  net.mm2d.upnp.internal.impl.ActionImpl$invokeInner$1.invoke in ActionImpl.kt::22
  net.mm2d.upnp.internal.thread.ExecuteFunctionKt$toRunnable$1.run in ExecuteFunction.kt::19
  java.util.concurrent.ThreadPoolExecutor.runWorker::-1
  java.util.concurrent.ThreadPoolExecutor$Worker.run::-1
  java.lang.Thread.run::-1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

autoreportReport was submitted via Application UIbug

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions