openHAB 3.3 Milestone discussion

And this did work on M3? IIRC nothing has changed on the code that validates configuration. Do you think the provided configuration should be accepted?

Sorry, I am not sure if it worked on M3 because I reactivated my Pool just now. It worked in previous releases the last three years: https://www.smart-swimmingpool.com
Is it possible to downgrade to M3 to verify it?

1 Like

I have downgraded to Version 3.2.0 now and the Homie 3.x integration works. Something seems to be broken within MQTT-Binding since 3.2.0

Hello together,

I have switched from 3.2.0 to 3.3.0.M5.

Basically I don’t see any problems. However, since 3.3.0.M5 I have a problem with the widget frs_System_Info_list_item (Marketplace).

Under 3.3.0.M5 the widget does not work anymore and I see a 0 in the lower left corner. If this is only related to this widget and with which function I can’t say. There is nothing in openhab.log.

Greetings Holger

Updated from 3.2 stable to 3.3 M5 on openhabian.

I cannot install any bindings.
What to do?

2022-06-02 17:23:38.801 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-package-standard': Error:
        Error downloading mvn:org.eclipse.jetty/jetty-io/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-http/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-client/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-util/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-proxy/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-client/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-common/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-api/9.4.43.v20210629
2022-06-02 17:23:43.207 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-package-standard': Error:
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-client/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-http/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-util/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-common/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-io/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-api/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-proxy/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-client/9.4.43.v20210629
2022-06-02 17:23:44.763 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-misc-openhabcloud': Error:
        Error downloading mvn:org.eclipse.jetty/jetty-client/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-proxy/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-api/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-common/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-util/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-http/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-client/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-io/9.4.43.v20210629
2022-06-02 17:24:38.637 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-package-standard': Error:
        Error downloading mvn:org.eclipse.jetty/jetty-http/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-common/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-client/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-io/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-util/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-proxy/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-api/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-client/9.4.43.v20210629
2022-06-02 17:24:40.062 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-misc-openhabcloud': Error:
        Error downloading mvn:org.eclipse.jetty/jetty-http/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-api/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-proxy/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-util/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-io/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-client/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty/jetty-client/9.4.43.v20210629
        Error downloading mvn:org.eclipse.jetty.websocket/websocket-common/9.4.43.v20210629

There is another error downloading jetty in version 9.4.43. In the artifactory there is only version 9.4.38.

Caused by: java.io.IOException: Error resolving artifact org.eclipse.jetty:jetty-http:jar:9.4.43.v20210629: [Could not find artifact org.eclipse.jetty:jetty-http:jar:9.4.43.v20210629 in openhab (https://openhab.jfrog.io/openhab/libs-milestone/)]
                at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.configureIOException(AetherBasedResolver.java:803) ~[?:?]
                at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:774) ~[?:?]
                at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:657) ~[?:?]
                at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:598) ~[?:?]
                at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:565) ~[?:?]
                at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download(MavenDownloadTask.java:52) ~[?:?]
                at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:60) ~[?:?]
                ... 6 more

It shouldn’t try to download any Jetty related files at all. If the upgrade to 3.3.0.M5 went succesful, it should have all the Jetty 9.4.46.v20220331 files pre-installed in /usr/share/openhab/runtime/system/org/eclipse/jetty and use those. So it seems the update didn’t go well and it thinks it should get those older Jetty libraries. Maybe you can restore a backup and try updating again?

The files seem to be there.
Meanwhile i cleared cache again. The error persists

