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

Re: [Subclipse-users] NPE in Label Decorator

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-03-01 15:59:27 CET

Yes, it is definitely a bug. I have not had a chance to look at it and do
not really have any ideas. Traditionally it would be caused by something
"non-standard" like svn:externals where a call to an SVN API gives us
information we are not expecting, like a null in a field that is not usually
null.

Mark

On 3/1/07, Marcus Haarmann <marcus.haarmann@midoco.de> wrote:
>
> Hi,
>
> anybody has an idea on this issue ? Is it a bug ?
>
> Marcus
>
> ------------------------------
> *From:* Marcus Haarmann
> *Sent:* Tuesday, February 27, 2007 11:04 AM
> *To:* users@subclipse.tigris.org
> *Subject:* [Subclipse-users] NPE in Label Decorator
>
> Hi,
> one of our users has a problem with subclipse. The label decorator is not
> shown on some projects.
> The following stack trace is produced:
> !ENTRY org.eclipse.ui 4 4 2007-02-27 10:50:07.656
> !MESSAGE java.lang.NullPointerException
> !STACK 0
> java.lang.NullPointerException
> at
> org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorateTextLabel
> (SVNLightweightDecorator.java:362)
> at
> org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorate
> (SVNLightweightDecorator.java:305)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate
> (LightweightDecoratorDefinition.java:253)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run
> (LightweightDecoratorManager.java:71)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:843)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(
> LightweightDecoratorManager.java:336)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations
> (LightweightDecoratorManager.java:322)
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached
> (DecorationScheduler.java:338)
> at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(
> DecorationScheduler.java:308)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
> The decorator is only missing (replaced by a ?) in two projects. SVN
> actions(commit, update e.g.) can be applied without problems.
> Eclipse 3.2.1 , Subclipse 1.2.0 (selecting SvnKit or JNI makes no
> difference), Windows XP SP 2, JDK 1.5.0_10 (Sun)
> Other workstations with the same eclipse/subclipse version do not
> encounter these problems on the same projects. (only JVM is different,
> 1.5.0_06, 1.5.0_08)
> Projects were checked out fresh inside eclipse, clean workspace. Other
> projects have decorations !
> Any hints ?
> Marcus
>
>

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on Thu Mar 1 15:59:49 2007

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.