Cancel
Deviation (functional) SKMain-61
1 vote

Felvärde som skapas för datakällor utan förfallotid ger stor loggfil

Created by Martin Videfors on 5/3/2011 11:07 PM Last Updated by Martin Videfors on 5/10/2011 10:47 PM
%
 hrs
Logged: 0  hrs

 Description

Om datakällan får problem och ett felvärde ska skapas leder det till att felvärdet försöker skapas med förfallotid som är ogiltigt för typen DateTime.

 

{BusinessAccess - Invocation} --<Warning> -- 2011-05-03 04:56:08 -- Evaluation of rule failed. Maybe due to a deleted datasource and that the timeline hasn't yet been updated. Error: The added or subtracted value results in an un-representable DateTime.
Parameter name: value
Level 1) The added or subtracted value results in an un-representable DateTime.
Parameter name: value

StackTrace for Level 1:
   at System.DateTime.AddTicks(Int64 value)
   at SwitchKing.Server.BusinessAccess.DataCollection.DataSourceAccess.DataSourceEntity.CreateFailureValue(DataSource ds, Nullable`1 forcedExpirationDate)
   at SwitchKing.Server.BusinessAccess.DataCollection.DataSourceAccess.DataSourceEntity.CreateAndSaveFailureValue(DataSource ds, Nullable`1 forcedExpirationDate, DataSourceValue& saved)
   at SwitchKing.Server.BusinessAccess.DataCollection.Brokers.EntityValueBroker.GetApplicableDataSourceValues(Int32 dataSourceId, Boolean hysteresis, EntityRule er, Boolean orderDesc)
   at SwitchKing.Server.BusinessAccess.DataCollection.Brokers.EntityValueBroker.BrokeValues(EntityRule& er)
   at SwitchKing.Server.BusinessAccess.DataCollection.Engines.RuleSetEvaluatorEngine.EvaluateRule(EntityRule er)
   at SwitchKing.Server.BusinessAccess.DataCollection.Engines.RuleSetEvaluatorEngine.EvaluateRules(List`1 rules, LogicalOperation operation)
   at SwitchKing.Server.BusinessAccess.DataCollection.Engines.RuleSetEvaluatorEngine.EvaluateRuleSet(EntityRuleSet ers)
   at SwitchKing.Server.BusinessAccess.DataCollection.RuleSetEvaluationAccess.Evaluate(EntityRuleSet ers, DataSourceEntity& dsAccess, DataSourceValueEntity& dsvAccess)
   at SwitchKing.Server.BusinessAccess.DataCollection.RuleSetEvaluationAccess.Evaluate(EntityRuleSet ers)
   at SwitchKing.Server.BusinessAccess.Invocation.Helpers.TimelineHelper.TimeLineEntryContainsStateThatIsValid(TimelineEntry entry)

 Comments (0)  Attachments (0)  History (2)  Notifications (1)  Sub Issues (0)  Parent Issues (0)  Related Issues (0)  Revisions (0)  Time Tracking (0)
There are no comments for this issue.