无法在 wildfly 中找到导致异常的应用程序行
Not able to find application program line causing exception in wildfly
Wildfly 出错但无法找到导致此错误的行。有人可以帮助如何记录完整的行而不会导致错误。
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
发生这种情况是因为休息 api 无法得到 mapped/initialized。如果你得到同样的错误,运行 wildfly 在调试模式下,然后检查 method/api 在这个错误之前刚刚初始化并且失败,api 可能有错误的参数导致 wildfly 给出此错误并在启动时失败。
Wildfly 出错但无法找到导致此错误的行。有人可以帮助如何记录完整的行而不会导致错误。
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
发生这种情况是因为休息 api 无法得到 mapped/initialized。如果你得到同样的错误,运行 wildfly 在调试模式下,然后检查 method/api 在这个错误之前刚刚初始化并且失败,api 可能有错误的参数导致 wildfly 给出此错误并在启动时失败。