开发者

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

开发者 https://www.devze.com 2023-04-04 05:55 出处:网络
when I try to test my plug-in I\'m getting this weird problem as shown below: Activator.getDefault()// returns null here

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?

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


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 ?

0

精彩评论

暂无评论...
验证码 换一张
取 消