You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampipes.apache.org by "tenthe (via GitHub)" <gi...@apache.org> on 2024/07/29 14:19:00 UTC
[I] NullPointer in DataLakeMeasureResourceV4.getDataLakeInfos
tenthe opened a new issue, #3072:
URL: https://github.com/apache/streampipes/issues/3072
### Body
In `DataLakeMeasureResourceV4.getDataLakeInfos` (/api/v4/datalake/measure?filter=measurementName), a NullPointerException occurs if the `measurementName` does not exist.
The API should return an error message indicating that there is no measure with the provided `measurementName`.
### StreamPipes Committer
I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] NullPointer in DataLakeMeasureResourceV4.getDataLakeInfos
Posted by "tenthe (via GitHub)" <gi...@apache.org>.
tenthe commented on issue #3072:
URL: https://github.com/apache/streampipes/issues/3072#issuecomment-2257515970
Ok, thanks, I have marked this parameter as mandatory. Since the API endpoint and the parameters are somewhat unfavorably named, I will also change this. I will describe the change in the PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] NullPointer in DataLakeMeasureResourceV4.getDataLakeInfos
Posted by "tenthe (via GitHub)" <gi...@apache.org>.
tenthe closed issue #3072: NullPointer in DataLakeMeasureResourceV4.getDataLakeInfos
URL: https://github.com/apache/streampipes/issues/3072
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] NullPointer in DataLakeMeasureResourceV4.getDataLakeInfos
Posted by "Sylvain2703 (via GitHub)" <gi...@apache.org>.
Sylvain2703 commented on issue #3072:
URL: https://github.com/apache/streampipes/issues/3072#issuecomment-2256148781
This issue also occurs when the `filter` query param is not provided (eg. `/api/v4/datalake/measure`). I tried without `filter` parameter because the OpenAPI definition doesn't mention it as required.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org