[JIRA] [github-oauth] (JENKINS-17916) NullPointerException when GitHub OAuth Plugin is used

2014-03-21 Thread s...@kottlerdevelopment.com (JIRA)














































Sam Kottler
 commented on  JENKINS-17916


NullPointerException when GitHub OAuth Plugin is used















Have you tried with a more recent version of the plugin built from source? I can't reproduce this, but I might just not understand the reproducer.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [github-oauth] (JENKINS-17916) NullPointerException when GitHub OAuth Plugin is used

2013-06-14 Thread brad.schepp...@gmail.com (JIRA)














































Brad Scheppler
 commented on  JENKINS-17916


NullPointerException when GitHub OAuth Plugin is used















Seeing the same error with the same versions.  Test via curl:

curl -i --user username:token https://ci.tenxer-corp.com/api/json

You can find your token at https://ci.tenxer-corp.com/user/yourusername/configure and then click "Show API Token..." button.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


[JIRA] [github-oauth] (JENKINS-17916) NullPointerException when GitHub OAuth Plugin is used

2013-05-10 Thread cliff...@java.net (JIRA)














































cliffano
 created  JENKINS-17916


NullPointerException when GitHub OAuth Plugin is used















Issue Type:


Bug



Assignee:


Sam Kottler



Components:


github-oauth



Created:


10/May/13 11:49 AM



Description:


Using Jenkins 1.514 and GitHub OAuth Plugin 0.13.1

I've configured Jenkins to use Github Authentication Plugin security realm and I try to use Jenkins API token to authenticate, I got this stack trace:

NullPointerException:

java.lang.NullPointerException
	at org.jenkinsci.plugins.GithubSecurityRealm.loadGroupByGroupname(GithubSecurityRealm.java:459)
	at org.jenkinsci.plugins.GithubSecurityRealm.loadUserByUsername(GithubSecurityRealm.java:428)
	at hudson.model.User.impersonate(User.java:256)
	at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:52)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
	at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
	at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227)
	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:679)

According to this wiki page, any security realm used should work seamlessly with basic auth. https://wiki.jenkins-ci.org/display/JENKINS/Authenticating+scripted+clients




Project:


Jenkins



Priority:


Major



Reporter:


cliffano

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.