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

[upnpcontrol] Setup wizard doesn't finish when this suggested add-on is added #17889

Open
ghys opened this issue Dec 12, 2024 · 0 comments
Open
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@ghys
Copy link
Member

ghys commented Dec 12, 2024

Current Behavior

I have tried a fresh new instance a week ago and the setup wizard didn't finish with this in the logs:

2024-12-05 14:31:31.804 [WARN ] [.transport.servlet.ServletController] - Can't find the request for http://localhost:8081/rest/events's Observer

...

2024-12-05 14:36:18.839 [WARN ] [.transport.servlet.ServletController] - Can't find the request for http://localhost:8081/rest/auth/token's Observer 
2024-12-05 14:36:18.883 [WARN ] [.transport.servlet.ServletController] - Can't find the request for http://localhost:8081/rest/auth/logout's Observer 
2024-12-05 14:36:18.972 [WARN ] [.transport.servlet.ServletController] - Can't find the request for http://localhost:8081/rest/'s Observer 
2024-12-05 14:36:19.006 [WARN ] [.transport.servlet.ServletController] - Can't find the request for http://localhost:8081/rest/events's Observer 
2024-12-05 14:36:19.016 [WARN ] [.transport.servlet.ServletController] - Can't find the request for http://localhost:8081/auth's Observer 
2024-12-05 14:36:54.795 [ERROR] [Events.Framework                    ] - FrameworkEvent ERROR
org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; osgi.identity="org.openhab.core.io.net"; type="osgi.bundle"; version:Version="4.3.0.202412032054" [id=182] STOPPED [STOPPED]
	at org.eclipse.osgi.container.Module.lockStateChange(Module.java:350) ~[org.eclipse.osgi-3.18.0.jar:?]
	at org.eclipse.osgi.container.Module.stop(Module.java:513) ~[org.eclipse.osgi-3.18.0.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1888) ~[org.eclipse.osgi-3.18.0.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1763) ~[org.eclipse.osgi-3.18.0.jar:?]
	at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275) ~[org.eclipse.osgi-3.18.0.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:208) ~[org.eclipse.osgi-3.18.0.jar:?]
	at org.eclipse.osgi.container.Module.doStop(Module.java:660) ~[org.eclipse.osgi-3.18.0.jar:?]
	at org.eclipse.osgi.container.Module.stop(Module.java:521) ~[org.eclipse.osgi-3.18.0.jar:?]
	at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207) ~[org.eclipse.osgi-3.18.0.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:226) ~[org.eclipse.osgi-3.18.0.jar:?]
	at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 30 seconds to acquire the lock.
	at org.eclipse.osgi.container.Module.lockStateChange(Module.java:347) ~[org.eclipse.osgi-3.18.0.jar:?]
	... 10 more
Caused by: org.eclipse.osgi.framework.util.ThreadInfoReport: Thread dump

ThreadId: 1 ThreadName: main ThreadState: WAITING
  Blocked On: java.util.concurrent.atomic.AtomicReference@3287cba LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/java.lang.Object.wait(Native Method)
    org.eclipse.osgi.container.SystemModule.waitForStop(SystemModule.java:173)
    org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.waitForStop(EquinoxBundle.java:312)
    org.eclipse.osgi.launch.Equinox.waitForStop(Equinox.java:217)
    app//org.apache.karaf.main.Main.awaitShutdown(Main.java:704)
    app//org.apache.karaf.main.Main.main(Main.java:193)

ThreadId: 2 ThreadName: Reference Handler ThreadState: RUNNABLE
  Blocked On: none
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
    [email protected]/java.lang.ref.Reference.processPendingReferences(Reference.java:253)
    [email protected]/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:215)

ThreadId: 3 ThreadName: Finalizer ThreadState: WAITING
  Blocked On: java.lang.ref.ReferenceQueue$Lock@1cc40b05 LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/java.lang.Object.wait(Native Method)
    [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
    [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
    [email protected]/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:172)

ThreadId: 4 ThreadName: Signal Dispatcher ThreadState: RUNNABLE
  Blocked On: none
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 

ThreadId: 12 ThreadName: Common-Cleaner ThreadState: TIMED_WAITING
  Blocked On: java.lang.ref.ReferenceQueue$Lock@1e03ac69 LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/java.lang.Object.wait(Native Method)
    [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
    [email protected]/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:140)
    [email protected]/java.lang.Thread.run(Thread.java:840)
    [email protected]/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:162)

ThreadId: 13 ThreadName: Notification Thread ThreadState: RUNNABLE
  Blocked On: none
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 

