|
Re: problem with the activity painter [message #620085 is a reply to message #620082] |
Tue, 23 September 2008 12:45 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Please check that the activity has an activity type.
Thanks,
Antoine
Dali wrote:
> Hi everybody ,
>
> i'm getting the following when i'm trying to open my file editor input .
>
> java.lang.NullPointerException
> at
> org.eclipse.stp.bpmn.figures.activities.ActivityPainter$4.ge tToolTipText(ActivityPainter.java:1246)
>
> at
> org.eclipse.stp.bpmn.figures.WrapLabelWithToolTip.updateTool Tip(WrapLabelWithToolTip.java:91)
>
> at
> org.eclipse.stp.bpmn.figures.WrapLabelWithToolTip.getTruncat ionString(WrapLabelWithToolTip.java:79)
>
> at
> org.eclipse.stp.gmf.runtime.draw2d.ui.figures.WrappingLabel. getTruncationStringSize(WrappingLabel.java:998)
>
> at
> org.eclipse.stp.gmf.runtime.draw2d.ui.figures.WrappingLabel. getMinimumSize(WrappingLabel.java:921)
>
> at
> org.eclipse.draw2d.StackLayout.calculateMinimumSize(StackLay out.java:44)
> at
> org.eclipse.draw2d.AbstractHintLayout.getMinimumSize(Abstrac tHintLayout.java:68)
>
> at org.eclipse.draw2d.Figure.getMinimumSize(Figure.java:707)
> at
> org.eclipse.draw2d.StackLayout.calculateMinimumSize(StackLay out.java:44)
> at
> org.eclipse.draw2d.AbstractHintLayout.getMinimumSize(Abstrac tHintLayout.java:68)
>
> at org.eclipse.draw2d.Figure.getMinimumSize(Figure.java:707)
> at org.eclipse.draw2d.Figure.getMinimumSize(Figure.java:697)
> at
> org.eclipse.gmf.runtime.diagram.ui.layout.FreeFormLayoutEx.l ayout(FreeFormLayoutEx.java:49)
>
> at org.eclipse.draw2d.Figure$LayoutNotifier.layout(Figure.java: 1808)
> at org.eclipse.draw2d.Figure.layout(Figure.java:1029)
> at org.eclipse.draw2d.Figure.validate(Figure.java:1735)
> at
> org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemsAwareF reeFormLayer.validate(BorderItemsAwareFreeFormLayer.java:169 )
>
> at
> org.eclipse.draw2d.FreeformViewport$FreeformViewportLayout.c alculatePreferredSize(FreeformViewport.java:28)
>
> at
> org.eclipse.draw2d.AbstractLayout.getPreferredSize(AbstractL ayout.java:93)
>
>
> it seems like the getToolTip is not getting the objects created in the
> diagram.
> I checked the source code and i don't now why it throws this.
>
>
> Best Regards ,
>
>
> Dali
>
>
>
|
|
|
Re: problem with the activity painter [message #620088 is a reply to message #620085] |
Tue, 23 September 2008 12:47 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Also check that the activity is not null. If it is null, you probably
have an issue during the generation.
Thanks,
Antoine
Antoine Toulme wrote:
> Please check that the activity has an activity type.
>
> Thanks,
>
> Antoine
>
> Dali wrote:
>> Hi everybody ,
>>
>> i'm getting the following when i'm trying to open my file editor input .
>>
>> java.lang.NullPointerException
>> at
>> org.eclipse.stp.bpmn.figures.activities.ActivityPainter$4.ge tToolTipText(ActivityPainter.java:1246)
>>
>> at
>> org.eclipse.stp.bpmn.figures.WrapLabelWithToolTip.updateTool Tip(WrapLabelWithToolTip.java:91)
>>
>> at
>> org.eclipse.stp.bpmn.figures.WrapLabelWithToolTip.getTruncat ionString(WrapLabelWithToolTip.java:79)
>>
>> at
>> org.eclipse.stp.gmf.runtime.draw2d.ui.figures.WrappingLabel. getTruncationStringSize(WrappingLabel.java:998)
>>
>> at
>> org.eclipse.stp.gmf.runtime.draw2d.ui.figures.WrappingLabel. getMinimumSize(WrappingLabel.java:921)
>>
>> at
>> org.eclipse.draw2d.StackLayout.calculateMinimumSize(StackLay out.java:44)
>> at
>> org.eclipse.draw2d.AbstractHintLayout.getMinimumSize(Abstrac tHintLayout.java:68)
>>
>> at org.eclipse.draw2d.Figure.getMinimumSize(Figure.java:707)
>> at
>> org.eclipse.draw2d.StackLayout.calculateMinimumSize(StackLay out.java:44)
>> at
>> org.eclipse.draw2d.AbstractHintLayout.getMinimumSize(Abstrac tHintLayout.java:68)
>>
>> at org.eclipse.draw2d.Figure.getMinimumSize(Figure.java:707)
>> at org.eclipse.draw2d.Figure.getMinimumSize(Figure.java:697)
>> at
>> org.eclipse.gmf.runtime.diagram.ui.layout.FreeFormLayoutEx.l ayout(FreeFormLayoutEx.java:49)
>>
>> at org.eclipse.draw2d.Figure$LayoutNotifier.layout(Figure.java: 1808)
>> at org.eclipse.draw2d.Figure.layout(Figure.java:1029)
>> at org.eclipse.draw2d.Figure.validate(Figure.java:1735)
>> at
>> org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemsAwareF reeFormLayer.validate(BorderItemsAwareFreeFormLayer.java:169 )
>>
>> at
>> org.eclipse.draw2d.FreeformViewport$FreeformViewportLayout.c alculatePreferredSize(FreeformViewport.java:28)
>>
>> at
>> org.eclipse.draw2d.AbstractLayout.getPreferredSize(AbstractL ayout.java:93)
>>
>>
>>
>> it seems like the getToolTip is not getting the objects created in the
>> diagram.
>> I checked the source code and i don't now why it throws this.
>>
>>
>> Best Regards ,
>>
>>
>> Dali
>>
>>
>>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02371 seconds