Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336380 - IncorrectObjectTypeException in CommitMessageViewer.getNextTag()
Summary: IncorrectObjectTypeException in CommitMessageViewer.getNextTag()
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 0.11   Edit
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: 0.11   Edit
Assignee: Matthias Sohn CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-04 12:43 EST by Chris Aniszczyk CLA
Modified: 2011-02-06 21:02 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 Chris Aniszczyk CLA 2011-02-04 12:43:23 EST
Using the latest build... I'm getting this error.

I get this while browsing the org.eclipse.jgit.test project...

We can't ship with this.

eclipse.buildId=M20100909-0800
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86


Error
Fri Feb 04 11:42:02 CST 2011
Object 8bbde7aacf771a9afb6992434f1ae413e010c6d8 is not a commit.

org.eclipse.jgit.errors.IncorrectObjectTypeException: Object 8bbde7aacf771a9afb6992434f1ae413e010c6d8 is not a commit.
at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:726)
at org.eclipse.egit.ui.internal.history.CommitMessageViewer.getNextTag(CommitMessageViewer.java:649)
at org.eclipse.egit.ui.internal.history.CommitMessageViewer.format(CommitMessageViewer.java:358)
at org.eclipse.egit.ui.internal.history.CommitMessageViewer.setInput(CommitMessageViewer.java:254)
at org.eclipse.egit.ui.internal.history.GitHistoryPage$2.selectionChanged(GitHistoryPage.java:653)
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:867)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:865)
at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1700)
at org.eclipse.jface.viewers.TableViewer.setSelection(TableViewer.java:158)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:392)
at org.eclipse.egit.ui.internal.history.CommitGraphTable.selectCommit(CommitGraphTable.java:238)
at org.eclipse.egit.ui.internal.history.CommitGraphTable.setInput(CommitGraphTable.java:289)
at org.eclipse.egit.ui.internal.history.GitHistoryPage$8.run(GitHistoryPage.java:1111)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Comment 1 Matthias Sohn CLA 2011-02-06 18:12:51 EST
proposed fix http://egit.eclipse.org/r/2436
Comment 2 Chris Aniszczyk CLA 2011-02-06 21:02:31 EST
Fixed, thanks Matthias.