drwxrwxr-x 22 openhab openhab 4.0K Jun  2 16:16 ./
drwxrwxr-x 12 openhab openhab 4.0K Dec 22  2020 ../
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-client/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-continuation/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-deploy/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-http/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-io/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-jaas/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-jmx/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-jndi/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-plus/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-proxy/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-rewrite/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-security/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-server/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-servlet/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-servlets/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-util/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-util-ajax/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-webapp/
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 jetty-xml/
drwxrwxr-x  9 openhab openhab 4.0K Dec 22  2020 websocket/
openhabian@smarthome:/usr/share/openhab/runtime/system/org/eclipse/jetty $ cd jetty-
-bash: cd: jetty-: No such file or directory
openhabian@smarthome:/usr/share/openhab/runtime/system/org/eclipse/jetty $ cd jetty-http/
openhabian@smarthome:/usr/share/openhab/runtime/system/org/eclipse/jetty/jetty-http $ ll
total 12K
drwxrwxr-x  3 openhab openhab 4.0K Jun  2 16:16 ./
drwxrwxr-x 22 openhab openhab 4.0K Jun  2 16:16 ../
drwxrwxr-x  2 openhab openhab 4.0K Jun  2 16:16 9.4.46.v20220331/
openhabian@smarthome:/usr/share/openhab/runtime/system/org/eclipse/jetty/jetty-http $ cd 9.4.46.v20220331/
openhabian@smarthome:/usr/share/openhab/runtime/system/org/eclipse/jetty/jetty-http/9.4.46.v20220331 $ ll
total 228K
drwxrwxr-x 2 openhab openhab 4.0K Jun  2 16:16 ./
drwxrwxr-x 3 openhab openhab 4.0K Jun  2 16:16 ../
-rw-rw-r-- 1 openhab openhab 220K May  7 19:12 jetty-http-9.4.46.v20220331.jar
openhabian@smarthome:/usr/share/openhab/runtime/system/org/eclipse/jetty/jetty-http/9.4.46.v20220331 $

Hi,

I just installed Milestone 6. It seems like it’s not working. Some dependencies to version 1.4.6 of JFrog are missing

After downgrading to M5 openHAB works perfectly again.

That’s a very general statement. It seems that what is missing in your case are Zigbee libs only. I’ll look into this, it is well possible that @chris updated them in the binding and they still need to be put into Artifactory.

The Zigbee libs 1.4.6 are now all available on Artifactory.

Of course you are right. It was a very generell statement. Configurations without ZigBee should work.

Thanks for fixing

1 Like

After upgrading to docker M6 I do have issues with some rules that use triggeringItemName not working anymore. Did something change with the implicit variables?
Changed back to M5 now and can do further testing tomorrow.

Are these rules using equals? Fix DateTime trigger syntax to not break the equals function in the execution script by kaikreuzer · Pull Request #2996 · openhab/openhab-core · GitHub

No, rule is a CommandEventTrigger combined with an UpdateEventTrigger (or).
Will retry tomorrow and set up a more precise test case.

I retried today and this time the rule does run fine again, which is really strange.

But I do get errors for this rule using equals
val Dynamic_Item = Gruppe_Rolladenautomatik.members.findFirst[name.equals("Homematic_" + transform("REGEX", ".*?_(.*?_.*?)", triggeringItemName) + "_Level")] as RollershutterItem

That‘s the bug I linked above.

Hello Friends,

I’ve recognized that the grep command is no longer working in the Karaf Console (Upgraded from M4 → M6) when i use it in combination with the Zigbee Binding. Normal grep functionality with bindles:list is okay.
Any other plugin faced that issue?
Is this a config issue of the Karaf Console?

I just noticed a strange thing. Not sure if this is related to the M6 upgrade, but it would fit from a timeline perspective.
I couldn’t control my AVM DECT 200 power outlet from octoprint anymore and wondered what is the issue.
I checked and it disappeared from the semantic model. I checked the item and all were gone (equipment and items), but it was just that power outlet. The others were still where they belong.
The Thing was added and online as well, but no channel links anymore. Trying to readd gives a bad request and even deleting the Thing and readding it doesn’t resolve this.
I believe the item names are still somehow present in my configuration, what might be the reason why I can’t readd them.

Running openhab on a docker container on a Synology NAS.

The question are:

Should I open another topic?
How did this happen?
How can I prevent this from happening again?
And how can I readd the items without renaming (as I want to keep the energy consumption persisted in influx under the same name)?

I have no idea how to investigate this. I checked the logs, but it’s not really helping me.

Request from octoprint to switch on the outlet:

[WARN ] [rest.core.internal.item.ItemResource] - Received HTTP PUT request with an invalid item name '3DDrucker'.

Trying to add one of the missing things, which were previously linked:

