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

Temperature and Humidity icon not displayed and formatting exception … #1362

Merged
merged 1 commit into from
Oct 28, 2016
Merged

Conversation

harryzz
Copy link

@harryzz harryzz commented Oct 28, 2016

…in log

@kaikreuzer
Copy link
Member

Merging even without a sign-off commit footer as a "small patch exception".
@harryzz, it would be nice if you could sign off your future commits - thanks!

@kaikreuzer kaikreuzer merged commit 1143f5c into openhab:master Oct 28, 2016
magx2 pushed a commit to magx2/openhab2-addons that referenced this pull request Oct 29, 2016
@jameshiscott
Copy link

jameshiscott commented Nov 3, 2016

Just did a fresh install of OpenHab 2 and have this error when installing the RFXCOM binding. Looks like this may have caused the problem?

2016-11-02 22:33:31.600 [WARN ] [ig.xml.osgi.XmlDocumentBundleTracker] - The XML document '/ESH-INF/thing/channels.xml' in module 'org.openhab.binding.rfxcom' could not be parsed: The document is invalid, it contains further unsupported data: [NodeValue [nodeName=description, value=Current temperature in degree Celsius], StateDescription [minimum=null, maximum=null, step=null, pattern=%.1f °C, readOnly=true, channelStateOptions=[]]]!
---- Debugging information ----
class               : org.eclipse.smarthome.core.thing.xml.internal.ChannelTypeXmlResult
required-type       : org.eclipse.smarthome.core.thing.xml.internal.ChannelTypeXmlResult
converter-type      : org.eclipse.smarthome.core.thing.xml.internal.ChannelTypeConverter
path                : /thing-descriptions/channel-type[15]
line number         : 109
class[1]            : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[2]            : org.eclipse.smarthome.core.thing.xml.internal.ThingDescriptionList
converter-type[2]   : org.eclipse.smarthome.core.thing.xml.internal.ThingDescriptionConverter
version             : 1.4.7
-------------------------------
com.thoughtworks.xstream.converters.ConversionException: The document is invalid, it contains further unsupported data: [NodeValue [nodeName=description, value=Current temperature in degree Celsius], StateDescription [minimum=null, maximum=null, step=null, pattern=%.1f °C, readOnly=true, channelStateOptions=[]]]!
---- Debugging information ----
class               : org.eclipse.smarthome.core.thing.xml.internal.ChannelTypeXmlResult
required-type       : org.eclipse.smarthome.core.thing.xml.internal.ChannelTypeXmlResult
converter-type      : org.eclipse.smarthome.core.thing.xml.internal.ChannelTypeConverter
path                : /thing-descriptions/channel-type[15]
line number         : 109
class[1]            : java.util.ArrayList
converter-type[1]   : com.thoughtworks.xstream.converters.collections.CollectionConverter
class[2]            : org.eclipse.smarthome.core.thing.xml.internal.ThingDescriptionList
converter-type[2]   : org.eclipse.smarthome.core.thing.xml.internal.ThingDescriptionConverter
version             : 1.4.7
-------------------------------
        at org.eclipse.smarthome.config.xml.util.NodeIterator.assertEndOfType(NodeIterator.java:81)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at org.eclipse.smarthome.core.thing.xml.internal.AbstractDescriptionTypeConverter.unmarshal(AbstractDescriptionTypeConverter.java:191)[106:org.eclipse.smarthome.core.thing.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at org.eclipse.smarthome.core.thing.xml.internal.ThingDescriptionConverter.unmarshal(ThingDescriptionConverter.java:48)[106:org.eclipse.smarthome.core.thing.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1185)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1169)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1115)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1062)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at org.eclipse.smarthome.config.xml.util.XmlDocumentReader.readFromXML(XmlDocumentReader.java:82)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at org.eclipse.smarthome.config.xml.osgi.XmlDocumentBundleTracker$1.processBundle(XmlDocumentBundleTracker.java:129)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at org.eclipse.smarthome.config.xml.osgi.AbstractAsyncBundleProcessor$1.run(AbstractAsyncBundleProcessor.java:231)[97:org.eclipse.smarthome.config.xml:0.9.0.201610312128]
        at java.lang.Thread.run(Thread.java:745)[:1.8.0_111]

@harryzz harryzz deleted the patch-1 branch November 3, 2016 22:05
@harryzz
Copy link
Author

harryzz commented Nov 4, 2016

@kaikreuzer kaikreuzer mentioned this pull request Nov 4, 2016
wep4you pushed a commit to wep4you/openhab2-addons that referenced this pull request Nov 27, 2016
@kaikreuzer kaikreuzer modified the milestone: 2.0.0 Jan 17, 2017
Flole998 pushed a commit to Flole998/openhab-addons that referenced this pull request Dec 30, 2021
* Metadata-based state & command description providers

Implements openhab#1185.

These providers will look into item metadata, which
can be managed by UIs with the API, to set or override
the item's state description (pattern, options, read
only...) or command description.

Signed-off-by: Yannick Schaus <github@schaus.net>
markus7017 pushed a commit to markus7017/openhab-addons that referenced this pull request Aug 12, 2023
Signed-off-by: Wouter Born <github@maindrain.net>
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

Successfully merging this pull request may close these issues.

3 participants