Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Reading a gist in anonymonous mode causes error #166

Copy link
Copy link
Closed
@madhephaestus

Description

@madhephaestus
Issue body actions

When I run

GitHub github = GitHub.connectAnonymously();

GHGist gist = github.getGist(currentGist);

I get the following exception:

java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:464)
at org.kohsuke.github.GitHub.getUser(GitHub.java:293)
at org.kohsuke.github.GHGist.wrapUp(GHGist.java:106)
at org.kohsuke.github.GitHub.getGist(GitHub.java:370)
at ...

SInce i connected anynomously, why is it asking for the user? Is there something i can set to get it to ignore this?

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.