<#-- /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ -->

## Struts Problem Report

Struts has detected an unhandled exception:

<#assign msgs = [] /> <#list chain as ex> <#if ex.message??> <#assign msgs = [ex.message] + msgs/> <#assign rootex = exception/> <#list chain as ex> <#if (ex.location?? && (ex.location != unknown))> <#assign rootloc = ex.location/> <#assign rootex = ex/> <#else> <#assign tmploc = locator.getLocation(ex) /> <#if (tmploc != unknown)> <#assign rootloc = tmploc/> <#assign rootex = ex/>

Messages:

<#if (msgs?size > 1)>

<#list msgs as msg> <#if (msg?is_method)>
1. ${msg[0]}
<#else>
2. ${msg}

<#elseif (msgs?size == 1)> <#if (msgs[0]?is_method)>
- ${msgs[0][0]}
<#else>
- ${msgs[0]}

<#if rootloc??>
File: | ${rootloc.URI}
Line number: | ${rootloc.lineNumber}
<#if (rootloc.columnNumber >= 0)>
Column number: | ${rootloc.columnNumber}

<#if rootloc??> <#assign snippet = rootloc.getSnippet(2) /> <#if (snippet?size > 0)>

<#list snippet as line> <#if (line_index == 2)> <#if (rootloc.columnNumber >= 3)>

    ${(line[0..(rootloc.columnNumber-3)])}${(line[(rootloc.columnNumber-2)])}<#if ((rootloc.columnNumber)<line.length())>${(line[(rootloc.columnNumber-1)..])}

<#else>

    ${line}

<#else>

    ${line}

### Stacktraces

<#list chain as ex>
${ex}

        <#list ex.stackTrace as frame>
        ${frame}