Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException in org.kohsuke.github.GHContent.read #414

Closed
turbanoff opened this issue Feb 17, 2018 · 1 comment
Closed

NullPointerException in org.kohsuke.github.GHContent.read #414

turbanoff opened this issue Feb 17, 2018 · 1 comment

Comments

@turbanoff
Copy link
Contributor

turbanoff commented Feb 17, 2018

Hello.
I'm trying to use github search API and sometimes got NPE. (tailApiUrl is null)

Exception in thread "main" java.lang.NullPointerException
at org.kohsuke.github.GitHub.getApiURL(GitHub.java:297)
at org.kohsuke.github.Requester.asStream(Requester.java:327)
at org.kohsuke.github.GHContent.read(GHContent.java:117)

Used version: org.kohsuke:github-api:1.92

default

@kohsuke
Copy link
Collaborator

kohsuke commented Aug 30, 2018

I wonder if '#' in the file name is tripping up something.

The repository seems to be gone, but can you create a test case for me?

(Marking as closed until the additional information arrives, please reopen when you have more data)

@kohsuke kohsuke closed this as completed Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants