Skip to content

Cannot invoke "com.crowdin.client.sourcefiles.model.Branch.getName() #932

@NogaMan

Description

@NogaMan

Describe the bug
I use npx crowdin push sources --plain --branch=xyz-page in my GH workflow to push sources in pull requests

Sometimes I am getting error:

❌ Cannot invoke "com.crowdin.client.sourcefiles.model.Branch.getName()" because the return value of "java.util.Map.get(Object)" is null

Restart usually helps, but the problem becomes really annoying.

To Reproduce
Not sure how to reproduce, just run npx crowdin push sources --plain --branch=xyz-page and somtimes it happens

Expected behavior
No error

Environment:
Ubuntu
24.04.2
LTS
CLI v 4.8.0

Screenshots
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions