Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » EGit 1.3.0 causing problems with Indigo 3.7.2 on Solaris X86
EGit 1.3.0 causing problems with Indigo 3.7.2 on Solaris X86 [message #809253] Tue, 28 February 2012 16:38 Go to next message
Nick Smith is currently offline Nick SmithFriend
Messages: 4
Registered: February 2012
Junior Member
Hi all,

I've been using EGit quite a lot recently and now I rely on it a lot! Anyway after upgrading to Eclipse 3.7.2 and EGit 1.3.0 I get the following errors in the log :

org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4282)
at org.eclipse.swt.SWT.error(SWT.java:4197)
at org.eclipse.swt.SWT.error(SWT.java:4168)
at org.eclipse.swt.widgets.Widget.error(Widget.java:466)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:404)
at org.eclipse.swt.widgets.Text.getTextChars(Text.java:1064)
at org.eclipse.swt.widgets.Text.getText(Text.java:1008)
at org.eclipse.egit.ui.UIUtils$2.updateProposals(UIUtils.java:291)
at org.eclipse.egit.ui.internal.components.RepositorySelectionPage.getGitRepositoryInfo(RepositorySelectionPage.java:1018)
at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.executeCloneOperation(AbstractGitCloneWizard.java:433)
at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.access$2(AbstractGitCloneWizard.java:424)
at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard$5.run(AbstractGitCloneWizard.java:386)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

and the next...

org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of fetch command
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:138)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:175)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:121)
at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:153)
at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.executeCloneOperation(AbstractGitCloneWizard.java:430)
at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.access$2(AbstractGitCloneWizard.java:424)
at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard$5.run(AbstractGitCloneWizard.java:386)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.eclipse.jgit.errors.TransportException: Short read of block.
at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:291)
at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:229)
at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:225)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:151)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:113)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:129)
... 7 more
Caused by: java.io.EOFException: Short read of block.
at org.eclipse.jgit.util.IO.readFully(IO.java:225)
at org.eclipse.jgit.transport.PacketLineIn.readLength(PacketLineIn.java:186)
at org.eclipse.jgit.transport.PacketLineIn.readString(PacketLineIn.java:138)
at org.eclipse.jgit.transport.PacketLineIn.readACK(PacketLineIn.java:102)
at org.eclipse.jgit.transport.BasePackFetchConnection.negotiate(BasePackFetchConnection.java:572)
at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:277)
... 13 more

Session Data :

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

As the title says I'm using Solaris 11 Express (x86) and was wondering what other people's experience of EGit 1.3 on S11 was?

The above errors occured when I was importing a project via a Git URI. After I've imported a project I continously get the following exception in the error log :

java.lang.NullPointerException
at org.eclipse.egit.ui.internal.clone.GitImportWizard$1.setVisible(GitImportWizard.java:63)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1260)
at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1239)
at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1228)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1226)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:915)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:428)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:150)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:277)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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:344)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)

Any help appreciated will be appreciated!

Regards,

Nick

[Updated on: Tue, 28 February 2012 16:46]

Report message to a moderator

Re: EGit 1.3.0 causing problems with Indigo 3.7.2 on Solaris X86 [message #811585 is a reply to message #809253] Fri, 02 March 2012 15:02 Go to previous messageGo to next message
Luis Bernardo is currently offline Luis BernardoFriend
Messages: 2
Registered: July 2009
Junior Member
The issue happens in Ubuntu too so it is not a Solaris issue. As the previous poster said, this happens when importing a project from a Git (local in my case) repository. Another side effect is that although the project is imported it is not linked to the repository (i.e., Team -> has no Git menu items).
Re: EGit 1.3.0 causing problems with Indigo 3.7.2 on Solaris X86 [message #813671 is a reply to message #811585] Mon, 05 March 2012 15:34 Go to previous message
Stefan Lay is currently offline Stefan LayFriend
Messages: 342
Registered: July 2009
Senior Member
The Exceptions "org.eclipse.swt.SWTException: Invalid thread access" was fixed two weeks ago (commit 7d7806cf9f8cfd5c). A fix for the Nullpointer is in review (https://git.eclipse.org/r/#/c/5248/) and will soon be merged. I would say that both do not have an effect on functionality.

You can get these fixes by adding http://download.eclipse.org/egit/updates-nightly to your "Available Software sites" in the eclipse preferences and running an update.

The "java.io.EOFException: Short read of block." looks as if the repository is inconsistent or there was a network failure. Have you tried to clone the same repository with command line git? Can you run git fsck on the repository you want to clone?
Previous Topic:Cannot get remote repository refs
Next Topic:[EGIT 1.3] : NPE at import
Goto Forum:
  


Current Time: Thu Nov 27 14:44:25 GMT 2014

Powered by FUDForum. Page generated in 0.02423 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software