OH2 Snapshot #947 PaperUI

But appears to be back again on #1414 :confused:

Just installed #1627 and the very first log entry is:

2019-06-30 20:48:35.857 [INFO ] [org.openhab.ui.paper                ] - FrameworkEvent INFO - org.openhab.ui.paper
org.osgi.framework.BundleException: The bundle class path entry "patch/" could not be found for the bundle "osgi.identity; type="osgi.bundle"; version:Version="2.5.0.201906161123"; osgi.identity="org.openhab.ui.paper""
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassPathEntry(ClasspathManager.java:174) ~[?:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.buildClasspath(ClasspathManager.java:152) ~[?:?]
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.<init>(ClasspathManager.java:81) ~[?:?]
        at org.eclipse.osgi.internal.loader.EquinoxClassLoader.<init>(EquinoxClassLoader.java:43) ~[?:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.createClassLoaderPrivledged(BundleLoader.java:316) ~[?:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.getModuleClassLoader(BundleLoader.java:233) ~[?:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.searchHooks(BundleLoader.java:503) ~[?:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findResource(BundleLoader.java:600) ~[?:?]
        at org.eclipse.osgi.internal.loader.buddy.DependentPolicy.loadResource(DependentPolicy.java:82) ~[?:?]
        at org.eclipse.osgi.internal.loader.buddy.PolicyHandler.doBuddyResourceLoading(PolicyHandler.java:157) ~[?:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findResource(BundleLoader.java:649) ~[?:?]
        at org.eclipse.osgi.internal.loader.buddy.DependentPolicy.loadResource(DependentPolicy.java:82) ~[?:?]
        at org.eclipse.osgi.internal.loader.buddy.PolicyHandler.doBuddyResourceLoading(PolicyHandler.java:157) ~[?:?]
        at org.eclipse.osgi.internal.loader.BundleLoader.findResource(BundleLoader.java:649) ~[?:?]
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.getResource(ModuleClassLoader.java:200) ~[?:?]
        at org.eclipse.osgi.internal.framework.EquinoxBundle.getResource(EquinoxBundle.java:532) ~[?:?]
        at org.apache.servicemix.specs.activation.Activator.register(Activator.java:58) ~[?:?]
        at org.apache.servicemix.specs.locator.Activator.start(Activator.java:70) ~[?:?]
        at org.apache.servicemix.specs.activation.Activator.start(Activator.java:46) ~[?:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:779) ~[?:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) ~[?:?]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:772) ~[?:?]
        at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:729) [?:?]
        at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:933) ~[?:?]
        at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309) ~[?:?]
        at org.eclipse.osgi.container.Module.doStart(Module.java:581) ~[?:?]
        at org.eclipse.osgi.container.Module.start(Module.java:449) ~[?:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1634) ~[?:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1614) ~[?:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1585) ~[?:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1528) ~[?:?]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) ~[?:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [?:?]
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [?:?]

This issue seems to be back. Paper UI works ok, as well as Karaf.

BTW, openHAB is repeating itself:

2019-06-30 20:48:35.857 [INFO ] [org.openhab.ui.paper                ] - FrameworkEvent INFO - org.openhab.ui.paper
org.osgi.framework.BundleException: The bundle class path entry "patch/" could not be found for the bundle "osgi.identity; type="osgi.bundle"; version:Version="2.5.0.201906161123"; osgi.identity="org.openhab.ui.paper""
  <... stacktrace shown above...>
2019-06-30 20:48:44.122 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to '51.8856029,4.1686011999999995'.
2019-06-30 20:48:52.034 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'astro.items'
2019-06-30 20:48:52.321 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'hue.items'
2019-06-30 20:48:52.618 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'nefiteasy.items'
2019-06-30 20:48:52.724 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'buienradar.items'
2019-06-30 20:48:52.811 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'alexa.items'
2019-06-30 20:48:52.864 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'daikin.items'
2019-06-30 20:48:52.982 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'dsmr.items'
2019-06-30 20:48:53.089 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'persistence.items'
2019-06-30 20:48:53.123 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'openhab.items'
2019-06-30 20:48:53.162 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'philips.items'
2019-06-30 20:48:53.181 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'netatmo.items'
2019-06-30 20:48:53.225 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'verisure.items'
2019-06-30 20:48:53.290 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'solaredge.items'
2019-06-30 20:48:53.623 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'mapdb.persist'
2019-06-30 20:48:53.650 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'influxdb.persist'
2019-06-30 20:48:54.318 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'default.sitemap', using it anyway:
Sitemap should contain either only frames or none at all
2019-06-30 20:48:54.323 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.sitemap'
2019-06-30 20:49:54.659 [INFO ] [org.openhab.ui.paper                ] - FrameworkEvent INFO - org.openhab.ui.paper
org.osgi.framework.BundleException: The bundle class path entry "patch/" could not be found for the bundle "osgi.identity; type="osgi.bundle"; version:Version="2.5.0.201906161123"; osgi.identity="org.openhab.ui.paper""
  <...stacktrace...>
2019-06-30 20:50:00.546 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to '51.8856029,4.1686011999999995'.
2019-06-30 20:50:06.262 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'astro.items'
2019-06-30 20:50:06.494 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'hue.items'
2019-06-30 20:50:06.690 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'nefiteasy.items'
2019-06-30 20:50:06.774 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'buienradar.items'                                                                                                                                                       2019-06-30 20:50:06.842 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'alexa.items'
2019-06-30 20:50:06.908 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'daikin.items'
2019-06-30 20:50:06.997 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'dsmr.items'
2019-06-30 20:50:07.066 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'persistence.items'
2019-06-30 20:50:07.094 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'openhab.items'
2019-06-30 20:50:07.135 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'philips.items'
2019-06-30 20:50:07.153 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'netatmo.items'
2019-06-30 20:50:07.193 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'verisure.items'
2019-06-30 20:50:07.258 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'solaredge.items'
2019-06-30 20:50:07.665 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'mapdb.persist'
2019-06-30 20:50:07.691 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'influxdb.persist'
2019-06-30 20:50:08.370 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'default.sitemap', using it anyway:
Sitemap should contain either only frames or none at all
2019-06-30 20:50:08.374 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.sitemap'

it’s in 2.5M2 as well

2019-08-10 12:43:39.623 [INFO ] [org.openhab.ui.paper                ] - FrameworkEvent INFO - org.openhab.ui.paper
org.osgi.framework.BundleException: The bundle class path entry "patch/" could not be found for the bundle "osgi.identity; osgi.identity="org.openhab.ui.paper"; type="osgi.bundle"; version:Version="2.5.0.M2""
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassPathEntry(ClasspathManager.java:174) ~[?:?]

See:


TLDR:

The default logging configuration with openHAB 2.5.0.M2 is:

openhab> log:list
Logger                                             β”‚ Level
───────────────────────────────────────────────────┼──────
ROOT                                               β”‚ WARN
javax.jmdns                                        β”‚ ERROR
javax.mail                                         β”‚ ERROR
org.apache.karaf.jaas.modules.audit                β”‚ INFO
org.apache.karaf.kar.internal.KarServiceImpl       β”‚ ERROR
org.apache.karaf.shell.support                     β”‚ OFF
org.apache.sshd                                    β”‚ WARN
org.eclipse.lsp4j                                  β”‚ OFF
org.eclipse.smarthome                              β”‚ INFO
org.jupnp                                          β”‚ ERROR
org.openhab                                        β”‚ INFO
org.openhab.ui.paper                               β”‚ WARN
org.openhab.ui.paper.internal                      β”‚ INFO
org.ops4j.pax.url.mvn.internal.AetherBasedResolver β”‚ ERROR
org.ops4j.pax.web.pax-web-runtime                  β”‚ OFF
smarthome.event                                    β”‚ INFO
smarthome.event.InboxUpdatedEvent                  β”‚ ERROR
smarthome.event.ItemAddedEvent                     β”‚ ERROR
smarthome.event.ItemRemovedEvent                   β”‚ ERROR
smarthome.event.ItemStateEvent                     β”‚ ERROR
smarthome.event.ThingAddedEvent                    β”‚ ERROR
smarthome.event.ThingRemovedEvent                  β”‚ ERROR
smarthome.event.ThingStatusInfoEvent               β”‚ ERROR

So if for some reason userdata/etc/org.ops4j.pax.logging.cfg wasn’t updated (e.g. because of rejecting changes during the update), execute the following commands on the Karaf Console:

log:set WARN org.openhab.ui.paper
log:set INFO org.openhab.ui.paper.internal

Another way is to stop openHAB and add the following to userdata/etc/org.ops4j.pax.logging.cfg:

log4j2.logger.paperui.name = org.openhab.ui.paper
log4j2.logger.paperui.level = WARN
log4j2.logger.paperuiint.name = org.openhab.ui.paper.internal
log4j2.logger.paperuiint.level = INFO

Then after restarting those loggers will be set to the right log level. The exception will still show after the first restart but should be gone with the second restart.

You can also replace the whole file with the defaults that are available in this org.ops4j.pax.logging.cfg.

1 Like

I’m not that bothered with an error itself personally. Just reporting it so it’s known it’s still there.
But for peace of mind I’ll update it as you suggested

Thanks