Re: [piccolo2d-dev] Exception

2011-12-18 Thread Michael Heuer
Hello Beccari, It would be helpful if we could create a unit test that reproduces this error. Are you adding activities from a thread other than the AWT event thread? michael On Fri, Dec 16, 2011 at 10:31 AM, beccari.francesco wrote: > Sometimes, when i run my application, I have this exce

Re: [piccolo2d-dev] Exception

2011-12-18 Thread Aaron Dixon
Beccari, It appears that this is because null activity is being added to the activity scheduler. The typical way to add activities is through PNode.addActivity(), or PRoot.addActivity(). Are you sure that your code isn't adding a null activity? I would recommend checking for null wherever you ar

[piccolo2d-dev] Re: Issue 232 in piccolo2d: adding anchor points on the lines drawn between two nodes

2011-12-18 Thread piccolo2d
Updates: Status: Invalid Comment #4 on issue 232 by atdi...@gmail.com: adding anchor points on the lines drawn between two nodes http://code.google.com/p/piccolo2d/issues/detail?id=232 Vijay, You should ask your question on the users group: http://groups.google.com/group/piccolo2d-u

[piccolo2d-dev] Re: Issue 233 in piccolo2d: adding PHandle

2011-12-18 Thread piccolo2d
Updates: Status: Invalid Comment #1 on issue 233 by atdi...@gmail.com: adding PHandle http://code.google.com/p/piccolo2d/issues/detail?id=233 Vijay, Your locator has a few defects: 1) You are returning the "X" coordinate in the locateY() method. 2) You should be returning *local* coord