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

Re: [Subclipse-dev] [PATCH] NPE in LogEntry.getLogEntryChangePaths()

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-08-19 02:56:30 CEST

Bernd Rinn <bernd@sdf.lonestar.org> wrote on 07/31/2005 12:36:17 PM:

> When displaying the history in a newly created project we have been
> experiencing a NullPointerException in
LogEntry.getLogEntryChangePaths().

I fixed this problem today. It turned out to be caused by having an
invalid root URL specified in the connection. Here was the commit
message:

Fix NPE in Show in Resource History when the user has entered an invalid
repository root URL.

The code now catches the exception that is thrown, and changes the URL
that
is used to the repository URL. It also update the repository root URL to
be
equal to the repository URL so that this does not keep happening.

The initial error will still show something in the SVN Console.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Fri Aug 19 10:56:30 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.