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

GitHub | pstanton | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    setting a payload metric to null should throw an exception immediately

    GitHub | 9 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