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

Bug 443243

Summary: [server] AssertionFailedException thrown by GitFileDecorator.addGitLinks
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: GitAssignee: Bogdan Gheorghe <gheorghe>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: gheorghe
Version: unspecified   
Target Milestone: 8.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2014-09-03 14:12:23 EDT
When looking at the server logs, this exception has occurred six times this morning with last night's build:

!ENTRY org.eclipse.orion.server.core 4 0 2014-09-03 10:16:21.445
!MESSAGE Internal server error
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: null argument:
        at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
        at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
        at org.eclipse.core.runtime.Path.initialize(Path.java:577)
        at org.eclipse.core.runtime.Path.<init>(Path.java:163)
        at org.eclipse.orion.server.git.GitFileDecorator.addGitLinks(GitFileDecorator.java:120)
        at org.eclipse.orion.server.git.GitFileDecorator.addAtributesFor(GitFileDecorator.java:101)
        at org.eclipse.orion.server.servlets.OrionServlet.decorateResponse(OrionServlet.java:111)
        at org.eclipse.orion.server.servlets.OrionServlet.writeJSONResponse(OrionServlet.java:74)
        at org.eclipse.orion.server.servlets.OrionServlet.writeJSONResponse(OrionServlet.java:64)
        at org.eclipse.orion.internal.server.servlets.file.DirectoryHandlerV1.handleGet(DirectoryHandlerV1.java:68)
        at org.eclipse.orion.internal.server.servlets.file.DirectoryHandlerV1.handleRequest(DirectoryHandlerV1.java:279)
        at org.eclipse.orion.internal.server.servlets.file.DirectoryHandlerV1.handleRequest(DirectoryHandlerV1.java:1)
        at org.eclipse.orion.internal.server.servlets.file.ServletFileStoreHandler.handleDirectory(ServletFileStoreHandler.java:144)
        at org.eclipse.orion.internal.server.servlets.file.ServletFileStoreHandler.handleRequest(ServletFileStoreHandler.java:173)
        at org.eclipse.orion.internal.server.servlets.file.ServletFileStoreHandler.handleRequest(ServletFileStoreHandler.java:1)
        at org.eclipse.orion.internal.server.servlets.file.NewFileServlet.doGet(NewFileServlet.java:100)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
Comment 1 Anthony Hunter CLA 2014-09-15 10:27:45 EDT
This error has occurred 63 times in the last log on http://orion.eclipse.org
Comment 2 Anthony Hunter CLA 2014-10-20 11:05:44 EDT
This problem is still occurring with the latest build. Raising to major, this needs to be fixed before 7.0 GA.
Comment 3 Anthony Hunter CLA 2014-10-20 11:07:42 EDT
Pretty sure this was introduced with the new Git page work. Can you confirm Bogdan?
Comment 4 Anthony Hunter CLA 2015-01-21 17:27:12 EST
This problem is no longer in the logs on orionhub.org since the eclipse-20140813-1542 build, so marking resolved.