Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[stellation-res] Question About the Eclipse Client

Hi there,

I ran into an exception this morning while trying to check in to the
repository.  The setup is that I'm using Eclipse with the Eclipse
client feature (version 0.0.6, as from the downloads page).  The
client is working against a Stellation server running on a different
host.  That server is the 1/3/2003 build.

The exception is:

checkin: repository IO error java.io.IOException: unable to get input 
stream for 3489
java.io.IOException: unable to get input stream for 3489
	at 
org.eclipse.stellation.repos.artifact.TextArtifactAgent.inputTransient(TextArtifactAgent.java:146)
	at 
org.eclipse.stellation.repos.artifact.TextArtifact.getText(TextArtifact.java:151)
	at 
org.eclipse.stellation.repos.artifact.TextArtifactAgent.output(TextArtifactAgent.java:210)
	at 
org.eclipse.stellation.repos.io.BaseOutput.output(BaseOutput.java:86)	at 
org.eclipse.stellation.repos.io.BaseOutput.output(BaseOutput.java:109)
	at 
org.eclipse.stellation.repos.io.BaseOutput.output(BaseOutput.java:74)	at 
org.eclipse.stellation.repos.messaging.client.RemoteHandle.realUpdateBranchHead(RemoteHandle.java:510)
	at 
org.eclipse.stellation.repos.messaging.client.RemoteHandle.updateBranchHead(RemoteHandle.java:480)
	at 
org.eclipse.stellation.workspace.Checkin.command(Checkin.java:185)
	at 
org.eclipse.stellation.scm.model.ScmFacade.checkin(ScmFacade.java:79)	at 
org.eclipse.stellation.scm.ui.actions.CheckinCommand$1.execute(CheckinCommand.java:44)
	at 
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:65)
	at 
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1564)
	at 
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:79)
	at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:95)


The kind of input being used there is a FileInput.  The FileInput
queries the project with the call _project.getPath(ID) in to get a
file to open.  The project was returning the path to a file that no
longer existed in the project workspace.

Is it the case that the Eclipse eclient for Stellation listens to
resource events in the Eclipse workspace and updates some internal
list in order to keep track of what needs to be added, deleted, or
changed on checkin?  Is that information stored in SVC/project.xml?
If not, is SVC/project.xml information about the state of the project
when it was checked out from the repository with which to compare the
eclipse workspace at checkin time?  If not, I'm out of guesses -- what
is project.xml?

Occasionally, Eclipse has crashed, either due to a GTK problem or the
SUN JVM having an internal error.  Assuming I'm right about the
eclipse client listening to resources in the eclipse workspace, it is
entirely likely that some of these crashes may have occurred while the
stellation eclipse client was doing something in response to my
reorganizing directories with a number of files in them.  Is there a
way to brute-force the eclipse client into resynchronizing its image
of the project workspace with what's actually there?  For example, if
I right-click on the project name and choose "Refresh", should that do
the trick?  (I've tried it, and I still get the exception, but I might
as well ask as many questions as I can to try to understand what I'm
seeing.)

(Also, I did check Bugzilla, but I didn't see anything that looked
like this.  If I missed it, just tell me the bug number and I'll
RTFB.)

Thanks,
Jeffrey



Back to the top