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

RE: [Subclipse-users] Blame (annotate) issues in subclipse 1.4.3

From: Gene Gorokhovsky <ggorokhovsky_at_apriori.com>
Date: Wed, 13 Aug 2008 17:20:46 -0400

Here are log stacktraces of the previously reported error, first with
javahl, second with svnkit

 

!ENTRY org.eclipse.team.core 4 0 2008-08-13 16:47:37.974

!MESSAGE Failed in BaseFile.getAnnotations()

!STACK 0

org.tigris.subversion.svnclientadapter.SVNClientException:
org.tigris.subversion.javahl.ClientException: Two versioned resources
are unrelated

svn: Missing changed-path information for
'\koko\trunk\dev\projects\fbc-gcd-test\src\test\com\fbc\gcd\test\xml\wf2
\AutomaticSheetmetalWF2_L2Test.javader.jahttps:\svn.apriori.com\main\kok
o\trunk\dev\projects\fbc-gcd-test\src\test\com\fbc\gcd\test\xml\wf2\Auto
maticSheetmetalWF2_L2Test.java' in revision 30353

 

      at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.a
nnotate(AbstractJhlClientAdapter.java:1659)

      at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.a
nnotate(AbstractJhlClientAdapter.java:1624)

      at
org.tigris.subversion.subclipse.core.resources.BaseFile.getAnnotations(B
aseFile.java:83)

      at
org.tigris.subversion.subclipse.core.commands.GetAnnotationsCommand.run(
GetAnnotationsCommand.java:54)

      at
org.tigris.subversion.subclipse.ui.operations.ShowAnnotationOperation.ex
ecute(ShowAnnotationOperation.java:123)

      at
org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperat
ion.java:89)

      at
org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableC
ontext.java:144)

      at
org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runI
nWorkspace(JobRunnableContext.java:72)

      at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWor
kspaceJob.java:38)

      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Caused by: org.tigris.subversion.javahl.ClientException: Two versioned
resources are unrelated

svn: Missing changed-path information for
'\koko\trunk\dev\projects\fbc-gcd-test\src\test\com\fbc\gcd\test\xml\wf2
\AutomaticSheetmetalWF2_L2Test.javader.jahttps:\svn.apriori.com\main\kok
o\trunk\dev\projects\fbc-gcd-test\src\test\com\fbc\gcd\test\xml\wf2\Auto
maticSheetmetalWF2_L2Test.java' in revision 30353

 

      at org.tigris.subversion.javahl.SVNClient.blame(Native Method)

      at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.a
nnotate(AbstractJhlClientAdapter.java:1652)

      ... 9 more

 

!ENTRY org.eclipse.core.jobs 4 2 2008-08-13 16:59:00.111

!MESSAGE An internal error occurred during: "Show Annotations".

!STACK 0

java.lang.NullPointerException

      at
org.tmatesoft.svn.core.io.diff.SVNDiffWindow.apply(SVNDiffWindow.java:23
7)

      at
org.tmatesoft.svn.core.io.diff.SVNDeltaProcessor.textDeltaChunk(SVNDelta
Processor.java:117)

      at
org.tmatesoft.svn.core.SVNAnnotationGenerator.textDeltaChunk(SVNAnnotati
onGenerator.java:246)

      at
org.tmatesoft.svn.core.io.diff.SVNDeltaGenerator.sendDelta(SVNDeltaGener
ator.java:235)

      at
org.tmatesoft.svn.core.io.diff.SVNDeltaGenerator.sendDelta(SVNDeltaGener
ator.java:189)

      at
org.tmatesoft.svn.core.io.SVNRepository.getFileRevisionsFromLog(SVNRepos
itory.java:2496)

      at
org.tmatesoft.svn.core.io.SVNRepository.getFileRevisions(SVNRepository.j
ava:747)

      at
org.tmatesoft.svn.core.wc.SVNLogClient.doAnnotate(SVNLogClient.java:342)

      at
org.tmatesoft.svn.core.wc.SVNLogClient.doAnnotate(SVNLogClient.java:214)

      at
org.tmatesoft.svn.core.javahl.SVNClientImpl.blame(SVNClientImpl.java:154
4)

      at
