Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » AbstractUIPlugin.imageDescriptorFromPlugin problems(Don't work when I install my plug-in on the existing image)
AbstractUIPlugin.imageDescriptorFromPlugin problems [message #1746564] Mon, 31 October 2016 23:16
kozhaev Vladimir is currently offline kozhaev VladimirFriend
Messages: 108
Registered: July 2009
Senior Member
I have created the plug-in where I have add icons to the icon folder.
Then get icons image in following way
AbstractUIPlugin.imageDescriptorFromPlugin(PLUGIN_ID, pIconPath).createImage()

It's working fine when I run my plug-in via eclipse run configuration, but don't work(null pointer exception) when I install my plug - ins on standalone version of eclipse.

My file is

source.. = src/
output.. = bin/
bin.includes = plugin.xml,\

So, icons folder is included

My path to the icon is like following



Where I'm wrong and how to solve this problem?
Previous Topic:creating the setup project
Next Topic:Can't resolve target platform
Goto Forum:

Current Time: Mon Jan 25 08:12:19 GMT 2021

Powered by FUDForum. Page generated in 0.02431 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top