[codenameone-discussions] Re: An exception occurred during transition paint this might be valid in case of a resize in the middle of a transition

2016-10-25 Thread Shai Almog
Sounds like a bug, I also think this method accepts radians but I don't recall for sure. Steve? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to coden

[codenameone-discussions] Re: An exception occurred during transition paint this might be valid in case of a resize in the middle of a transition

2016-10-25 Thread Gareth Murfin
Looks like it happens when you pass something like this pathStatic.arc(xPos, yPos, circleW, circleH , 180, 180); // *ie the same start and complete angle* Turned out to be a bug in my logic as I should not have been passing the same value like that, but I think that still maybe qualifies as a b

[codenameone-discussions] Re: An exception occurred during transition paint this might be valid in case of a resize in the middle of a transition

2016-10-24 Thread Shai Almog
It looks like this is triggered by one of the arc paths can you log these calls and see which arguments trigger this? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, s

[codenameone-discussions] Re: An exception occurred during transition paint this might be valid in case of a resize in the middle of a transition

2016-10-24 Thread Gareth Murfin
Note, I do use general path and drawshape: private void drawCircleBar(Graphics g, int pullToTheLeftPixels, int angleToStartOn, int angleToEndOn, int colour) { GeneralPath pathStatic = new GeneralPath();//these should not be made each time but had repaint issues when I did, see http