Unable to create vcs root for private github project - build 17521

I am using the following settings: fetch URL in the following format : git@github.com:abc/xyz.git user name style : userid(jsmith) authentication method: have tried both private key and default private key providing username in the username field providing the correct path to private key file in case I select private key option the key pair  I am using do not have any passphrase protection,so this field is left blank providing path to git : /usr/bin  This is on centos  I can clone from command line and ssh git@github.com works. I also have the right entries in the config and known hosts file.  Here is the error stacktrace from the teamcity-server.log

Method: POST Remote address: 122.163.56.103
Param: publicKey = [008e83ec11c833470c3aade01cdd5fd42dff97524dee2df60499fadbeb8739ghbce9d14da9389cb8b14f10199f24d214e3398955
63b8740d40755d4412c3136a7b9b67c7d9e80155436e827c5ced88e9eefba2507cd10ce60e45bd29275936884d54b56dc8655d3f29ff932e1f79f73f28dc9
b5732cd8393aff0ce1a9c5f344701d]
Param: prop:encrypted:secure:passphrase = [6b9acd39d84819b8b4e74f3037eedd942ae66342ebb21d6cd7a8c5f91d0f4b10dae87931a00aee205da
b95e25742836dd7f53c0ba069956f6b7e601e866f3d670e16d4c33c1772c882e749e96fca4ba12da5db17ec2ed7f57b0c17cefdf72f30659e5318448b19558a
d4dbd40f3bd5caf0be900cc03d1353baa6e41995806]
Param: prop:ignoreKnownHosts = [true]
Param: modificationCheckInterval = [60]
Param: modificationCheckIntervalMode = [DEFAULT]
Param: prop:push_url = []
Param: prop:authMethod = [PRIVATE_KEY_FILE]
Param: vcsRootId = [] Param: editingScope = [editProject:project2]
Param: vcsRootName = [interview | United Partners]
Param: action = [addVcsRoot] Param: prop:usernameStyle = [USERID]
Param: _ = [] Param: prop:branch = [master]
Param: prop:username = [pronam]
Param: prop:submoduleCheckout = [CHECKOUT]
Param: prop:path = []
Param: prop:agentCleanFilesPolicy = [ALL_UNTRACKED]
Param: submitVcsRoot = [testConnection]
Param: _globalScope = []
Param: prop:encrypted:secure:password = [5cd180832b24f230290682b20cde5b27f091d329211f61255e218914
a5f81d8dut6478d8677ad350c880602874fbae1a23fce47f37b362875f18824ece63e254eb28e1802a44c2a0bbf0a4dae66606
155095e0c3903eb9f3759c9a44a691bfb4a4fee865f273d607a2d07598ba314c60086f2329ea8a0a7a3f3d02c37856263]
Param: prop:agentGitPath = [/usr/bin]
Param: saveOption = [SAVE_FOR_ALL]
Param: prop:url = [git@github.com:abc/xyz.git]
Param: vcsName = [jetbrains.git]
Param: prop:agentCleanPolicy = [ON_BRANCH_CHANGE]
Param: prop:privateKeyPath = [/home/pronam/id_rsa]  
java.lang.NullPointerException      at org.eclipse.jgit.transport.URIish.
(URIish.java:195)      
at jetbrains.buildServer.buildTriggers.vcs.git.VcsPropertiesProcessor.process(VcsPropertiesProcessor.java:50)      
at jetbrains.buildServer.controllers.ActionErrors.fillErrors(ActionErrors.java:129)      
at jetbrains.buildServer.controllers.admin.projects.EditVcsRootsController.doPost(EditVcsRootsController.java:26)      
at jetbrains.buildServer.controllers.BaseFormXmlController$1.handleRequest(BaseFormXmlController.java:54)      
at jetbrains.buildServer.controllers.AjaxRequestProcessor.processRequest(AjaxRequestProcessor.java:45)      
at jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(BaseFormXmlController.java:52)      
at jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:73)      
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)      
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)      
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)     
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)      


I have removed or modified the confidential info in the log above but the relevant bits are intact. Any help is much appraciated.



Message was edited by: Pronam
1 comment
Comment actions Permalink

Hi Pronam,
please install a build of git-plugin attached to http://youtrack.jetbrains.net/issue/TW-16225, it contains a fix.

0

Please sign in to leave a comment.