NPE on Branch Switch.

48 views
Skip to first unread message

Krzysztof Głowiński

unread,
Nov 8, 2017, 10:11:54 AM11/8/17
to Subclipse
Hello everybody.

I have a problem with Switching Branches. 

In log I have:
An internal error occurred during: "SVN Switch".

java.lang.NullPointerException
at org.tigris.subversion.subclipse.core.resources.SVNWorkspaceRoot.getResourcesFor(SVNWorkspaceRoot.java:487)
at org.tigris.subversion.subclipse.core.commands.SwitchToUrlCommand.run(SwitchToUrlCommand.java:98)
at org.tigris.subversion.subclipse.ui.operations.SwitchOperation.execute(SwitchOperation.java:82)
at org.tigris.subversion.subclipse.ui.operations.RepositoryProviderOperation.execute(RepositoryProviderOperation.java:74)
at org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:90)
at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:151)
at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:76)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

I found fix for this in commit below:
https://github.com/subclipse/subclipse/commit/b9c19f06ef2bbe57e94a2f74c553497faa956fa5#diff-9016d7dce089d8ef976e2c767cfa4f64

My subclipse version ( believe the newest) :

  Subclipse 4.2.3.201707071932 org.tigris.subversion.subclipse.feature.group Subclipse

Is it possible that given fix ( from 2016 ) is not in this version? 

Mark Phippard

unread,
Nov 8, 2017, 10:44:05 AM11/8/17
to Krzysztof Głowiński, Subclipse
Based on the tags, that change should be available in 4.2.0 onward.

--
You received this message because you are subscribed to the Google Groups "Subclipse" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subclipse+unsubscribe@googlegroups.com.
To post to this group, send email to subc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subclipse/8cfa01df-52bc-43f6-b916-0a19cd5a0685%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages