[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [Subclipse-users] Trouble importing project to new repos

From: Ball, Rick <Rick_Ball_at_bose.com>
Date: 2006-10-10 17:18:30 CEST

Actually, the 'share' process halts after the error - I never get the
dialog to select the files to import into the repository, and nothing
gets imported. Here's the stack trace:

java.lang.NullPointerException
at
org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.isSuper
vised(SVNWorkspaceSubscriber.java:116)
at
org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.getSync
Info(SVNWorkspaceSubscriber.java:169)
at
org.eclipse.team.core.subscribers.Subscriber.getDiff(Subscriber.java:365
)
at
org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager.ge
tDiff(SubscriberChangeSetManager.java:302)
at
org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager$Ev
entHandler.handleChange(SubscriberChangeSetManager.java:183)
at
org.eclipse.team.internal.core.subscribers.SubscriberChangeSetManager$Ev
entHandler.doDispatchEvents(SubscriberChangeSetManager.java:80)
at
org.eclipse.team.internal.core.BackgroundEventHandler.dispatchEvents(Bac
kgroundEventHandler.java:354)
at
org.eclipse.team.internal.core.BackgroundEventHandler.processEvents(Back
groundEventHandler.java:334)
at
org.eclipse.team.internal.core.BackgroundEventHandler$1.run(BackgroundEv
entHandler.java:173)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

I don't have the Synch view open (I don't even know what that is). I
noticed in the error log that I actually get 2 additional errors before
the one that popped-up the dialog: 'The SVN synchronization information
for 'target' has become corrupt or does not exist', followed by
'Problems occurred when invoking code from plug-in:
"org.tigris.subversion.subclipse.core'. The second one had a stack
trace:

java.lang.IllegalArgumentException:
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:62)
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:46)
at org.eclipse.core.runtime.Status.setMessage(Status.java:178)
at org.eclipse.core.runtime.Status.<init>(Status.java:85)
at
org.tigris.subversion.subclipse.ui.SVNUIPlugin.log(SVNUIPlugin.java:223)
at
org.tigris.subversion.subclipse.ui.SVNMarkerListener.resourceSyncInfoCha
nged(SVNMarkerListener.java:49)
at
org.tigris.subversion.subclipse.core.SVNProviderPlugin$1.run(SVNProvider
Plugin.java:243)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.tigris.subversion.subclipse.core.SVNProviderPlugin.broadcastSyncInfo
Changes(SVNProviderPlugin.java:250)
at
org.tigris.subversion.subclipse.core.resourcesListeners.SyncFileChangeLi
stener$ChangesCollector.refreshProjectFolders(SyncFileChangeListener.jav
a:313)
at
org.tigris.subversion.subclipse.core.resourcesListeners.SyncFileChangeLi
stener$1.run(SyncFileChangeListener.java:290)
at
org.tigris.subversion.subclipse.core.SVNProviderPlugin$6.run(SVNProvider
Plugin.java:465)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
at
org.tigris.subversion.subclipse.core.SVNProviderPlugin.run(SVNProviderPl
ugin.java:460)
at
org.tigris.subversion.subclipse.core.resourcesListeners.SyncFileChangeLi
stener$ChangesCollector.refreshChangedResources(SyncFileChangeListener.j
ava:288)
at
org.tigris.subversion.subclipse.core.resourcesListeners.SyncFileChangeLi
stener.resourceChanged(SyncFileChangeListener.java:142)
at
org.eclipse.core.internal.events.NotificationManager$2.run(NotificationM
anager.java:280)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.internal.events.NotificationManager.notify(Notification
Manager.java:274)
at
org.eclipse.core.internal.events.NotificationManager.broadcastChanges(No
tificationManager.java:148)
at
org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Worksp
ace.java:240)
at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
142)
at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:208)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

-- Rick Ball

-----Original Message-----
From: Mark Phippard [mailto:markp@softlanding.com]
Sent: Tuesday, October 10, 2006 10:02 AM
To: users@subclipse.tigris.org
Subject: Re: [Subclipse-users] Trouble importing project to new repos

"Ball, Rick" <Rick_Ball@bose.com> wrote on 10/10/2006 09:57:41 AM:

> I'm trying to get started using Subclipse, and I'm having trouble
'sharing'
> a new project. I think I'm following the instructions in the help
> file,
but
> for some reason it's not working.
> I have Subversion 1.4.0 and TortoiseSVN 1.4.0.7501 installed, along
> with

> Eclipse 3.2, CDT 3.1.0, and Subclipse 1.1.7 (and a Green Hills
> plug-in,
> which I don't think should be causing a problem).
> I created a brand new repository on a network share (FSFS), using
> TortoiseSVN -> 'Create repository here?'. Then, I right-clicked on my

> project in Eclipse and selected 'Team -> Share Project'. In the
wizard,
I
> selected SVN, then my repository location, and then clicked the radio
button
> to 'Use specified folder name'. I then used the browse button to open
the
> repos, right-clicked to select 'New Remote Folder', and entered the
project
> name ('target'). Then, back in the folder name, I changed 'target/New
> folder' to 'target/trunk', and clicked 'Finish'. I got the expected
> messages for a mkdir of the 'trunk' folder, and the checkout, and then

got a
> pop-up that said 'No files were changed or added since the last
> commit'
(not
> sure if that's expected or not). After a few seconds, whether or not
> I
> closed the pop-up, I get another pop-up with the following error:
> 'An internal error occurred during: "Updating Change Sets for
> SVNStatusSubscriber'.
> I found a mention of this error in the mailing list, but the belief
there
> seems to be that it's a bug in JavaSVN, and I'm using JavaHL (at
> least,
> that's what my Preferences window says).
> I don't know how to get a stack trace (maybe the 'Details >>' button
on
the
> error dialog? But that button is grayed-out...)

I would think this error could be ignored and you would be OK. You do
not
really state what trouble you are in after you get this error. It
sounds
like it would share the project.

The error sounds like you have the Synch view open with an active Synch
and some error is happening in refreshing that information. You could
try
closing all synchronizations.

You can open the view PDE Runtime -> Error Log to see any stack traces,
or
open the file workspace/.metadata/.log.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Oct 10 17:18:40 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.