Skip to content

Context menu command throws exception for non-found platform icon

Created originally on Bitbucket by emilles (Eric Milles)

In plugin.xml, the following command makes reference to an icon from JDT Debug UI. This icon is now a PNG and so I get an exception in my Eclipse log every time I open the context menu.

#!xml
                <command
                      commandId="com.vectrace.MercurialEclipse.menu.DisconnectHandler"
                      icon="platform:/plugin/org.eclipse.debug.ui/icons/full/elcl16/disconnect_co.gif">
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information