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

NPE in SVNUrl

From: Michael Hall <michaelhall_at_btinternet.com>
Date: 2003-12-08 21:16:52 CET

Hi

I picked up a copy of subclipse from http://www.loonsoft.com/downloads/,
which is the first version that has worked for me with the combination
of versions I'm running[1].

The only slight problem is that I get the following stack trace now and
again in my .log. It seems to be worse when I have files that are not
SVN controlled in my working copy.

java.lang.NullPointerException
        at org.tigris.subversion.svnclientadapter.SVNUrl.parseUrl(SVNUrl.java:89)
        at org.tigris.subversion.svnclientadapter.SVNUrl.<init>(SVNUrl.java:78)
        at org.tigris.subversion.svnclientadapter.javahl.JhlStatus.getUrl(JhlStatus.java:94)
        at org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorateTextLabel(SVNLightweightDecorator.java:222)
        at org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorate(SVNLightweightDecorator.java:174)
        at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:155)
        at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:59)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1127)
        at org.eclipse.core.runtime.Platform.run(Platform.java:464)
        at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:212)
        at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:195)
        at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:259)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:62)
!ENTRY org.eclipse.core.runtime 4 2 Dec 08, 2003 19:57:51.454
!MESSAGE An internal error occurred during: "Decoration Calculation".

Cheers

Michael

[1] Versions being:

OS: Debian Linux unstable
Eclipse 3.0M5 GTK
Subversion 0.33.0
Subclipse r322 GTK
Received on Tue Dec 9 07:16:52 2003

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