Fix QPAD platform NullPointerException issue.