Error on weather binding when starting openHAB2

@dominicdesu Already any ideas on how that can be solved?

I opened an ussue:

Unfortunately not. With my very limited knowledge about OSGi only more questions arise while I try to research the issue :confused:
Here is one more, possibly related, link which I came across:<9F69795E29C890408AC2DAF646C89BB3799D4454F6@MAILBOX.arc.local>

I hope somebody else can look into and solve this issue…

Dominic, which JVM are you using? This error reminds of an issue I encountered before where there was a difference between the java xml jars included in different JVMs.

On my side, here is my JVM version:

java version "1.8.0"
Java™ SE Runtime Environment (build 1.8.0-b132)
Java HotSpot™ Client VM (build 25.0-b70, mixed mode)

So the JVM does not seem the reason.
I think the hottest link is - as this post was from @cschneider111, maybe he can help us here?

I will look into it. It seems somehow the schema is not recognized.
I have seen a similar thing when the annoation packages were not imported as then these informations are missing.

Just looked into the source code and Manifest. I think the Import-Package for
javax.xml.bind.annotation is missing.

The unmarshaller problem is fixed with the latest build.

Now there is another issue:

23:39:46.995 [ERROR] [.weather.internal.bus.WeatherBinding] - Error activating WeatherBinding: CommonId for provider YAHOO with id 0 already exists
java.lang.IllegalArgumentException: CommonId for provider YAHOO with id 0 already exists
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_40]
	at sun.reflect.NativeMethodAccessorImpl.invoke([:1.8.0_40]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke([:1.8.0_40]
	at java.lang.reflect.Method.invoke([:1.8.0_40]
	at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(

Added for tracking.

I’ve opened a PR for the weather binding on OH2. Please try this test JAR to verify the fix and report back either here or on github. Thank you!

The test jar is working for me with Wunderground provider.

1 Like

Confirmed here as well with WU and the latest 2.0 snapshot. Thanks @watou

1 Like

Is this jar File integrated in b2?

Yes, the weather binding is working well in OH2 beta 2.

1 Like

can you share how you got weather binding working on openhab2? Mine doesn’t work. I get this message:

016-05-26 17:59:41.089 [ERROR] [org.apache.felix.configadmin ] - [, org.osgi.service.event.EventHandler, id=273, bundle=190/mvn:org.openhab.binding/]: Updating property weather of configuration caused a problem: Empty property ‘’, please check your openhab.cfg! weather : Empty property ‘’, please check your openhab.cfg!

the same problem here!
Might be weather binding has some really trouble in OH2

It’s running fine in my setup. Please post your weather config, so we can check the issue.

I guess @Nguy_n_Phuc_Anh_D_ng posted his configuration in here

@opus Yes, saw it when I continued reading the new posts.

@Nguy_n_Phuc_Anh_D_ng you should stop posting the same issue in multiple conversations. This will not provide faster help/solutions.

Ok I’m really sorry about that!
Just because I’m too hurry for my project
Hope you guys can sympathize
I’ll remember next time not to post so many similar posts