|Access a plugin from project [message #560171]
||Tue, 21 September 2010 12:39
Registered: August 2010
Using the helios eclipse plattform, I created a java project in my workspace. From within my code I want to instantiate a class from one of the plugins of that eclipse plattform being used for development and call a method on that class instance.
I have an eclipse instance with a couple of additional plugins. one of which I wrote.
When I start this eclipse instance I can see my plugin and I can create a java project, compile and run it without any problems.
As soon as I try to call a method from that plugin class I get an NullPointerException:
saying that Activator in: Activator.PLUGIN_ID is null
Why is that and what do I need to do to be able to call methods inside other plugins from my java project?
Thanx for some help.
[Updated on: Tue, 21 September 2010 12:40]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03216 seconds