UpdateSite build error in Eclipse

时间:2016-04-25 09:00:40

标签: eclipse eclipse-plugin eclipse-rcp

I just finished to code an Eclipse plugin, I created a feature for this plugin, and an update site for this feature. Nothing special for the moment, I just followed step by step the instructions. But when I click on "build" in the site.xml file, I have a dialog box telling me that there is problem :


Problem occured

'Build site' has encountered a problem. An internal error occured during : "Build site".

An internal error occurred during: "Build Site". while trying to invoke the method java.lang.Object.equals(java.lang.Object) of a null object loaded from local variable 'osAlias'


I searched some similar cases online, but didn't find anything about this "osAlias" local variable.

Any help would be appreciated Smile

Thanks for reading.

EDIT : The same problem occurs when I try to export a feature. The error message is the same, but with "Export feature" instead of "Build Site"

1 个答案:

答案 0 :(得分:0)

解决方案:由于Eclipse版本而发生错误。我下载了Eclipse Mars 2,一切正常。