ThreadId: 21 ThreadName: Active Thread: Equinox Container: 4db272a3-fa97-4eec-9279-0504d4b569c9 ThreadState: TIMED_WAITING
  Blocked On: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@1d174527 LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
    [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
    [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1679)
    [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
    [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
    [email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
    [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
    [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    [email protected]/java.lang.Thread.run(Thread.java:840)

ThreadId: 23 ThreadName: Framework Event Dispatcher: Equinox Container: 4db272a3-fa97-4eec-9279-0504d4b569c9 ThreadState: WAITING
  Blocked On: org.eclipse.osgi.framework.eventmgr.EventManager$EventThread@5d1a2793 LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/java.lang.Object.wait(Native Method)
    [email protected]/java.lang.Object.wait(Object.java:338)
    org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
    org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341)

ThreadId: 24 ThreadName: Start Level: Equinox Container: 4db272a3-fa97-4eec-9279-0504d4b569c9 ThreadState: WAITING
  Blocked On: org.eclipse.osgi.framework.eventmgr.EventManager$EventThread@2c5e04b LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/java.lang.Object.wait(Native Method)
    [email protected]/java.lang.Object.wait(Object.java:338)
    org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
    org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341)

ThreadId: 25 ThreadName: Karaf Lock Monitor Thread ThreadState: TIMED_WAITING
  Blocked On: none
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/java.lang.Thread.sleep(Native Method)
    app//org.apache.karaf.main.Main.doMonitor(Main.java:442)
    app//org.apache.karaf.main.Main.access$100(Main.java:78)
    app//org.apache.karaf.main.Main$3.run(Main.java:409)

ThreadId: 26 ThreadName: Karaf Shutdown Socket Thread ThreadState: RUNNABLE
  Blocked On: none
  Synchronizers Locked: 
    java.util.concurrent.locks.ReentrantLock$NonfairSync@61ba8316
  Monitors Locked: none
  Stack Trace: 
    [email protected]/sun.nio.ch.Net.accept(Native Method)
    [email protected]/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:760)
    [email protected]/java.net.ServerSocket.implAccept(ServerSocket.java:686)
    [email protected]/java.net.ServerSocket.platformImplAccept(ServerSocket.java:652)
    [email protected]/java.net.ServerSocket.implAccept(ServerSocket.java:628)
    [email protected]/java.net.ServerSocket.implAccept(ServerSocket.java:585)
    [email protected]/java.net.ServerSocket.accept(ServerSocket.java:538)
    app//org.apache.karaf.main.ShutdownSocketThread.run(ShutdownSocketThread.java:66)

ThreadId: 39 ThreadName: Coordination Timer ThreadState: WAITING
  Blocked On: java.util.TaskQueue@62591bac LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/java.lang.Object.wait(Native Method)
    [email protected]/java.lang.Object.wait(Object.java:338)
    [email protected]/java.util.TimerThread.mainLoop(Timer.java:537)
    [email protected]/java.util.TimerThread.run(Timer.java:516)

ThreadId: 40 ThreadName: CM Configuration Updater ThreadState: WAITING
  Blocked On: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@45c054bd LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
    [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
    [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
    [email protected]/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3476)
    [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3447)
    [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1630)
    [email protected]/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
    [email protected]/java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:673)
    org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:73)
    [email protected]/java.lang.Thread.run(Thread.java:840)

ThreadId: 41 ThreadName: CM Event Dispatcher ThreadState: WAITING
  Blocked On: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@49ead529 LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
    [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
    [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
    [email protected]/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3476)
    [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3447)
    [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1630)
    [email protected]/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
    [email protected]/java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:673)
    org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:73)
    [email protected]/java.lang.Thread.run(Thread.java:840)

ThreadId: 50 ThreadName: FileSystemWatchService ThreadState: RUNNABLE
  Blocked On: none
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/sun.nio.fs.LinuxWatchService.poll(Native Method)
    [email protected]/sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:314)
    [email protected]/java.lang.Thread.run(Thread.java:840)

ThreadId: 53 ThreadName: FileSystemWatchService ThreadState: RUNNABLE
  Blocked On: none
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/sun.nio.fs.LinuxWatchService.poll(Native Method)
    [email protected]/sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:314)
    [email protected]/java.lang.Thread.run(Thread.java:840)

ThreadId: 52 ThreadName: fileinstall-/home/ys/dev/openhab/addons ThreadState: TIMED_WAITING
  Blocked On: org.apache.felix.fileinstall.internal.DirectoryWatcher@7c7d5d31 LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/java.lang.Object.wait(Native Method)
    org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:320)

