Please post the entire exception stacktrace along with the relevant server logs and more details about your application. Which version of the server are you using?
WildFly 8.2.0 version.
The error vanished from log when I updated application.xml of ear. I changed version from 5 to 6 and added initialize-in-order.