Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 1654] New - Have to Restart Eclipse after Switching to Bad URL

subclipse
Discussion topic

Hide all messages in topic

All messages in topic

[Issue 1654] Have to Restart Eclipse after Switching to Bad URL

Author jamiejackson
Full name Jamie Jackson
Date 2016-06-22 10:49:47 PDT
Message http://subclipse.tig​ris.org/issues/show_​bug.cgi?id=1654






------- Additional comments from jamiejackson at tigris dot org Wed Jun 22 10:49:47 -0700 2016 -------
I'm not too familiar with Subclipse's release protocol. When would this end up
hitting the update site release (so I know when to verify)?

[Issue 1654] Have to Restart Eclipse after Switching to Bad URL

Author selsemore
Full name Stephen Elsemore
Date 2016-06-22 10:19:35 PDT
Message http://subclipse.tig​ris.org/issues/show_​bug.cgi?id=1654



User selsemore changed the following:

                What |Old value |New value
====================​====================​====================​====================​
                  Status|NEW |RESOLVED
--------------------​--------------------​--------------------​--------------------​
              Resolution| |FIXED
--------------------​--------------------​--------------------​--------------------​




------- Additional comments from selsemore at tigris dot org Wed Jun 22 10:19:35 -0700 2016 -------
I haven't reproduced this issue. When I try to switch to a bad URL I see the expected 404 path
not found error, which is handled in a user friendly manner. However, I've gone ahead and null-
proofed the post-switch code.

[Issue 1654] Have to Restart Eclipse after Switching to Bad URL

Author jamiejackson
Full name Jamie Jackson
Date 2016-06-22 08:38:22 PDT
Message http://subclipse.tig​ris.org/issues/show_​bug.cgi?id=1654






------- Additional comments from jamiejackson at tigris dot org Wed Jun 22 08:38:22 -0700 2016 -------
I'm on Win7, by the way.

[Issue 1654] New - Have to Restart Eclipse after Switching to Bad URL

Author jamiejackson
Full name Jamie Jackson
Date 2016-06-22 08:37:38 PDT
Message http://subclipse.tig​ris.org/issues/show_​bug.cgi?id=1654
                 Issue #|1654
                 Summary|Have to Restart Eclipse after Switching to Bad URL
               Component|svnClientAdapter
                 Version|current
                Platform|JavaHL
              OS/Version|other
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|svnClientAdapter
             Assigned to|issues@subclipse
             Reported by|jamiejackson






------- Additional comments from jamiejackson at tigris dot org Wed Jun 22 08:37:38 -0700 2016 -------
I'm on the 1.12 update site and have Subclipse 1.10.13.

If I switch to a bad branch name, I get:

An internal error occurred during: "SVN Switch".
java.lang.NullPointerException
    at
org.tigris.subversio​n.subclipse.core.res​ources.SVNWorkspaceR​oot.getResources
For(SVNWorkspaceRoot.java:487)
    at
org.tigris.subversio​n.subclipse.core.com​mands.SwitchToUrlCom​mand.run(SwitchT
oUrlCommand.java:98)
    at
org.tigris.subversio​n.subclipse.ui.opera​tions.SwitchOperatio​n.execute(Switch
Operation.java:82)
    at
org.tigris.subversio​n.subclipse.ui.opera​tions.RepositoryProv​iderOperation.ex
ecute(RepositoryProv​iderOperation.java:7​4)
    at
org.tigris.subversio​n.subclipse.ui.opera​tions.SVNOperation.r​un(SVNOperation.
java:90)
    at
org.eclipse.team.int​ernal.ui.actions.Job​RunnableContext.run(​JobRunnableConte
xt.java:144)
    at
org.eclipse.team.int​ernal.ui.actions.Job​RunnableContext$Res​ourceJob.runInWor
kspace(JobRunnableCo​ntext.java:72)
    at
org.eclipse.core.int​ernal.resources.Inte​rnalWorkspaceJob.run​(InternalWorkspa
ceJob.java:39)
    at org.eclipse.core.int​ernal.jobs.Worker.ru​n(Worker.java:55)

No problem; I expect something like that; however, _subsequent_ switches
don't work. The next switch will hang forever. I can't use Subclipse again
until I kill Eclipse from task manager and restart it.
Messages per page: