ThingManager time-out

36 views
Skip to first unread message

Karel Goderis

unread,
Aug 10, 2015, 6:59:42 AM8/10/15
to open...@googlegroups.com
I just got one of these… Ooops…. (occurred at start up) Do we need to relax the value of the time-out?

2015-08-10 12:56:56 [ERROR] [.c.thing.internal.ThingManager:496  ] - Registering thing handler timed out: nulljava.util.concurrent.TimeoutException: null
at java.util.concurrent.FutureTask.get(FutureTask.java:201)
at org.eclipse.smarthome.core.common.SafeMethodCaller.callAsynchronous(SafeMethodCaller.java:157)
at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:72)
at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:56)
at org.eclipse.smarthome.core.thing.internal.ThingManager.registerHandler(ThingManager.java:476)
at org.eclipse.smarthome.core.thing.internal.ThingManager.registerHandler(ThingManager.java:443)
at org.eclipse.smarthome.core.thing.internal.ThingManager.thingAdded(ThingManager.java:351)
at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyTrackers(ThingRegistryImpl.java:190)
at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyListenersAboutAddedElement(ThingRegistryImpl.java:108)
at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyListenersAboutAddedElement(ThingRegistryImpl.java:1)
at org.eclipse.smarthome.core.common.registry.AbstractRegistry.added(AbstractRegistry.java:56)


Karel

Kai Kreuzer

unread,
Aug 10, 2015, 8:53:58 AM8/10/15
to open...@googlegroups.com
This log should actually be only a warning, not an error. I just created a PR to fix this: https://github.com/eclipse/smarthome/pull/419
I don’t think we should relax the timeout - it is 5 seconds. If the registration takes longer, than this is something where a warning is adequate :-)
Note that it does not kill the thread though, it will continue to run as normal.

Regards,
Kai

--
You received this message because you are subscribed to the Google Groups "openhab2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab2+u...@googlegroups.com.
To post to this group, send email to open...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab2/403E234F-DDF5-4BDD-BD1B-7716E50C3025%40me.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages