[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Call to set event active when state is not active  XML
Forum Index » Development general discussion
Author Message
craig

Initiate

Joined: 06/08/2007 16:50:46
Messages: 146
Offline

In case anyone runs into this message it is because the point value has changed in between the time the point event detector was triggered and the point event detector delay expired and the new point value has caused the point event detector to be set to inactive. Generated from a multistate point on a virtual data source:

WARN 2010-01-12 06:05:48,450 (com.serotonin.mango.rt.event.detectors.StateDetectorRT.setEventActive:94) - Call to set event active when state is not active. Ignoring.






The event detector had a delay of 1 second. It looks like pointChanged was called again before the one second delay on setEventActive was up. I've removed the delay and will see if the message still occurs.
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1506
Offline

Hi Craig,

Is this version 1.8.0? Can you turn on the submission of exception messages to Serotonin (in the settings page)? I've seen this message before, and have some instrumentation in the code to track down the cause.

Best regards,
Matthew Lohbihler
 
Forum Index » Development general discussion
Go to:   
Powered by JForum 2.1.9 © JForum Team