ThreadId: 49 ThreadName: fileinstall-/home/ys/dev/openhab/userdata/etc ThreadState: TIMED_WAITING
  Blocked On: org.apache.felix.fileinstall.internal.DirectoryWatcher@5653bd69 LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/java.lang.Object.wait(Native Method)
    org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:320)

ThreadId: 60 ThreadName: EventAdminAsyncThread #11 ThreadState: WAITING
  Blocked On: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@11f16ea2 LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
    [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
    [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
    [email protected]/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3476)
    [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3447)
    [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1630)
    [email protected]/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435)
    [email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
    [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
    [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    [email protected]/java.lang.Thread.run(Thread.java:840)

ThreadId: 61 ThreadName: EventAdminAsyncThread #12 ThreadState: WAITING
  Blocked On: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@11f16ea2 LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
    [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
    [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
    [email protected]/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3476)
    [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3447)
    [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1630)
    [email protected]/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435)
    [email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
    [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
    [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    [email protected]/java.lang.Thread.run(Thread.java:840)

ThreadId: 62 ThreadName: features-3-thread-1 ThreadState: WAITING
  Blocked On: java.util.concurrent.CountDownLatch$Sync@66b62afb LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: 
    java.util.concurrent.ThreadPoolExecutor$Worker@4b3eb49d
    java.util.concurrent.locks.ReentrantLock$NonfairSync@4dc58b25
    java.util.concurrent.locks.ReentrantLock$FairSync@7b4b86b1
    java.util.concurrent.locks.ReentrantLock$NonfairSync@20b3ce8b
  Monitors Locked: 
    java.lang.Object@e2da228
    java.lang.Object@18afe209
    java.lang.Object@53dcac80
    java.lang.Object@49424c27
    java.lang.Object@2a1d8bc5
  Stack Trace: 
    [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
    [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:211)
    [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:715)
    [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1047)
    [email protected]/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:230)
    org.eclipse.jetty.io.ManagedSelector.doStop(ManagedSelector.java:140)
    org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:94)
    org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:180)
    org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:201)
    org.eclipse.jetty.io.SelectorManager.doStop(SelectorManager.java:281)
    org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:94)
    org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:180)
    org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:201)
    org.eclipse.jetty.client.AbstractConnectorHttpClientTransport.doStop(AbstractConnectorHttpClientTransport.java:70)
    org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:94)
    org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:180)
    org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:201)
    org.eclipse.jetty.client.HttpClient.doStop(HttpClient.java:294)
    org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:94)
    org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:180)
    org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:201)
    org.eclipse.jetty.websocket.client.WebSocketClient.doStop(WebSocketClient.java:429)
    org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:94)
    org.openhab.core.io.net.http.internal.WebClientFactoryImpl.deactivate(WebClientFactoryImpl.java:131)
    [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [email protected]/java.lang.reflect.Method.invoke(Method.java:569)
    org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:245)
    org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41)
    org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:687)
    org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:531)
    org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:317)
    org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:307)
    org.apache.felix.scr.impl.manager.SingleComponentManager.disposeImplementationObject(SingleComponentManager.java:421)
    org.apache.felix.scr.impl.manager.SingleComponentManager.deleteComponent(SingleComponentManager.java:165)
    org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:853)
    org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:825)
    org.apache.felix.scr.impl.manager.DependencyManager.deactivateComponentManager(DependencyManager.java:2636)
    org.apache.felix.scr.impl.manager.DependencyManager.access$400(DependencyManager.java:59)
    org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.removedService(DependencyManager.java:1356)
    org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.removedService(DependencyManager.java:1225)
    org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1258)
    org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1152)
    org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.untrack(ServiceTracker.java:1012)
    org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1192)
    org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:116)
    org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:123)
    org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:961)
    org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
    org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
    org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:937)
    org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:874)
    org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:241)
    org.apache.felix.scr.impl.manager.AbstractComponentManager$3.unregister(AbstractComponentManager.java:952)
    org.apache.felix.scr.impl.manager.AbstractComponentManager$3.unregister(AbstractComponentManager.java:915)
    org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:140)
    org.apache.felix.scr.impl.manager.AbstractComponentManager.unregisterService(AbstractComponentManager.java:994)
    org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:844)
    org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:825)
    org.apache.felix.scr.impl.manager.AbstractComponentManager.dispose(AbstractComponentManager.java:589)
    org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.disposeComponents(ConfigurableComponentHolder.java:722)
    org.apache.felix.scr.impl.BundleComponentActivator.dispose(BundleComponentActivator.java:492)
    org.apache.felix.scr.impl.Activator.disposeComponents(Activator.java:652)
    org.apache.felix.scr.impl.Activator.access$300(Activator.java:74)
    org.apache.felix.scr.impl.Activator$ScrExtension.destroy(Activator.java:490)
    org.apache.felix.scr.impl.AbstractExtender$1.run(AbstractExtender.java:216)
    [email protected]/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    org.apache.felix.scr.impl.AbstractExtender.destroyExtension(AbstractExtender.java:238)
    org.apache.felix.scr.impl.AbstractExtender.bundleChanged(AbstractExtender.java:132)
    org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:255)
    org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:949)
    org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
    org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
    org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:229)
    org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138)
    org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130)
    org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217)
    org.eclipse.osgi.container.Module.publishEvent(Module.java:499)
    org.eclipse.osgi.container.Module.doStop(Module.java:658)
    org.eclipse.osgi.container.Module.stop(Module.java:521)
    org.eclipse.osgi.internal.framework.EquinoxBundle.stop(EquinoxBundle.java:472)
    org.apache.karaf.features.internal.service.BundleInstallSupportImpl.stopBundle(BundleInstallSupportImpl.java:171)
    org.apache.karaf.features.internal.service.FeaturesServiceImpl.stopBundle(FeaturesServiceImpl.java:1165)
    org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:783)
    org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069)
    org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004)
    org.apache.karaf.features.internal.service.FeaturesServiceImpl$$Lambda$294/0x00000007c04ced00.call(Unknown Source)
    [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    [email protected]/java.lang.Thread.run(Thread.java:840)

ThreadId: 88 ThreadName: encryption-1-thread-1 ThreadState: TIMED_WAITING
  Blocked On: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7cb19ab LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: 
    java.util.concurrent.ThreadPoolExecutor$Worker@4f8c7657
  Monitors Locked: none
  Stack Trace: 
    [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
    [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
    [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1679)
    [email protected]/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:515)
    [email protected]/java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:677)
    [email protected]/sun.nio.fs.AbstractWatchService.poll(AbstractWatchService.java:108)
    org.apache.karaf.jaas.modules.properties.AutoEncryptionSupport.run(AutoEncryptionSupport.java:94)
    [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    [email protected]/java.lang.Thread.run(Thread.java:840)

ThreadId: 89 ThreadName: FileSystemWatchService ThreadState: RUNNABLE
  Blocked On: none
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/sun.nio.fs.LinuxWatchService.poll(Native Method)
    [email protected]/sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:314)
    [email protected]/java.lang.Thread.run(Thread.java:840)

ThreadId: 92 ThreadName: encryption-3-thread-1 ThreadState: TIMED_WAITING
  Blocked On: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@201279ed LockOwnerId: -1 LockOwnerName: null
  Synchronizers Locked: 
    java.util.concurrent.ThreadPoolExecutor$Worker@590efe03
  Monitors Locked: none
  Stack Trace: 
    [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
    [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
    [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1679)
    [email protected]/java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:515)
    [email protected]/java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:677)
    [email protected]/sun.nio.fs.AbstractWatchService.poll(AbstractWatchService.java:108)
    org.apache.karaf.jaas.modules.properties.AutoEncryptionSupport.run(AutoEncryptionSupport.java:94)
    [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    [email protected]/java.lang.Thread.run(Thread.java:840)

ThreadId: 93 ThreadName: FileSystemWatchService ThreadState: RUNNABLE
  Blocked On: none
  Synchronizers Locked: none
  Monitors Locked: none
  Stack Trace: 
    [email protected]/sun.nio.fs.LinuxWatchService.poll(Native Method)
    [email protected]/sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:314)
    [email protected]/java.lang.Thread.run(Thread.java:840)

...

Apparently it happens when the upnpcontol add-on (suggested in the wizard) is installed, and when I tried re-installing the instance without that add-on the wizard finished.

Steps to Reproduce (for Bugs)

Install a new instance with the upnpcontrol add-on as a suggestion.

Your Environment

runtimeInfo:
  version: 4.3.0.M5
  buildString: Milestone Build
locale: en-US
systemInfo:
  javaVersion: 17.0.13
  javaVendor: Azul Systems, Inc.
  javaVendorVersion: Zulu17.54+21-CA
  osName: Linux
  osArchitecture: amd64
  startLevel: 100
addons:
  - automation-jsscripting
  - binding-astro
  - binding-freeboxos
  - binding-hue
  - binding-mqtt
  - binding-shelly
  - binding-yamahamusiccast
  - persistence-inmemory
  - persistence-mapdb
  - persistence-rrd4j
  - ui-basic

(obviously it wasn't M5 at the time but the latest snapshot)

@ghys ghys added the bug An unexpected problem or unintended behavior of an add-on label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

No branches or pull requests

1 participant