Skip to content

From datasource fails for PostgreSQL view with NullPointerException and stuck progress #29

@PZahnen

Description

@PZahnen

ldproxy editor Version

v2.0.2

Current Behavior

When creating a configuration via From datasource against PostgreSQL (database alkis_lurchingen, view ALKIS.test_v11001), the process fails with:

Unexpected error: Cannot invoke de.ii.xtraplatform.features.domain.FeatureSchema.getProperties() because featureSchema is null

Progress never completes and stays stuck at:
details = {progress: ..., currentTable: ALKIS.test_v11001, currentCount: 0, targetCount: 1}

The view exists and is readable in PostgreSQL. Permissions are also correct (user postgres, SELECT on both view and base table works).

Expected Behavior

From datasource should successfully generate a configuration for the selected view, or fail with a clear domain-specific error message (for example, which metadata could not be read).
It should not fail with a NullPointerException on featureSchema, and it should not stall at currentCount 0/1.

Steps to Reproduce

Start From datasource in the editor.
Select schema ALKIS and view test_v11001.
Start configuration generation.
Observe the failure: Unexpected error ... featureSchema is null, and progress stuck at 0/1 for ALKIS.test_v11001.

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions