Skip to content

An attempt to update a repository triggers NPE #14

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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