Wildfly is giving error but cant find which line is causing this error. Can someone help in how to log complete line no causing error.
16:13:12,716 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "App.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"App.war\".undertow-deployment" => "java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
This was happening due to a rest api not able to get mapped/initialized. If you get same error, run wildfly in debug mode, then check the method/api was getting just initialized before this error and failed, that api could be having bad arguments which caused wildfly to give this error and fail on startup.