Elan interface add throwing NPE