Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task/set geometry null value when invalid format #2381

Merged
merged 5 commits into from
Jun 10, 2024

Conversation

AlvaroVega
Copy link
Member

@AlvaroVega AlvaroVega commented Jun 10, 2024

Continuation of PR #2380

related with log:

time=2024-06-07T12:35:39.822Z | lvl=ERROR | corr=0c8ad6ce-3867-45b7-83ad-e01fcfc61686; cbnotif=1 | trans=fa366403-1782-4545-8273-d912c007dc6b | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=persistAggregation | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[403] : [arcgis-sink-no-nm] Error persisting batch, NullPointerException - Cannot invoke "com.telefonica.iot.cygnus.backends.arcgis.model.Geometry.toJSON()" because the return value of "com.telefonica.iot.cygnus.backends.arcgis.model.Feature.getGeometry()" is null
time=2024-06-07T12:35:39.822Z | lvl=ERROR | corr=0c8ad6ce-3867-45b7-83ad-e01fcfc61686; cbnotif=1 | trans=fa366403-1782-4545-8273-d912c007dc6b | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=persistBatch | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[310] : [arcgis-sink-no-nm] Error persisting batch, CygnusRuntimeError.CygnusRuntimeError. Cannot invoke "com.telefonica.iot.cygnus.backends.arcgis.model.Geometry.toJSON()" because the return value of "com.telefonica.iot.cygnus.backends.arcgis.model.Feature.getGeometry()" is null.

@AlvaroVega AlvaroVega marked this pull request as ready for review June 10, 2024 08:08
Copy link
Member

@fgalan fgalan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fgalan fgalan merged commit 5907e65 into master Jun 10, 2024
7 checks passed
@fgalan fgalan deleted the task/set_geometry_null_value_when_invalid_format branch June 10, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants