Reputation: 41117
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?
Upvotes: 2
Views: 885
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