fastcodejava
fastcodejava

Reputation: 41117

The plug-in is null : problem in an eclipse plug-in

when I try to test my plug-in I'm getting this weird problem as shown below:

Activator.getDefault()   // returns null here

Any clue how to fix it?

enter image description here

Upvotes: 2

Views: 885

Answers (1)

adietisheim
adietisheim

Reputation: 3454

Pretty much sounds like your plugin is not activated when you call #getDefault. Did you check "Activate this Plug-in when one of its classes is loaded" (aka "Bundle-ActivationPolicy: lazy" in MANIFEST.MF) in the manifest editor ?

Upvotes: 3

Related Questions