Skip to content

DBPTK Desktop - Windows filepath causes unicode escape sequence error on SIARD load #601

@seso-kdrs

Description

@seso-kdrs

When opening a SIARD file at a path containing "\u", an exception happens:

Log:

2025-12-11 15:43:16,164 [http-nio-auto-1-exec-4] WARN c.d.c.a.e.RestResponseEntityExceptionHandler - ERROR_ID: c6bbb461-47b8-4c32-b5f4-90b956a9e673 - RESTException: Could not query index, message: Error from server at http://localhost:18984/solr/dbv-databases_shard1_replica_n1/select?q=%28siard_path%3A%22C%3A%5Cupload%5Cdemo.siard%22%29&fq=%28content_type%3A%22database%22%29&sort=uuid+asc&start=0&rows=10&fl=uuid&facet.sort=count&_stateVer_=dbv-databases%3A18&wt=javabin&version=2: org.apache.solr.search.SyntaxError: Non-hex character in Unicode escape sequence: p
2025-12-11 15:43:16,175 [http-nio-auto-1-exec-3] ERROR c.d.c.c.c.utils.AsyncCallbackUtils - [0:0:0:0:0:0:0:1] AsyncCallback error - Request was not valid

To reproduce:

  1. Store a SIARD file at a path containing a "\u" somewhere (in my example at C:\upload)
  2. Open the SIARD file in DBPTK desktop

Tested on DBPTK Desktop 3.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions