Skip to content

Embedded PostgreSQL fails to initialize but works after system restart #146

Open
@hongmiao-wu

Description

@hongmiao-wu
Exception in thread "main" java.lang.IllegalStateException: Process [/var/folders/dc/rmhssxvx42z7vcp49_md0_d80000gp/T/embedded-pg/PG-ba8cd9274b4f86c8aaab345231d9cd72/bin/initdb, -A, trust, -U, postgres, -D, /var/folders/dc/rmhssxvx42z7vcp49_md0_d80000gp/T/epg5263820244045919672, -E, UTF-8] failed
    at [email protected]/io.zonky.test.db.postgres.embedded.EmbeddedPostgres.system(EmbeddedPostgres.java:633)
    at [email protected]/io.zonky.test.db.postgres.embedded.EmbeddedPostgres.initdb(EmbeddedPostgres.java:250)
    at [email protected]/io.zonky.test.db.postgres.embedded.EmbeddedPostgres.<init>(EmbeddedPostgres.java:157)
    at [email protected]/io.zonky.test.db.postgres.embedded.EmbeddedPostgres$Builder.start(EmbeddedPostgres.java:584)
    at [email protected]/org.jabref.logic.search.PostgreServer.<init>(PostgreServer.java:27)
    at [email protected]/org.jabref.Launcher.main(Launcher.java:42)

Environment
zonky.test:embedded-postgres:2.1.0
Application: JabRef
OS: macOS 13.4
IntelliJ IDEA 2022.2.3
Java 23

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions