Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Platform.getBundle(symbolicName) return null(Can't load resource under under.)
icon5.gif  Platform.getBundle(symbolicName) return null [message #1732151] Fri, 13 May 2016 01:35
Jamling Li is currently offline Jamling LiFriend
Messages: 9
Registered: August 2011
Junior Member
I write an eclipse plugin, some image loaded from res directory under plugin.
When I "Run as eclipse appliction" the image icon of toolbar displayed, but after publishing, I install the plugin with feature, the icon of toolbar not display.

I try to debug, and I found the cause.
the location is
ResourceManager#getPluginImageURL(String symbolicName, String path). the Platform.getBundle(symbolicName) return null

The ResourceManager.java was auto created with WindowBuilder.

PS:
1, the plugin is auto-start when eclipse stratup.
2, my feature project select "unpack the plugin archive after installation
3, Manifest.MF runtime classpath include ./
3, eclipse version: 4.5.0
4, the published plugin is : Android ADT-extension (avaliable in marketplace)

index.php/fa/25955/0/
  • Attachment: null.png
    (Size: 64.19KB, Downloaded 375 times)

[Updated on: Thu, 19 May 2016 08:47]

Report message to a moderator

Previous Topic:Annoying string substitution validated when used as vm argument i run configuration
Next Topic:Problem in every proyect - 'Show Console Error' (Java)
Goto Forum:
  


Current Time: Wed Sep 19 02:47:47 GMT 2018

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

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

Back to the top