dc.getDescription().get(0) throws IndexOutOfBounds Exception if description is empty. Replaced .get(0) != null by !...isEmpty()
Added get(0) != null to the condition
Merge pull request #1 from myrho/master

IndexOutOfBoundsException if description is empty