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

Re: [Subclipse-users] null pointer upon retrieving project history

From: jcompagner <jcompagner_at_gmail.com>
Date: Tue, 11 Aug 2009 20:47:29 +0200

when we are in this area, this one i do get now and then

i cant really reproduce it but if i quickly select files/folders/projects i
do get it now and then

!ENTRY org.eclipse.core.jobs 4 2 2009-08-11 20:04:58.096
!MESSAGE An internal error occurred during: "Fetching SVN revision history".
!STACK 0
java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(Unknown Source)
    at java.lang.Long.parseLong(Unknown Source)
    at java.lang.Long.parseLong(Unknown Source)
    at java.text.DigitList.getLong(Unknown Source)
    at java.text.DecimalFormat.parse(Unknown Source)
    at java.text.SimpleDateFormat.subParse(Unknown Source)
    at java.text.SimpleDateFormat.parse(Unknown Source)
    at java.text.DateFormat.parse(Unknown Source)
    at org.tigris.subversion.javahl.LogDate.<init>(LogDate.java:51)
    at
org.tigris.subversion.svnclientadapter.javahl.JhlLogMessage.<init>(JhlLogMessage.java:62)
    at
org.tigris.subversion.svnclientadapter.javahl.JhlLogMessageCallback.singleMessage(JhlLogMessageCallback.java:29)
    at org.tigris.subversion.javahl.SVNClient.logMessages(Native Method)
    at
org.tigris.subversion.javahl.SVNClient.logMessages(SVNClient.java:313)
    at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getLogMessages(AbstractJhlClientAdapter.java:2235)
    at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getLogMessages(AbstractJhlClientAdapter.java:2265)
    at
org.tigris.subversion.svnclientadapter.AbstractClientAdapter.getLogMessages(AbstractClientAdapter.java:194)
    at
org.tigris.subversion.subclipse.core.resources.BaseResource.getLogMessages(BaseResource.java:203)
    at
org.tigris.subversion.subclipse.core.commands.GetLogsCommand.run(GetLogsCommand.java:81)
    at
org.tigris.subversion.subclipse.ui.history.SVNHistoryPage$AbstractFetchJob.getLogEntries(SVNHistoryPage.java:2609)
    at
org.tigris.subversion.subclipse.ui.history.SVNHistoryPage$FetchAllLogEntriesJob.run(SVNHistoryPage.java:2643)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

On Tue, Aug 11, 2009 at 01:28, Mark Phippard <markphip_at_gmail.com> wrote:

> Take the option Team > Show Properties and see if you have a property
> named "subclipse:tags" set on the project. If so, what value does it
> contain? Looks like this could maybe be caused by having a value in
> that property that does not parse correctly.
>
>
> On Mon, Aug 10, 2009 at 5:23 PM, Peyre Pellissier<peyre_at_dst.ca> wrote:
> > Hello,
> >
> >
> >
> > We consistently experience a null pointer on retrieving th history at the
> > project level on one of our projects.
> >
> > In the eclipse log we find:
> >
> >
> >
> > !ENTRY org.eclipse.core.jobs 4 2 2009-08-10 16:53:47.049
> >
> > !MESSAGE An internal error occurred during: "Fetching SVN revision
> history".
> >
> > !STACK 0
> >
> > java.lang.NullPointerException
> >
> > at
> >
> org.tigris.subversion.subclipse.core.history.Alias.compareTo(Alias.java:75)
> >
> > at java.util.Arrays.mergeSort(Unknown Source)
> >
> > at java.util.Arrays.sort(Unknown Source)
> >
> > at
> >
> org.tigris.subversion.subclipse.core.history.AliasManager.getAliases(AliasManager.java:157)
> >
> > at
> >
> org.tigris.subversion.subclipse.core.history.AliasManager.<init>(AliasManager.java:34)
> >
> > at
> >
> org.tigris.subversion.subclipse.ui.history.SVNHistoryPage$FetchLogEntriesJob.run(SVNHistoryPage.java:2474)
> >
> > at
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> >
> >
> >
> > This happens when using JavaHL (JNI) 1.6.4 (r38063) as well as SVNKit
> (Pure
> > Java) v1.3.0.5847.
> >
> >
> >
> > eclipse version is: 3.4.1, build id: M20080911-1700
> >
> >
> >
> > component info is:
> >
> >
> >
> > Subclipse Integration for Mylyn 3.0.0
> >
> > Subversion Client Adapter 1.6.4
> >
> > Subversion Native Library Adapter (JavaHL) 1.6.4
> >
> > Subversion Revision Graph 1.0.7
> >
> > SVN Team Provider Core 1.6.4
> >
> > Subversion Pure Java Adapter (SVNKit) 1.6.4
> >
> >
> >
> >
> >
> > Obviously, this is a problem for us but we are generally impressed with
> the
> > quality of the subclipse plugin and hope this can be resolved fairly
> > quickly.
> >
> >
> >
> > Thank you for your collective efforts.
> >
> >
> >
> > Please let me know if you need more information about this issue.
> >
> > Peyre Pellissier
> > Digital Shape Technologies Inc.
> > 1155, boulevard René-Lévesque Ouest, Bureau 2200
> > Montréal - Québec H3B 4T3 CANADA
> > Tél : +1 (514) 908 2189
> > Fax : +1 (514) 908 2191
> > http://www.dst.ca
> >
> > ***
> > This email and any files transmitted with it are confidential and
> intended
> > solely for the use of the individual or entity to whom they are
> addressed.
> > If this message is received by anyone other than the addressee, please
> > return the message to the sender by replying to it, then deleting the
> > message from your computer. If you are not a named addressee you should
> not
> > disseminate, distribute, or copy this email.
> > Cet email et tous les dossiers attachés sont confidentiels et destinés
> > seulement à l'individu ou à l'entité à qui ils sont adressés. Si ce
> message
> > est reçu par tout autre personne que le destinataire, veuillez s'il vous
> > plait renvoyer le message à l'expéditeur, et par la suite le supprimer de
> > votre ordinateur. Si vous n'êtes pas le destinataire mentionné ou lié au
> > destinataire, vous ne devez pas transférer, diffuser, ou copier cet
> email.
> > ***
> >
> >
>
>
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>
> ------------------------------------------------------
>
> http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2382258
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe_at_subclipse.tigris.org].
>

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2382626

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-08-11 20:48:10 CEST

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.