denio7 / egit

Automatically exported from code.google.com/p/egit
0 stars 0 forks source link

NPE when taking Eclipse down #99

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start Eclipse
2. Wait for egit to do something in the background
3. Stop Eclipse

What is the expected output? What do you see instead?
You expect that everything will go well.

Instead you see this:
!ENTRY org.eclipse.ui 4 4 2009-06-19 17:26:22.504
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
    at org.spearce.egit.ui.Activator.trace(Activator.java:107)
    at 
org.spearce.egit.ui.internal.decorators.GitResourceDecorator.decorate(GitResourc
eDecorator.java
:285)
    at 
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(Light
weightDecorator
Definition.java:263)
    at 
org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnab
le.run(Lightw
eightDecoratorManager.java:81)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at 
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(Lightwei
ghtDecoratorM
anager.java:365)
    at 
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(Li
ghtweightDeco
ratorManager.java:347)
    at 
org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(Deco
rationSchedul
er.java:371)
    at 
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler
.java:331)

It means 2 things:
1. the plugin was stopped but still the job code was trying to access it to log 
something.
2. Even though we are in production, the trace method was called.

What version of the product are you using? On what operating system?
0.4 on Mac OS with 3.5RC4 Cocoa 64 bits.

Please provide any additional information below.

Original issue reported on code.google.com by antoine....@gmail.com on 19 Jun 2009 at 8:31

GoogleCodeExporter commented 8 years ago
This was fixed a long time ago in the integration stream.

Original comment by robin.ro...@gmail.com on 19 Jun 2009 at 11:47