Informatievlaanderen / VSDS-LDESServer4J

Linked Data Event Streams Server for Java
https://informatievlaanderen.github.io/VSDS-LDESServer4J
European Union Public License 1.2
8 stars 8 forks source link

Cannot invoke "String.length()" because "predicateNameSpace" is null #1306

Open razoreater opened 4 weeks ago

razoreater commented 4 weeks ago

Describe the bug After setting up a LDES stream, view and pipeline. And then posting data trough the pipeline or via the server we receive the following error on the view:

Cannot invoke "String.length()" because "predicateNameSpace" is null

image

To Reproduce Set-up the stream and pipeline with the following config: See added zipfile for the config files:

config_files.zip

  1. lpdc.ttl for the streamconfig
  2. by-page.ttl for the view
  3. lpdc-pipeline.yaml for the pipeline
  4. Fiche3.json for sample data

Expected behavior The data is place on the LDES without issues and can be viewed on the stream

Additional context We are testing this on version 2.14.0, and have no issues with the same config on version 2.10.0.

Yalz commented 2 weeks ago

Intermediate update from @ferre-vaes (freely translated to English)

The error is thrown in the IngestEndpointFilter.doFilterInternal en is caught by the AdminRestResponseEntityExceptionHandlerbut I don't see why that this filter is now throwing the error since there is no difference in when the code still used to work The problem is between commit 6d17fdab2276fda002fc4b420855a3670785579f and 4189b1978f8047b41a3290f4c3d3b9885afa8f6c but there in between are commits that do not even compile so I can not test these using git bisect

Yalz commented 1 week ago

Hi @razoreater , I noticed from your ES config that

So as far as i understand from the data you provided, you try to create a version object from an already versioned object, and then ingest it into an LDES that has been configured to allow only state objects ? Did I understand that correctly?

razoreater commented 1 week ago

Thanks for the feedback @Yalz , we try to test this as soon as possible. And we'll keep you posted, this might take a while as the summer vacations almost start.