Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Problem with rules at startup #2694

Closed
Nawygator opened this issue Dec 22, 2016 · 4 comments
Closed

Problem with rules at startup #2694

Nawygator opened this issue Dec 22, 2016 · 4 comments

Comments

@Nawygator
Copy link

Hey there,
at startup of OpenHab2 there is an issue about rules, that are created by the Rule engine of PaperUI.

20:29:43.547 [INFO ] [smarthome.event.RuleStatusInfoEvent ] - rule_2 updated: NOT_INITIALIZED
20:29:43.568 [INFO ] [smarthome.event.RuleStatusInfoEvent ] - rule_2 updated: NOT_INITIALIZED (CONFIGURATION_ERROR): Validation of rule rule_2 has failed! Condition Type "ItemStateCondition" does not exist!
20:29:43.572 [INFO ] [smarthome.event.RuleStatusInfoEvent ] - rule_1 updated: NOT_INITIALIZED
20:29:43.575 [INFO ] [smarthome.event.RuleStatusInfoEvent ] - rule_1 updated: NOT_INITIALIZED (CONFIGURATION_ERROR): Validation of rule rule_1 has failed! Condition Type "ItemStateCondition" does not exist!
[...]

If you disable every rule and then enable them again manually they work fine.
As i saw in the OH Community, im not the only one with this problem.

Greetings

PS:
Just for Information my current System:
RPi 3 with Raspbian Jessy
openHAB 2 Snapshot 663
Java 8u111

@kaikreuzer
Copy link
Contributor

@danchom The openHAB distro contains the very latest ESH code. I have seen the same effect, the module handlers actually aren't available on a first start.
I think it could be caused by #2413, because I have seen similar exceptions about cyclic service dependencies in my log.

@danchom
Copy link
Contributor

danchom commented Dec 23, 2016

I'll check the problem.

danchom pushed a commit to danchom/smarthome that referenced this issue Dec 23, 2016
The rule didn't update their states when module type appeared.

Signed-off-by: Yordan Mihaylov <j.mihailov@prosyst.bg>
@danchom
Copy link
Contributor

danchom commented Dec 23, 2016

I think the PR #2696 will fix the problem.

@dikkedimi
Copy link

Hi Kaikreuzer, this is my exact issue with the current openhab snapshot release!

chaton78 pushed a commit to chaton78/smarthome that referenced this issue May 7, 2017
…archived#2696)

The rule didn't update their states when module type appeared.

Signed-off-by: Yordan Mihaylov <j.mihailov@prosyst.bg>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants