Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366094 - NPE in GitCloneHandlerV1
Summary: NPE in GitCloneHandlerV1
Status: CLOSED DUPLICATE of bug 369909
Alias: None
Product: Orion
Classification: ECD
Component: Git (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P4 normal (vote)
Target Milestone: 0.4 RC1   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-08 14:27 EST by John Arthorne CLA
Modified: 2012-02-09 07:16 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***