Skip to content

An attempt to update a repository triggers NPE #14

@oferhaze

Description

@oferhaze

I'm using Bintray java client 0.9.0
An example of repository update:
RepositoryDetails repo1=new RepositoryDetails()
repo1.setDescription("this is a new description")
bintray.subject(username).repository("boxes").update(repo1)

The next exception is triggered by these lines:
Caught: java.lang.NullPointerException
java.lang.NullPointerException
at com.jfrog.bintray.client.impl.model.RepositoryImpl.getUpdateJson(RepositoryImpl.java:82)
at com.jfrog.bintray.client.impl.handle.RepositoryHandleImpl.update(RepositoryHandleImpl.java:75)
at com.jfrog.bintray.client.api.handle.RepositoryHandle$update.call(Unknown Source)
at editRepository.run(editRepository.groovy:37)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions