Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359491 - StackoverflowException with new decorator implementation
Summary: StackoverflowException with new decorator implementation
Status: CLOSED DUPLICATE of bug 348311
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 17:41 EDT by Matthias Sohn CLA
Modified: 2011-09-30 03:22 EDT (History)
3 users (show)

See Also:


Attachments
stack trace (better formatting) (77.06 KB, text/plain)
2011-09-29 17:42 EDT, Matthias Sohn CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Sohn CLA 2011-09-29 17:41:41 EDT
I hit this exception, don't know why

egit/jgit version (local build current head):   1.2.0.201109291513/1.2.0.201109291508

eclipse.buildId=M20110909-1335
java.version=1.6.0_26
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/d029788/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/d029788/.eclipse_keyring -showlocation

Error
Thu Sep 29 23:14:43 CEST 2011
An internal error occurred during: "Re-indexing repository egit".

java.lang.StackOverflowError
	at java.io.UnixFileSystem.getLastModifiedTime(Native Method)
	at java.io.File.lastModified(File.java:826)
	at org.eclipse.jgit.storage.file.FileSnapshot.isModified(FileSnapshot.java:150)
	at org.eclipse.jgit.storage.file.RefDirectory.getPackedRefs(RefDirectory.java:711)
	at org.eclipse.jgit.storage.file.RefDirectory.getRef(RefDirectory.java:268)
	at org.eclipse.jgit.lib.Repository.resolveSimple(Repository.java:594)
	at org.eclipse.jgit.lib.Repository.resolve(Repository.java:568)
	at org.eclipse.jgit.lib.Repository.resolve(Repository.java:378)
	at org.eclipse.egit.ui.internal.decorators.GitDocument.populate(GitDocument.java:109)
	at org.eclipse.egit.ui.internal.decorators.GitDocument.onRefsChanged(GitDocument.java:221)
	at org.eclipse.jgit.events.RefsChangedEvent.dispatch(RefsChangedEvent.java:55)
	at org.eclipse.jgit.events.RefsChangedEvent.dispatch(RefsChangedEvent.java:47)
	at org.eclipse.jgit.events.ListenerList.dispatch(ListenerList.java:120)
	at org.eclipse.jgit.lib.Repository.fireEvent(Repository.java:151)
	at org.eclipse.jgit.storage.file.RefDirectory.fireRefsChanged(RefDirectory.java:934)
	at org.eclipse.jgit.storage.file.RefDirectory.getRef(RefDirectory.java:277)
	at org.eclipse.jgit.lib.Repository.resolveSimple(Repository.java:594)
	at org.eclipse.jgit.lib.Repository.resolve(Repository.java:568)
	at org.eclipse.jgit.lib.Repository.resolve(Repository.java:378)
	at org.eclipse.egit.ui.internal.decorators.GitDocument.populate(GitDocument.java:109)
	at org.eclipse.egit.ui.internal.decorators.GitDocument.onRefsChanged(GitDocument.java:221)
	at org.eclipse.jgit.events.RefsChangedEvent.dispatch(RefsChangedEvent.java:55)
	at org.eclipse.jgit.events.RefsChangedEvent.dispatch(RefsChangedEvent.java:47)
	at org.eclipse.jgit.events.ListenerList.dispatch(ListenerList.java:120)
	at org.eclipse.jgit.lib.Repository.fireEvent(Repository.java:151)
	at org.eclipse.jgit.storage.file.RefDirectory.fireRefsChanged(RefDirectory.java:934)
	at org.eclipse.jgit.storage.file.RefDirectory.getRef(RefDirectory.java:277)
	at org.eclipse.jgit.lib.Repository.resolveSimple(Repository.java:594)
	at org.eclipse.jgit.lib.Repository.resolve(Repository.java:568)
	at org.eclipse.jgit.lib.Repository.resolve(Repository.java:378)
	at org.eclipse.egit.ui.internal.decorators.GitDocument.populate(GitDocument.java:109)
	at org.eclipse.egit.ui.internal.decorators.GitDocument.onRefsChanged(GitDocument.java:221)
... [many repetitions] ...
Comment 1 Matthias Sohn CLA 2011-09-29 17:42:35 EDT
Created attachment 204330 [details]
stack trace (better formatting)
Comment 2 Jens Baumgart CLA 2011-09-30 03:22:22 EDT
Duplicate of bug 348311. Not related to new decorator implementation.

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