Skip to content

Cannot build project when special character presents in the path of the project #11871

@haijian-vaadin

Description

@haijian-vaadin

Description of the bug / feature

Got the following error when trying to run/build an application whose path has a special character.

[ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:22.0.0.alpha3:prepare-frontend (default) on project special-character: Could not execute prepare-frontend goal.: Cannot invoke "String.replace(char, char)" because "path" is null -> [Help 1]

Minimal reproducible example

  1. Create a folder which has special characters, e.g. äbc
  2. Download a Vaadin 22 Flow starter project (could just use the default one)
  3. Put the zip file into the äbc folder, unzip and run the application

Expected behavior

The application runs

Actual behavior

Got the above mentioned error message and the application cannot start

Versions:

- Vaadin / Flow version: Vaadin 22 alpha3
- Java version: openJDK Runtime Environment Corretto-16.0.1.9.1 (build 16.0.1+9)
- OS version: macOs big sur 11.5.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    ✅ Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions