NullPointerException

I’m seeing a NullPointerException when sitemaps are loaded. The sitemap renders fine – everything is displayed properly, but the log is littered with these exceptions. If I remove the “Thermostat” frame the exception goes away.

SITEMAP:
sitemap wittfamily label=“Wittfamily” {
Frame label=“Weather at House” {
Text item=temperature icon="temperature"
Text item=humidity icon="humidity"
Text item=barometric icon=“pressure”
}
Frame label=“Thermostat” {
Text item=tcctemp icon="temperature"
Text item=tccheatsp icon="temperature"
Text item=tcccoolsp icon=“temperature”
}
}

LOG ENTRY:
2017-11-18 07:49:04.060 [ERROR] [.core.internal.folder.FolderObserver] - Error handling update of file ‘/etc/openhab2/sitemaps/wittfamily.sitemap’: null.
java.lang.NullPointerException
at org.eclipse.smarthome.io.rest.sitemap.internal.PageChangeListener.getAllItems(PageChangeListener.java:125)[117:org.eclipse.smarthome.io.rest.sitemap:0.9.0.b5]
at org.eclipse.smarthome.io.rest.sitemap.internal.PageChangeListener.updateItemsAndWidgets(PageChangeListener.java:75)[117:org.eclipse.smarthome.io.rest.sitemap:0.9.0.b5]
at org.eclipse.smarthome.io.rest.sitemap.internal.PageChangeListener.sitemapContentChanged(PageChangeListener.java:217)[117:org.eclipse.smarthome.io.rest.sitemap:0.9.0.b5]
at org.eclipse.smarthome.io.rest.sitemap.SitemapSubscriptionService.modelChanged(SitemapSubscriptionService.java:277)[117:org.eclipse.smarthome.io.rest.sitemap:0.9.0.b5]
at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:286)[122:org.eclipse.smarthome.model.core:0.9.0.b5]
at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:136)[122:org.eclipse.smarthome.model.core:0.9.0.b5]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.checkFile(FolderObserver.java:234)[122:org.eclipse.smarthome.model.core:0.9.0.b5]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.processWatchEvent(FolderObserver.java:297)[122:org.eclipse.smarthome.model.core:0.9.0.b5]
at org.eclipse.smarthome.core.service.WatchQueueReader.run(WatchQueueReader.java:206)[98:org.eclipse.smarthome.core:0.9.0.b5]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]

Code fences…

```

code goes here

```

The quotations used in my sitemap are fine. They are 0x22 just like those in the demo files.

I don’t understand your comment about line #11. Why is a # needed?

@sihui has quoted a posting from another thread.

The problem is, there is no chance to debug code, if the code which is posted is not the used code… Please use code fences when posting code or logs.

Sorry, I thought it is obvious when referencing two posts which deal with wrong quotation marks like those in your first post.

If that is not the problem I don’t have any other idea, sorry again.