org.tmatesoft.svn.core.javahl.SVNClientImpl.blame(SVNClientImpl.java:152
8)

      at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.a
nnotate(AbstractJhlClientAdapter.java:1652)

      at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.a
nnotate(AbstractJhlClientAdapter.java:1624)

      at
org.tigris.subversion.subclipse.core.resources.BaseFile.getAnnotations(B
aseFile.java:83)

      at
org.tigris.subversion.subclipse.core.commands.GetAnnotationsCommand.run(
GetAnnotationsCommand.java:54)

      at
org.tigris.subversion.subclipse.ui.operations.ShowAnnotationOperation.ex
ecute(ShowAnnotationOperation.java:123)

      at
org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperat
ion.java:89)

      at
org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableC
ontext.java:144)

      at
org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runI
nWorkspace(JobRunnableContext.java:72)

      at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWor
kspaceJob.java:38)

      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

 

________________________________

From: Gene Gorokhovsky [mailto:ggorokhovsky_at_apriori.com]
Sent: Wednesday, August 13, 2008 5:08 PM
To: users_at_subclipse.tigris.org
Subject: [Subclipse-users] Blame (annotate) issues in subclipse 1.4.3

 

After upgrading to svn 1.5.x and subclipse 1.4.x we are having issues
with team annotate.

 

Configuration:

Windows XP sp 4 (32 bit)

Svn 1.4.4 server

Svn 1.5.1 client (behavior observed also with 1.5)

subclipse 1.4.3 (same issue in 1.4.1)

JavaHL 1.5.1 (r32289)

SVNKit 1.2.0.4583

Eclipse 3.4

TortoiseSVN (TortoiseSVN 1.5.2, Build 13595 - 32 Bit Subversion 1.5.1),

 

Working copy was created by svn 1.4 client, but works flawlessly with
TortoiseSVN upgraded to 1.5.x

Attempt to run team -> show annotation from eclipse on any file results
in the error message such as:

 

Failed in BaseFile.getAnnotations()

org.tigris.subversion.javahl.ClientException: Two versioned resources
are unrelated

svn: Missing changed-path information for
'\koko\trunk\dev\projects\fbc-gcd-test\src\test\com\fbc\gcd\test\xml\wf2
\AutomaticSheetmetalWF2_L2Test.java77ff60https:\svn.apriori.com\main\kok
o\trunk\dev\projects\fbc-gcd-test\src\test\com\fbc\gcd\test\xml\wf2\Auto
maticSheetmetalWF2_L2Test.java' in revision 30353

 

Eclipse's svn console displays

blame -g -r 30353
C:/fbcdev/koko/dev/projects/fbc-gcd-test/src/test/com/fbc/gcd/test/xml/w
f2/AutomaticSheetmetalWF2_L2Test.java_at_HEAD

    Two versioned resources are unrelated

svn: Missing changed-path information for
'\koko\trunk\dev\projects\fbc-gcd-test\src\test\com\fbc\gcd\test\xml\wf2
\AutomaticSheetmetalWF2_L2Test.javader.jahttps:\svn.apriori.com\main\kok
o\trunk\dev\projects\fbc-gcd-test\src\test\com\fbc\gcd\test\xml\wf2\Auto
maticSheetmetalWF2_L2Test.java' in revision 30353

 

 

Notice that in the :" Missing changed-path information ..." error
message, the svn url of the file is clearly corrupt.

 

Running this from the shell results in a perfectly normal blame output.

(command line tried was "svn blame -g -r 30353
C:/fbcdev/koko/dev/projects/fbc-gcd-test/src/test/com/fbc/gcd/test/xml/w
f2/AutomaticSheetmetalWF2_L2Test.java_at_HEAD")

 

Latest TortoiseSVN (TortoiseSVN 1.5.2, Build 13595 - 32 Bit Subversion
1.5.1), also gives a normal result.

Switching provider to svnkit from javahl does not help, blame fails with
a different error message:

 

"An internal error occurred during: "Show Annotations".

java.lang.NullPointerException"

 

Same issue occurs for every file in the working copy.

 

Gene Gorokhovsky

 

 
Received on 2008-08-13 23:20:57 CEST

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