http://gambaswiki.org/bugtracker/edit?object=BUG.1885&from=L21haW4- Comment #1 by Benoît MINISINI: The NULL object is a bug in your code, in the "Select" event handler of the ListBox, but another bug in the Gambas debugger points at the wrong line.