when I try to test my plug-in I'm getting this weird problem as shown below:
Activator.getDefault() // returns null here
Any clue h开发者_Go百科ow to fix it?
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 ?
精彩评论