-
Notifications
You must be signed in to change notification settings - Fork 20
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
Question: NullPointerException in webhook response? #341
Comments
I'm seeing this issue too. Any help would be really great because we are stuck in the water. |
A little more digging and I'm seeing log messages like:
I also added in some additional logging in GhprbTrigger.java::getActualProject to see what project name it was looking to check. It would appear that whatever AbstractProject the trigger was using returns a null value for getFullName. Is there some other job configuration related to this that needs to be set in addition to the GitHub project URL? |
The null pointer appears to be because _project is null, so it is trying to call null.getFullName(). I am working on a fix now. This is probably happening because the project is disabled. |
Actually, we tested a bit more with this. It does appear related to a job being disabled. We had two jobs that were using the plugin but were disabled. When we removed the plugin from the build triggers, we did not see the message appear again. |
We are seeing this also, but I don't believe it has anything to do with disabled jobs for us. |
I am seeing that too. |
The work around we use is to keep commenting |
Restarting after having reenabled all my tasks did it for me. |
I've been attempting to diagnose a NullPointerException that has shown up as failed payloads from the Github webhooks page. Below is the stack trace from the 500 response from jenkins. It appears that it is complaining about getProjectName, but the job has the URL of the project set. Has this error been seen before?
The text was updated successfully, but these errors were encountered: