|
Re: Eclipse error when show properties of container [message #1720972 is a reply to message #1720080] |
Fri, 22 January 2016 09:22 |
|
Le 14/01/2016 11:04, Tuan Hoang Anh a écrit :
> Hi all,
Hi
> When I select the container in model to show properties, I met this error:
> !ENTRY org.eclipse.e4.ui.workbench 4 2 2016-01-14 16:42:41.475
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.e4.ui.workbench".
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.sirius.diagram.ui.provider.DiagramUIPlugin$Implementation.getImage(DiagramUIPlugin.java:519)
[snip]
> Below is my odesign file:
> <subContainerMappings name="DefinitionGroup" label="DefinitionGroup"
> semanticCandidatesExpression="[definitiongroups/]"
> createElements="false" domainClass="Teranium.DefinitionGroup"
> childrenPresentation="List">
> <style xsi:type="style:FlatContainerStyleDescription"
> arcWidth="5" arcHeight="5" borderSizeComputationExpression="3"
> iconPath="/com.viosoft.teranium.design/icons/element_category/16/DefinitionGroup.png"
Difficult to be sure, but I'd say Sirius can not find the icon at the
path specified above (granted, it should not crash so brutally on such a
trivial issue).
If the file actually exists at the specified path, one possible issue
which is easy to overlook is whether the "icons" folder has been added
to the build.properties of your com.viosoft.teranium.design plug-in. If
it's not checked in the "Binary build", it will not be present in the
built/packaged version of the plug-in.
Regards,
Pierre-Charles David
--
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.03158 seconds