OH2 Snapshot #922 (Cool New Look of PaperUI)

I like the new addition of the Build # in the Start Page of OH2 ! :tada:

and the new look of PaperUI ! :thumbsup:

But (if I am not wrong)… the Start Page (http://<OH2_IP>:8080//start/index) has a bug in OH2S922… It doesn’t show the link to PaperUI…
If I navigate directly to http://<OH2_IP>:8080/paperui/index.html everything is ok.

This is my addons.cfg entry: ui = basic,paper,habpanel,habmin & misc = restdocs,homekit

edit: I also get in the log the following:

2017-05-21 09:07:27.793 [INFO ] [org.eclipse.smarthome.ui.paper      ] - FrameworkEvent INFO - org.eclipse.smarthome.ui.paper
org.osgi.framework.BundleException: The bundle class path entry "patch/" could not be found for the bundle "osgi.identity; osgi.identity="org.ecli
pse.smarthome.ui.paper"; type="osgi.bundle"; version:Version="0.9.0.201705120951"; singleton:="true""
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassPathEntry(ClasspathManager.java:176)[org.eclipse.osgi-3.10.101.v20
150820-1432.jar:]
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.buildClasspath(ClasspathManager.java:154)[org.eclipse.osgi-3.10.101.v201508
20-1432.jar:]

[.......]

2017-05-21 09:13:15.038 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui

Maybe I should open up a new issue? @Kai

I just tested #924 and cannot confirm any issue - all works as before.

Your exception sounds a bit like this one, though. But as you are not using the new rule engine in your setup, this should not be directly related. @sjka Do you maybe have any idea what might cause this exception (and as a result does not start the Paper UI fragment correctly)?

1 Like

I also upgraded to 924 and all is good now
I don’t get that exception anymore. Case closed :slight_smile:

Looks indeed like something started the bundle when the fragement was not yet available. In OSGi, the addition of a fragment will not trigger rewiring of packages, therefore the blue PaperUI - that would be expected then.

However, regarding the root-cause I have no idea. The only place I currently know which starts bundles is the new rule engine.

@Dim you don’t by any chance still have the full stacktrace of the INFO log?

Nevertheless, as it’s resolved for @Dim we can easily wait and see if it occurs again anywhere. No need to worry (yet).

Unfortunately no… I had my system at WARN level for logging and then I upgraded the snapshot from 922 to 924 and this specific INFO log entry didn’t appear anymore.

I will deploy Snapshot 922 to a test system to check if this comes up again and then I will provide a TRACE of org.eclipse.smarthome.ui.paper.