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

Re: SVN/Eclipse problems

From: Chas Douglass <chas_at_floogle.net>
Date: 2004-09-23 22:50:48 CEST

If it's any help, I started doing some digging. When I share a project
with SVN I get a bunch of errors in the PDT log. This appears to be the
first one:

Error Sep 23, 2004 13:36:07.984 Problems occurred when invoking code
from plug-in: "org.eclipse.core.runtime".
java.lang.NullPointerException
at
org.tigris.subversion.subclipse.ui.svnproperties.SvnPropertiesView$ResourceStateChangeListener.resourceSyncInfoChanged(SvnPropertiesView.java:96)
at
org.tigris.subversion.subclipse.core.SVNProviderPlugin$1.run(SVNProviderPlugin.java:219)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.tigris.subversion.subclipse.core.SVNProviderPlugin.broadcastSyncInfoChanges(SVNProviderPlugin.java:226)
at
org.tigris.subversion.subclipse.core.resourcesListeners.SyncFileChangeListener.resourceChanged(SyncFileChangeListener.java:141)
at
org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:283)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:277)
at
org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:151)
at
org.eclipse.core.internal.events.AutoBuildJob.broadcastChanges(AutoBuildJob.java:78)
at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:153)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:212)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

Chas

Chas Douglass wrote:

> Thanks for the attempt, but that doesn't work for me.
>
> I imported the project into SVN from the command line, deleted it from
> Eclipse, then tried both the New Project Wizard and the Project Import
> Wizard. In both cases I had a nice Eclipse project, but with no SVN
> functionality.
>
> Chas Douglass
>
> David.Stagner@mpls.frb.org wrote:
>
>>
>> I had similar problems. I got around it by creating my Subversion
>> working copies via TortoiseSVN, and then doing an "Import project"
>> from WSAD (Eclipse). The plugin will recognize the projects when
>> Eclipse loads them.
>>
>> Apparently, the problem is that, when creating a new project, Eclipse
>> very helpfully creates a .project file. Insists, even. And then no
>> version control system wants to overwrite the writable file that
>> Eclipse so helpfully created. I've seen the same problem with other
>> version control plugins, too.
>>
>> Anyway, follow my model - create the working copies via TortoiseSVN
>> (or the svn command line client), and then "import" them, and
>> everything works fine.
>> ---
>> David Stagner
>> FedACH Distributed Development
>> Federal Reserve Bank of Minneapolis
>> david.stagner@mpls.frb.org
>> 612-204-6786
>>
>>
>>
>> *Chas Douglass <chas@floogle.net>*
>>
>> 09/23/2004 01:05 PM
>> Please respond to users
>>
>> To: users@subclipse.tigris.org
>> cc: Subject: SVN/Eclipse problems
>>
>>
>>
>> I am new to Subversion. I built and installed SVN 1.1.0RC3 for linux
>> and I can access it just fine from the command line from both unix and
>> windows.
>>
>> Then I attempted the Eclipse integration, and I can't get it to work.
>> Perhaps you haven't tested with Eclipse Version: 3.0.1 (Build id:
>> 200409161125) yet?
>>
>> I use the update site (http://subclipse.tigris.org/update) to install
>> the plugin. I can successfully browse the svn repository, but when I
>> attempt to check out a project I start getting errors.
>>
>> First, it usually fails to somehow "register" the checked out files
>> within Eclipse, so eclipse claims there is no ".project" file. In fact,
>> none of the files show up in the package explorer. If I shut Eclipse
>> down and restart it, I can now see the files, but when I right click on
>> a directory name in the package browser, I get a stack overflow error.
>> Also, none of the "team" options for any of the checked out files shows
>> any svn options available.
>>
>> Please let me know what other information would be useful in figuring
>> this out, as I'm very excited about migrating from CVS to SVN but I'm
>> stuck at the moment.
>>
>> Chas Douglass
>>
>>
>> ---------------------------------------------------------------------
>> 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 Fri Sep 24 06:50:48 2004

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.