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

Bug 341347

Summary: Sporadic AIOB failure in SychronizeViewTest
Product: [Technology] EGit Reporter: Matthias Sohn <matthias.sohn>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mathias.kinzler
Version: 0.12   
Target Milestone: 0.12-M2   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Matthias Sohn CLA 2011-03-30 08:56:03 EDT
I see this test failure sporadically

shouldNotShowIgnoredFilesInGitChangeSetModel(org.eclipse.egit.ui.view.synchronize.SynchronizeViewTest)  Time elapsed: 1.979 sec  <<< ERROR!
java.lang.ArrayIndexOutOfBoundsException: 0
	at org.eclipse.egit.ui.view.synchronize.SynchronizeViewTest.shouldNotShowIgnoredFilesInGitChangeSetModel(SynchronizeViewTest.java:326)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
Comment 1 Matthias Sohn CLA 2011-03-30 09:00:26 EDT
proposed patch
http://egit.eclipse.org/r/#change,2977
Comment 2 Mathias Kinzler CLA 2011-03-30 09:19:21 EDT
Merged as ceba597d5e71b3969340b8063b9bc3606c99ca7a