Bug 345246

Summary: [server] testCloneNotGitRepository failed in N201105092000
Product: [ECD] Orion (Archived) Reporter: Tomasz Zarna <tomasz.zarna>
Component: ClientAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: john.arthorne
Version: 0.2Keywords: test
Target Milestone: 0.2   
Hardware: PC   
OS: Windows XP   
URL: http://download.eclipse.org/e4/orion/drops/N201105092000/org.eclipse.orion.server.tests.AllServerTests.html
Whiteboard:

Description Tomasz Zarna CLA 2011-05-10 07:11:26 EDT
The operation took too long 

java.lang.AssertionError: The operation took too long
at org.eclipse.orion.server.tests.servlets.git.GitTest.waitForTaskCompletion(GitTest.java:212)
at org.eclipse.orion.server.tests.servlets.git.GitCloneTest.testCloneNotGitRepository(GitCloneTest.java:154)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:416)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:249)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:36)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:32)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 Tomasz Zarna CLA 2011-05-10 09:12:17 EDT
The above is caused by GitJob.getJGitInternalExceptionStatus[1]  which doesn't handle 'jschEx' when it's null => NPE in line 47 in the latest revision[2].

[1] org.eclipse.orion.server.git.servlets.GitJob.getJGitInternalExceptionStatus(JGitInternalException, String)
[1] 348189478b01c7ac5d4f161af5653e328b90411d
Comment 2 Malgorzata Janczarska CLA 2011-05-10 12:33:02 EDT
done