Openhab2 startup fails with missing nrjavaserialđź«™ 3.12.0.OH after apt-get upgrade

After apt-get upgrade I am getting this error:

2016-12-28 23:24:34.452 [WARN ] [url.mvn.internal.AetherBasedResolver] - Error resolving artifact org.openhab:nrjavaserial:jar:3.12.0.OH: [Could not find artifact org.openhab:nrjavaserial:jar:
3.12.0.OH in oh-releases-repo (https://jcenter.bintray.com/), Could not find artifact org.openhab:nrjavaserial:jar:3.12.0.OH in esh-release-repo (https://repo.eclipse.org/content/repositories/
releases/)]
java.io.IOException: Error resolving artifact org.openhab:nrjavaserial:jar:3.12.0.OH: [Could not find artifact org.openhab:nrjavaserial:jar:3.12.0.OH in oh-releases-repo (https://jcenter.bintr
ay.com/), Could not find artifact org.openhab:nrjavaserial:jar:3.12.0.OH in esh-release-repo (https://repo.eclipse.org/content/repositories/releases/)]
        at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:720)[7:org.ops4j.pax.url.mvn:2.5.2]
        at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:659)[7:org.ops4j.pax.url.mvn:2.5.2]
        at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:600)[7:org.ops4j.pax.url.mvn:2.5.2]
        at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:567)[7:org.ops4j.pax.url.mvn:2.5.2]
        at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download(MavenDownloadTask.java:36)[8:org.apache.karaf.features.core:4.0.8]
        at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:60)[8:org.apache.karaf.features.core:4.0.8]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_65]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_65]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_65]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_65]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_65]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_65]
        at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]

Seems this library just got updated:
https://openhab.ci.cloudbees.com/job/openHAB-Core/lastSuccessfulBuild/changes#ba9ff5389f089629eb6560295be0fd6ffc4bb795

Maybe 3.12 still missing in the installation/upgrade ?

getting the same error when upgrading to snapshot #682

2016-12-29 09:07:35.986 [WARN ] [url.mvn.internal.AetherBasedResolver] - Error resolving artifact org.openhab:nrjavaserial:jar:3.12.0.OH: [Could not find artifact org.openhab:nrjavaserial:jar:3.12.0.OH in oh-releases-repo (https://jcenter.bintray.com/), Could not find artifact org.openhab:nrjavaserial:jar:3.12.0.OH in esh-release-repo (https://repo.eclipse.org/content/repositories/releases/), Could not find artifact org.openhab:nrjavaserial:jar:3.12.0.OH in esh-release-repo (https://repo.eclipse.org/content/repositories/releases/)]
java.io.IOException: Error resolving artifact org.openhab:nrjavaserial:jar:3.12.0.OH: [Could not find artifact org.openhab:nrjavaserial:jar:3.12.0.OH in oh-releases-repo (https://jcenter.bintray.com/), Could not find artifact org.openhab:nrjavaserial:jar:3.12.0.OH in esh-release-repo (https://repo.eclipse.org/content/repositories/releases/), Could not find artifact org.openhab:nrjavaserial:jar:3.12.0.OH in esh-release-repo (https://repo.eclipse.org/content/repositories/releases/)]
[...]

Maybe the version number is wrong? (OH2 is trying to find 3.12.0.OH while online exists version 3.12.1.OH ?

Uhhh… I just wanted to update from #643 to #68x yesterday. Luckily it didn’t work because of a failed build, so I didn’t ran into this error yet.

Seems like the revertion of the lib didn’t went well.

@Kai: Could you please take a look? Thanks!

I have the same problem after upgrading from build #677 to #681. #682 shows same behaviour.

I have the same problem after upgrading. Seems to result in the GUI never exiting the “Welcome screen”.

The lib wasn’t yet published to JCenter, where the online distro looks for it. It should now be available: http://jcenter.bintray.com/org/openhab/nrjavaserial/3.12.0.OH/

The problem was imho only with the online distro, offline should have worked nicely. So please retry installing your addons, it should hopefully work.

Thanks, my online distro is working nicely again.

Thanks @Kai. Now working again :slight_smile: