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

[Subclipse-users] NPE in Label Decorator

From: Marcus Haarmann <marcus.haarmann_at_midoco.de>
Date: 2007-02-27 11:03:55 CET

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.dec
orateTextLabel(SVNLightweightDecorator.java:362)
 at
org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.dec
orate(SVNLightweightDecorator.java:305)
 at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decora
te(LightweightDecoratorDefinition.java:253)
 at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager$Lightweig
htRunnable.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.getDecora
tions(LightweightDecoratorManager.java:322)
 at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCac
hed(DecorationScheduler.java:338)
 at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationS
cheduler.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
 
Received on Tue Feb 27 11:04:11 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.