Hi, fellow vala-people. My project "nostril" is growing well. But again i ran into a bug that i don't know how to fix. I offer an "clear list"-feature. Which empties an ArrayList as in [0] If i already selected an entry in the list for viewing it in detail, the program crashes with an error like this: ERROR:arraylist.c:518:gee_array_list_real_get: assertion failed: (_tmp1_ < _tmp2_) Using a search-engine on that errormessage was not very effective. My first thought was, that it happens because something that should be rendered hits an empty or invalid reference. But according to my debugging output the error happens _after_ the GUI-renderfunction passed through. More Strange: The User can also delete a selection of list-entries my multi-selection. The function that does that takes a list of Entry-IDs and processes them as in [1]. This works. I already tried to delete every entry on its own like in [1] instead of using the clear()-Method of the ArrayList. In this case the error still occurs. The full code can still be cloned an seen here [2] I use valac-0.22 Hope someone can bring some light into the darkness here. Thanks in advance, Grindhold [0] http://pastebin.com/LH8T4z30 [1] http://pastebin.com/2sFAdFX4 [2] https://github.com/grindhold/nostril
Attachment:
signature.asc
Description: This is a digitally signed message part