Kevincosme / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

ScrollableArrowMenu throws NullPointerException when clicking on a scroll button #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use a ScrollableArrowMenu
2. While scrolling, click on one of the scroll buttons

In some cases this leads to a NullPointerException.

Explenation:
The method "stopScrolling(event)" in ScrollableArrowMenu (line 398) is
being called. This method tries to remove an eventListener from the stage.
At this point, stage might be Null which leads to an Exception.
This particular listener has never been added, which makes this line
obsolete. So to solve the problem, it should be save to just remove the
line from the code.

This bug has been discovered in version "flexlib-.2.1.zip" on Windows XP.

Original issue reported on code.google.com by georgebl...@googlemail.com on 23 Nov 2007 at 8:17

GoogleCodeExporter commented 8 years ago
Just found the same problem described in Issue 55 with a more apropriate 
solution, so
you may close this Issue. Sorry about that.

Original comment by georgebl...@googlemail.com on 23 Nov 2007 at 8:24

GoogleCodeExporter commented 8 years ago

Original comment by dmcc...@gmail.com on 25 Dec 2007 at 2:30

GoogleCodeExporter commented 8 years ago
Duplicate of #55, marked as Duplicate

Original comment by dmcc...@gmail.com on 25 Dec 2007 at 4:16