Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366094

Summary: NPE in GitCloneHandlerV1
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: GitAssignee: Tomasz Zarna <tomasz.zarna>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P4 CC: Szymon.Brandys
Version: 0.3   
Target Milestone: 0.4 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-12-08 14:27:10 EST
I20111206

I found this in the server log on orion.eclipse.org. Don't know any more details about cause, side-effects, or reproducibility...


java.lang.NullPointerException
        at org.eclipse.orion.server.git.servlets.GitCloneHandlerV1.handleGet(GitCloneHandlerV1.java:236)
        at org.eclipse.orion.server.git.servlets.GitCloneHandlerV1.handleRequest(GitCloneHandlerV1.java:66)
        at org.eclipse.orion.server.git.servlets.GitCloneHandlerV1.handleRequest(GitCloneHandlerV1.java:1)
        at org.eclipse.orion.server.git.servlets.GitHandlerV1.handleRequest(GitHandlerV1.java:65)
        at org.eclipse.orion.server.git.servlets.GitHandlerV1.handleRequest(GitHandlerV1.java:1)
        at org.eclipse.orion.server.git.servlets.ServletGitHandler.handleRequest(ServletGitHandler.java:49)
        at org.eclipse.orion.server.git.servlets.ServletGitHandler.handleRequest(ServletGitHandler.java:1)
        at org.eclipse.orion.server.git.servlets.GitServlet.doGet(GitServlet.java:39)
Comment 1 Tomasz Zarna CLA 2012-02-01 11:32:21 EST
From a little bit outdated stack it seems that there was a problem with PUT on the Clone resource; the method is used to checkout a branch or tag. I will try to have a look at it next week.
Comment 2 Tomasz Zarna CLA 2012-02-09 07:16:35 EST
I have no idea why I thought it was a PUT request when the stack trace clearly states the NPE was in GitCloneHandlerV1#handleGet method. This has been already fixed in bug 369909.

*** This bug has been marked as a duplicate of bug 369909 ***