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.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 Thu Mar  1 09:16:57 2007