log
[WARN ] [ore.common.registry.AbstractRegistry] - Cannot add "NumberItem" with key "3DDrucker_Leistung": The specified name of the item '3DDrucker_Leistung' is not valid!
java.lang.IllegalArgumentException: The specified name of the item '3DDrucker_Leistung' is not valid!
	at org.openhab.core.items.ItemUtil.assertValidItemName(ItemUtil.java:79) ~[bundleFile:?]
	at org.openhab.core.internal.items.ItemRegistryImpl.initializeItem(ItemRegistryImpl.java:184) ~[bundleFile:?]
	at org.openhab.core.internal.items.ItemRegistryImpl.onAddElement(ItemRegistryImpl.java:233) ~[bundleFile:?]
	at org.openhab.core.internal.items.ItemRegistryImpl.onAddElement(ItemRegistryImpl.java:1) ~[bundleFile:?]
	at org.openhab.core.common.registry.AbstractRegistry.added(AbstractRegistry.java:200) [bundleFile:?]
	at org.openhab.core.common.registry.AbstractRegistry.addProvider(AbstractRegistry.java:425) [bundleFile:?]
	at org.openhab.core.internal.items.ItemRegistryImpl.addProvider(ItemRegistryImpl.java:410) [bundleFile:?]
	at org.openhab.core.common.registry.AbstractRegistry$ProviderTracker.addingService(AbstractRegistry.java:149) [bundleFile:?]
	at org.openhab.core.common.registry.AbstractRegistry$ProviderTracker.addingService(AbstractRegistry.java:1) [bundleFile:?]
	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943) [osgi.core-7.0.0.jar:?]
	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:871) [osgi.core-7.0.0.jar:?]
	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) [osgi.core-7.0.0.jar:?]
	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) [osgi.core-7.0.0.jar:?]
	at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:903) [osgi.core-7.0.0.jar:?]
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:120) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:956) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:936) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:873) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:261) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:495) [org.eclipse.osgi-3.17.200.jar:?]
	at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1271) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1222) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1200) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1121) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:928) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:864) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1152) [bundleFile:?]
	at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:114) [bundleFile:?]
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:120) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:956) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:936) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:873) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:141) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:261) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:495) [org.eclipse.osgi-3.17.200.jar:?]
	at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:929) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:915) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:984) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:752) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:674) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:437) [bundleFile:?]
	at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:667) [bundleFile:?]
	at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:305) [bundleFile:?]
	at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:554) [bundleFile:?]
	at org.apache.felix.scr.impl.Activator.access$200(Activator.java:70) [bundleFile:?]
	at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:421) [bundleFile:?]
	at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?]
	at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?]
	at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488) [osgi.core-7.0.0.jar:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:420) [osgi.core-7.0.0.jar:?]
	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [osgi.core-7.0.0.jar:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) [osgi.core-7.0.0.jar:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:944) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:229) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.container.Module.start(Module.java:486) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1847) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1840) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1783) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1745) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1667) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345) [org.eclipse.osgi-3.17.200.jar:?]

edit: after fiddling around for a while, I tried “Add Items from Textual Definition”
it shows the following error:

add items from textual definition
definition:
Group 3DDrucker "3D-Drucker" ["Equipment"]

error:
Error: Syntax error at line 1 col 7:

  Group 3
        ^
Unexpected number token: "3". Instead, I was expecting to see one of the following:

A WS token based on:
    _ → _ ● %WS
    Item → Type ● _ Name Label Icon Groups Tags Metadata
    Items →  ● Item
    Main → _ ● Items _
A NL token based on:
    _ → _ ● %NL
    Item → Type ● _ Name Label Icon Groups Tags Metadata
    Items →  ● Item
    Main → _ ● Items _
A comment token based on:
    _ → _ ● %comment
    Item → Type ● _ Name Label Icon Groups Tags Metadata
    Items →  ● Item
    Main → _ ● Items _
A identifier token based on:
    Name →  ● %identifier
    Item → Type _ ● Name Label Icon Groups Tags Metadata
    Items →  ● Item
    Main → _ ● Items _

Anyone else has items or groups that start with a number? Do they work?

A number is an invalid character to start an item-name:

The Item name is used to uniquely identify an Item. The name must be unique across all .items files in your openHAB configuration. The only characters permitted in an Item name are letters, numbers and the underscore character. Names must not begin with numbers. Spaces and special characters are not permitted.

The check was not performed correctly before and has been fixed, so that’s why your invalid item name now pops up.

1 Like

That answers my question from here on when this check was added (see Integer as first character of Item name - how to fix?), but what’s the best way to fix this? We now have orphaned items in the JSON with no way to fix them in the GUI. Roll back to an earlier version, fix the Items, then move forward again? Or edit the JSON after stopping OH?