Kai
(Kai Kreuzer)
December 4, 2017, 4:38pm
1
All,
I think everyone is longing for a new openHAB release since a while, the next being 2.2.
The good news is that the maintainers have just decided to schedule it for December 18, so in exactly two weeks from now!
To make the release a good one, I would like to ask all binding/add-on developers to do their best to get their add-ons in a stable state - so rather focus on fixes instead of introducing bigger features or refactorings right now.
Furthermore, if you are aware of any breaking changes in an add-on since the 2.1 release, please add some information about the required manual steps to the draft release notes - thanks!
My wish for all our dear users would be to help testing the latest snapshot builds as much as possible and report any major and critical bugs asap. Don’t be too shy to ping me directly if you think there is any critical issue that must not be missed for the release.
Looking forward to a successful new release!
Regards,
Kai
surfstu
(stu)
December 4, 2017, 5:06pm
4
Thanks Kai and everyone else for all your contributions - looking forward to the 2.2 stable. I switched for the first time to the snapshot builds 2.2 a few weeks back - had a few of the issues with the config files being slightly corrupted but the forum helped sort it very quickly.
I will try the current snapshot and try to document anything that seems to break to help
Stuart
mhilbush
(Mark)
December 4, 2017, 5:11pm
5
@Kai Overall, I think things are looking very good. There’s been an impressive amount of progress made since the 2.1 release!
It would be really nice, however, to clean up some of the exceptions that frequently show up in openhab.log when using vscode with LSP enabled.
https://github.com/eclipse/smarthome/issues/4667
https://github.com/eclipse/smarthome/issues/4643
opened 12:57PM - 25 Nov 17 UTC
closed 02:55PM - 23 Apr 18 UTC
Build 1098 with the latest vscode.
I see the following when I close vscode.
… - vscode running on windows
- config files accessed via SMB share
- seems to occur only when LSP is enabled in vscode
Sometimes I see this exception
```
2017-11-25 07:43:34.892 [ERROR] [nrpc.json.ConcurrentMessageProcessor] - java.net.SocketException: Connection reset
java.lang.RuntimeException: java.net.SocketException: Connection reset
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:103) [106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:84) [106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[?:?]
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:?]
at java.net.SocketInputStream.read(SocketInputStream.java:224) ~[?:?]
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:61) ~[?:?]
... 6 more
```
and sometimes I see this exception (Edit: I also get this if I reload the window in vscode)
```
2017-11-25 07:52:59.763 [ERROR] [eclipse.lsp4j.jsonrpc.RemoteEndpoint] - Internal error: java.lang.reflect.InvocationTargetException
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:53) ~[106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:105) [106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:203) [106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:139) [106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:149) [106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:77) [106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:84) [106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:51) ~[?:?]
... 11 more
Caused by: java.lang.RuntimeException: java.net.SocketException: Connection reset
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:68) ~[?:?]
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.notify(RemoteEndpoint.java:95) ~[?:?]
at org.eclipse.lsp4j.jsonrpc.services.EndpointProxy.invoke(EndpointProxy.java:62) ~[?:?]
at com.sun.proxy.$Proxy188.publishDiagnostics(Unknown Source) ~[?:?]
at org.eclipse.xtext.ide.server.LanguageServerImpl.publishDiagnostics(LanguageServerImpl.java:342) ~[?:?]
at org.eclipse.xtext.ide.server.LanguageServerImpl.lambda$null$2(LanguageServerImpl.java:211) ~[?:?]
at org.eclipse.xtext.ide.server.ProjectManager.lambda$null$3(ProjectManager.java:135) ~[?:?]
at org.eclipse.xtext.build.IncrementalBuilder$InternalStatefulIncrementalBuilder.validate(IncrementalBuilder.java:267) ~[?:?]
at org.eclipse.xtext.build.IncrementalBuilder$InternalStatefulIncrementalBuilder.lambda$launch$6(IncrementalBuilder.java:244) ~[?:?]
at org.eclipse.xtext.build.ClusteringStorageAwareResourceLoader.lambda$executeClustered$1(ClusteringStorageAwareResourceLoader.java:77) ~[?:?]
at org.eclipse.xtext.xbase.lib.internal.FunctionDelegate.apply(FunctionDelegate.java:42) ~[?:?]
at com.google.common.collect.Lists$TransformingRandomAccessList$1.transform(Lists.java:617) ~[?:?]
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) ~[?:?]
at java.util.AbstractCollection.toArray(AbstractCollection.java:141) ~[?:?]
at java.util.ArrayList.addAll(ArrayList.java:581) ~[?:?]
at com.google.common.collect.Iterables.addAll(Iterables.java:352) ~[?:?]
at org.eclipse.xtext.build.ClusteringStorageAwareResourceLoader.executeClustered(ClusteringStorageAwareResourceLoader.java:80) ~[?:?]
at org.eclipse.xtext.build.BuildContext.executeClustered(BuildContext.java:55) ~[?:?]
at org.eclipse.xtext.build.IncrementalBuilder$InternalStatefulIncrementalBuilder.launch(IncrementalBuilder.java:251) ~[?:?]
at org.eclipse.xtext.build.IncrementalBuilder.build(IncrementalBuilder.java:399) ~[?:?]
at org.eclipse.xtext.build.IncrementalBuilder.build(IncrementalBuilder.java:384) ~[?:?]
at org.eclipse.xtext.ide.server.ProjectManager.doBuild(ProjectManager.java:115) ~[?:?]
at org.eclipse.xtext.ide.server.ProjectManager.doInitialBuild(ProjectManager.java:107) ~[?:?]
at org.eclipse.xtext.ide.server.BuildManager.doInitialBuild(BuildManager.java:138) ~[?:?]
at org.eclipse.xtext.ide.server.WorkspaceManager.refreshWorkspaceConfig(WorkspaceManager.java:142) ~[?:?]
at org.eclipse.xtext.ide.server.WorkspaceManager.initialize(WorkspaceManager.java:113) ~[?:?]
at org.eclipse.xtext.ide.server.LanguageServerImpl.lambda$initialize$3(LanguageServerImpl.java:213) ~[?:?]
at org.eclipse.xtext.ide.server.concurrent.RequestManager.runWrite(RequestManager.java:71) ~[?:?]
at org.eclipse.xtext.ide.server.LanguageServerImpl.initialize(LanguageServerImpl.java:216) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:51) ~[?:?]
... 11 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:115) ~[?:?]
at java.net.SocketOutputStream.write(SocketOutputStream.java:143) ~[?:?]
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:63) ~[?:?]
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.notify(RemoteEndpoint.java:95) ~[?:?]
at org.eclipse.lsp4j.jsonrpc.services.EndpointProxy.invoke(EndpointProxy.java:62) ~[?:?]
at com.sun.proxy.$Proxy188.publishDiagnostics(Unknown Source) ~[?:?]
at org.eclipse.xtext.ide.server.LanguageServerImpl.publishDiagnostics(LanguageServerImpl.java:342) ~[?:?]
at org.eclipse.xtext.ide.server.LanguageServerImpl.lambda$null$2(LanguageServerImpl.java:211) ~[?:?]
at org.eclipse.xtext.ide.server.ProjectManager.lambda$null$3(ProjectManager.java:135) ~[?:?]
at org.eclipse.xtext.build.IncrementalBuilder$InternalStatefulIncrementalBuilder.validate(IncrementalBuilder.java:267) ~[?:?]
at org.eclipse.xtext.build.IncrementalBuilder$InternalStatefulIncrementalBuilder.lambda$launch$6(IncrementalBuilder.java:244) ~[?:?]
at org.eclipse.xtext.build.ClusteringStorageAwareResourceLoader.lambda$executeClustered$1(ClusteringStorageAwareResourceLoader.java:77) ~[?:?]
at org.eclipse.xtext.xbase.lib.internal.FunctionDelegate.apply(FunctionDelegate.java:42) ~[?:?]
at com.google.common.collect.Lists$TransformingRandomAccessList$1.transform(Lists.java:617) ~[?:?]
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) ~[?:?]
at java.util.AbstractCollection.toArray(AbstractCollection.java:141) ~[?:?]
at java.util.ArrayList.addAll(ArrayList.java:581) ~[?:?]
at com.google.common.collect.Iterables.addAll(Iterables.java:352) ~[?:?]
at org.eclipse.xtext.build.ClusteringStorageAwareResourceLoader.executeClustered(ClusteringStorageAwareResourceLoader.java:80) ~[?:?]
at org.eclipse.xtext.build.BuildContext.executeClustered(BuildContext.java:55) ~[?:?]
at org.eclipse.xtext.build.IncrementalBuilder$InternalStatefulIncrementalBuilder.launch(IncrementalBuilder.java:251) ~[?:?]
at org.eclipse.xtext.build.IncrementalBuilder.build(IncrementalBuilder.java:399) ~[?:?]
at org.eclipse.xtext.build.IncrementalBuilder.build(IncrementalBuilder.java:384) ~[?:?]
at org.eclipse.xtext.ide.server.ProjectManager.doBuild(ProjectManager.java:115) ~[?:?]
at org.eclipse.xtext.ide.server.ProjectManager.doInitialBuild(ProjectManager.java:107) ~[?:?]
at org.eclipse.xtext.ide.server.BuildManager.doInitialBuild(BuildManager.java:138) ~[?:?]
at org.eclipse.xtext.ide.server.WorkspaceManager.refreshWorkspaceConfig(WorkspaceManager.java:142) ~[?:?]
at org.eclipse.xtext.ide.server.WorkspaceManager.initialize(WorkspaceManager.java:113) ~[?:?]
at org.eclipse.xtext.ide.server.LanguageServerImpl.lambda$initialize$3(LanguageServerImpl.java:213) ~[?:?]
at org.eclipse.xtext.ide.server.concurrent.RequestManager.runWrite(RequestManager.java:71) ~[?:?]
at org.eclipse.xtext.ide.server.LanguageServerImpl.initialize(LanguageServerImpl.java:216) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:51) ~[?:?]
... 11 more
2017-11-25 07:52:59.824 [ERROR] [nrpc.json.ConcurrentMessageProcessor] - java.net.SocketException: Broken pipe (Write failed)
java.lang.RuntimeException: java.net.SocketException: Broken pipe (Write failed)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:68) [106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:208) [106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:139) [106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:149) [106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:77) [106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:84) [106:org.eclipse.lsp4j.jsonrpc:0.2.1.v20170706-0855]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.net.SocketException: Broken pipe (Write failed)
at java.net.SocketOutputStream.socketWrite0(Native Method) ~[?:?]
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111) ~[?:?]
at java.net.SocketOutputStream.write(SocketOutputStream.java:143) ~[?:?]
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:63) ~[?:?]
... 10 more
```
https://github.com/eclipse/smarthome/issues/4639
I suppose this one could be worked around in the short term by raising the log level to ERROR.
Kai
(Kai Kreuzer)
December 4, 2017, 5:25pm
6
Thanks @mhilbush , I agree, we should make sure that we don’t have such annoying log messages. I’ll wait what @sjka might be able to solve in short term - all the rest, which doesn’t really mean any bug, I will try to then change the log level configuration in a way that those messages are suppressed.
opus
(Jürgen Baginski)
December 6, 2017, 9:47pm
11
Thanks to all contributors for their effort.
@ganesh.ingle
Think about what you are requesting. OH does consist of a large number of bindings (amongst other parts…) , which are build by a large number of volunteers. Each new release has an number of new bindings comung with it.
Asking the maintainers to test all of them in depth, would require them to buy the devices that make use of those bindings. Such a requirement in an open source project is impossible, we would loose all volunteers, especially the maintainers!
And this is only one aspect to think about when requesting such testing.
I’m happy with the way new “stable” releases are published!
wborn
(Wouter Born)
December 6, 2017, 9:59pm
14
@ganesh.ingle
I think the EPL v1.0 license is pretty clear of what you can expect.
NO WARRANTY
wborn
(Wouter Born)
December 7, 2017, 5:18pm
16
@Kai How do the release cycles of ESH and OH 2.2 relate to each other and what does this mean regarding getting issues fixed for the 2.2 release now that there is a ESH 0.9.0 release?
Maurits28
(Maurits)
December 7, 2017, 6:17pm
17
There is a topic on this, not decisive though…
I was just wondering, do we have any insight in how many active installations there are running at any given time?
Is there any information on number of downloads, users, active cloud usage etc? Would be interesting to track this, and detect trends over time… is openHAB really trending towards world domination or not?
Kai
(Kai Kreuzer)
December 7, 2017, 6:29pm
18
wborn:
How do the release cycles of ESH and OH 2.2 relate to each other and what does this mean regarding getting issues fixed for the 2.2 release now that there is a ESH 0.9.0 release?
My plan was to use the 0.9.0 ESH release in openHAB 2.2, but as there are already important fixes in post-0.9.0 now, I will create an ESH 0.10.0.b1 for the final openHAB release - so no worries, it isn’t yet too late for fixes in ESH!
wborn
(Wouter Born)
December 7, 2017, 8:17pm
20
Kai:
it isn’t yet too late for fixes in ESH!
It’s nice to still have the possibility to fix things!
Eclipse / Openhab. I vote for Openhab.
But having ESH inside openHAB is like having Rolls Royce engines in your private dreamliner jet!
ESH has not only many contributions from openHAB side.
The initial ESH project is based on openHAB and was splitted from the “old” openHAB on purpose in 2013.
Further information can be found in the proposal:
https://www.eclipse.org/proposals/technology.smarthome/
Kai
(Kai Kreuzer)
December 8, 2017, 7:09am
24
most checkins in ESH from OH community members and mostly Kai in past 2 years
You seem to have very little knowledge about ESH. Don’t know where you got those stats from, but my rough estimation is that openHAB contributions to ESH (including my own) do not exceed 20% of the work that is done at ESH.
job
(Joachim Boeddeker)
December 8, 2017, 11:23am
25
Currently i’m using the 2.2 Snapshot, almost everything works as expected.
Thanks to everybody involved.
What about after the 2.2 release?
Should i switch to the stable branch?
Will there be still bugfixes in the stable branch or is this an exclusive of the snapshot?
mhilbush
(Mark)
December 8, 2017, 11:21pm
28
Take any binding from ESH. Try searching on google. Then try searching on google with “openhab” appended. If Google is mistaken, so am I.
People are tracking this thread because it’s supposed to be about the 2.2 release. Your comments here, while interesting, are off topic.
I respectfully ask that you open a separate forum thread for discussing your topic. Thanks!
5iver
(Scott Rushworth)
December 9, 2017, 3:03am
30
Is there a corresponding ESH 0.9 (or the beta version that will be included with 2.2) draft release notes? One thing that popped up on me recently, that is not really a breaking change but may raise concerns, is the deprecation of DateTimeType.calendar . I was recently surprised when I started seeing a lot of these validation issues in my logs when saving rules that use .calendar…
The method getCalendar() from the type DateTimeType is deprecated
It would be helpful if the ESH documentation would include alternatives for .calendar and .getCalendar.
openhab2
(Gadget Guy)
December 9, 2017, 6:05am
31
Kai:
My wish for all our dear users would be to help testing the latest snapshot builds as much as possible
This is great! Nice work all!
How does one go about switching versions?
Is there a link with steps?
I have some issues with groups needing a OH restart to populate changes. Are u guys aware if this might be addressed in the 2.2 release? Thanks