org.eclipse.kura.KuraInvalidMetricTypeException: Metric null value is invalid.

GitHub | pstanton | 4 months ago
  1. 0

    setting a payload metric to null should throw an exception immediately

    GitHub | 4 months ago | pstanton
    org.eclipse.kura.KuraInvalidMetricTypeException: Metric null value is invalid.

    Root Cause Analysis

    1. org.eclipse.kura.KuraInvalidMetricTypeException

      Metric null value is invalid.

      at org.eclipse.kura.core.cloud.CloudPayloadProtoBufEncoderImpl.setProtoKuraMetricValue()
    2. org.eclipse.kura
      CloudPayloadProtoBufEncoderImpl.getBytes
      1. org.eclipse.kura.core.cloud.CloudPayloadProtoBufEncoderImpl.setProtoKuraMetricValue(CloudPayloadProtoBufEncoderImpl.java:166)
      2. org.eclipse.kura.core.cloud.CloudPayloadProtoBufEncoderImpl.getBytes(CloudPayloadProtoBufEncoderImpl.java:66)
      2 frames