Well, the whole ```FormulaEditor``` stuff is pretty nasty and seems to check on ```null``` everywhere. ```SparseIntArray``` with its ```get```-Method won't return ```null``` if nothing is found.

A quickfix would be putting this line after the relevant ```get```-Method: ```currentInternToken = currentInternToken == Integer.MIN_VALUE ? null : currentInternToken;```

**Fix this anyway?**