Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException at org.tigris.subversion.svnclientadapter.javahl.JhlConverter.convertConflictDescriptor:283 during SVN Switch #31

Open
wodencafe opened this issue Nov 23, 2016 · 0 comments

Comments

@wodencafe
Copy link

wodencafe commented Nov 23, 2016

Hi all, I am using:

  • _Eclipse Java EE IDE for Web Developers
  • Version: Neon.1a Release (4.6.1)_
  • **_Subversion Client Adapter org.tigris.subversion.clientadapter.feature 1.10.3
  • SVNKit Client Adapter org.tigris.subversion.clientadapter.svnkit.feature 1.8.9_**

When I try to switch my Eclipse Project from the Trunk to a Branch, I receive an error dialog in Eclipse complaining of a NullPointerException, no stacktrace no details.

When I look in the .log file, I see the following:

!ENTRY org.eclipse.core.jobs 4 2 2016-11-23 13:38:09.636
!MESSAGE An internal error occurred during: "SVN Switch".
!STACK 0
java.lang.NullPointerException
at org.tigris.subversion.svnclientadapter.javahl.JhlConverter.convertConflictDescriptor(JhlConverter.java:283)
at org.tigris.subversion.svnclientadapter.javahl.JhlConflictResolver.resolve(JhlConflictResolver.java:23)
at org.tmatesoft.svn.core.javahl17.SVNClientImpl$1.handleConflict(SVNClientImpl.java:343)
at org.tmatesoft.svn.core.internal.wc17.SVNWCContext.resolveTextConflict(SVNWCContext.java:5508)
at org.tmatesoft.svn.core.internal.wc17.SVNWCContext.invokeConflictResolver(SVNWCContext.java:5306)
at org.tmatesoft.svn.core.internal.wc17.SVNUpdateEditor17.closeFile(SVNUpdateEditor17.java:1688)
at org.tmatesoft.svn.core.internal.wc.SVNCancellableEditor.closeFile(SVNCancellableEditor.java:142)
at org.tmatesoft.svn.core.internal.io.dav.handlers.DAVEditorHandler.endElement(DAVEditorHandler.java:513)
at org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVHandler.endElement(BasicDAVHandler.java:103)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1776)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2964)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:504)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:932)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:897)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:220)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:497)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:398)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:386)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:863)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:360)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1340)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.diff(DAVRepository.java:848)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.switchInternal(SvnNgAbstractUpdate.java:790)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.doSwitch(SvnNgAbstractUpdate.java:664)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgSwitch.run(SvnNgSwitch.java:14)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgSwitch.run(SvnNgSwitch.java:9)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
at org.tmatesoft.svn.core.javahl17.SVNClientImpl.doSwitch(SVNClientImpl.java:690)
at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.switchToUrl(AbstractJhlClientAdapter.java:2210)
at org.tigris.subversion.subclipse.core.commands.SwitchToUrlCommand$1.run(SwitchToUrlCommand.java:80)
at org.tigris.subversion.subclipse.core.SVNProviderPlugin$6.run(SVNProviderPlugin.java:535)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
at org.tigris.subversion.subclipse.core.SVNProviderPlugin.run(SVNProviderPlugin.java:530)
at org.tigris.subversion.subclipse.core.commands.SwitchToUrlCommand.run(SwitchToUrlCommand.java:71)
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)

After this, only the root project folder switched to the Branch, but all of the subfolders (src, etc) remained at the Trunk, leaving the project in an inconsistent state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant