Skip to content

[SentryCatch] Sourceanalytix.calculationHandler #1198

Description

@DutchmanNL
Sentry Issue: [IOBROKER-SOURCEANALYTIX-13C](https://sentry.iobroker.net/organizations/iobroker/issues/168735/?referrer=github_integration)

Error: [[calculationHandler] 0_userdata.0.Zaehlerstaende.Abwasser with config undefined] error: Cannot read properties of undefined (reading 'firstActivation'), stack: TypeError: Cannot read properties of undefined (reading 'firstActivation')
    at Sourceanalytix.calculationHandler (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:2605:35)
    at Sourceanalytix.onStateChange (/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:1898:6)
  File "/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js", line 2605, in Sourceanalytix.calculationHandler
    if (this.activeStates[stateID].firstActivation) {
  File "/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js", line 1898, in Sourceanalytix.onStateChange
    await this.calculationHandler(id, state);
  File "/opt/iobroker/node_modules/@sentry/opentelemetry/node_modules/@sentry/core/src/scope.ts", line 698, in Scope.captureException
  File "/opt/iobroker/node_modules/@sentry/node/node_modules/@sentry/core/src/exports.ts", line 32, in Module.captureException
  File "/opt/iobroker/node_modules/iobroker.sourceanalytix/main.js", line 3017, in Sourceanalytix.errorHandling
    sentryInstance.getSentryObject().captureException(msg);
...
(2 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions