libgdx/libgdx — pull request #24 by aspic (2012-08-28 23:01:06+00:00)
Title: Added a null check for the stage of the scrollpane, in case that stage has been removed

The issue can be reproduced by having a scollpane within a Table, and (while flinging the scrollpane up/down) replace the contents of that table with some other stuff (table.clear()). The scrollpane reference to its stage in cancelTouchFocusedChild will then be 'null', and an exception will emerge.