Skip to content

Failed to download from custom PaperMC URL #575

@tyriis

Description

@tyriis

I encounter the following error when using minecraft-server versions never then:

ghcr.io/itzg/minecraft-server:java21@sha256:ff2c94f58df7b73b54ae9c1ad0caf38da1b4e76868141af9079c699d0558a188 (this one it the last working one).

this is the error from:
ghcr.io/itzg/minecraft-server:java21@sha256:7af7ef147855d0b7286cd10107ca89a9c87a60ac4d7225cefc6cd6c95cd04721

java.lang.NullPointerException: Cannot invoke "String.toUpperCase()" because "this.inputs.coordinates.project" is null                                                                                                                                      
    at me.itzg.helpers.paper.InstallPaperCommand.call(InstallPaperCommand.java:146)                                                                                                                                                                         
    at me.itzg.helpers.paper.InstallPaperCommand.call(InstallPaperCommand.java:41)                                                                                                                                                                          
    at picocli.CommandLine.executeUserObject(CommandLine.java:2031)                                                                                                                                                                                         
    at picocli.CommandLine.access$1500(CommandLine.java:148)                                                                                                                                                                                                
    at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2469)                                                                                                                                                   
    at picocli.CommandLine$RunLast.handle(CommandLine.java:2461)                                                                                                                                                                                            
    at picocli.CommandLine$RunLast.handle(CommandLine.java:2423)                                                                                                                                                                                            
    at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)                                                                                                                                                                        
    at picocli.CommandLine$RunLast.execute(CommandLine.java:2425)                                                                                                                                                                                           
    at picocli.CommandLine.execute(CommandLine.java:2174)                                                                                                                                                                                                   
    at me.itzg.helpers.McImageHelper.main(McImageHelper.java:178)                                                                                                                                                                                           
[init] 2025-06-14 18:26:52+02:00 [ERROR] Failed to download from custom PaperMC URL 

Has something changed that i missesd? the paper url is in the given version

PAPER_DOWNLOAD_URL: https://api.papermc.io/v2/projects/paper/versions/1.21.5/builds/113/downloads/paper-1.21.5-113.jar

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions