[KVASIR-177] 存在しない静的コンテンツを指定すると内部的にArrayIndexOfBoundsExceptionが発生し、白紙ページが出力される Created: 2007-11-02 Updated: 2007-11-02 Resolved: 2007-11-02 |
|
Status: | Closed |
Project: | Kvasir/Sora |
Component/s: | component/kvasir-webapp |
Affects Version/s: | 3.0.0-EA4-SNAPSHOT |
Fix Version/s: | 3.0.0-RC1 |
Type: | Bug | Priority: | Minor |
Reporter: | tsuboi | Assignee: | skirnir |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
PLUST-0.0.4で生成した新規サイト。変更なし |
Description |
(このエントリはKVASIR-39を作成しなおしたもの。) 存在しない静的なリソースを指定すると、内部的にはエラーページを出力しようとするが、 具体的には、ServletUtils#getDomainURL()の418行目。 スタックトレースは下記の通り。 2007-01-28 18:38:33,025 ERROR http-8080-Processor23 [StandardPageExceptionHandler] - ...and tried to handle this exception, but couldn't forward to: /templates/exceptions/PageNotFoundRuntimeException |
Comments |
Comment by skirnir [ 2007-11-02 ] |
無事、Page Not Foundが表示されるようになりました。 |
Comment by skirnir [ 2007-11-02 ] |
一応対処しました。試してみていただけますか? |
Comment by skirnir [ 2007-11-02 ] |
ServletAPIの仕様に沿っていないTomcat5.0でしか生じない現象なので、優先順位をMInor |
Comment by skirnir [ 2007-11-02 ] |
坪井です。 変数: 2007-02-07 01:13:31,781 ERROR http-8080-Processor24 [StandardPageExceptionHandler] - ...and tried to handle this exception, but couldn't forward to: /templates/exceptions/PageNotFoundRuntimeException |
Comment by skirnir [ 2007-11-02 ] |
調査しました。KvasirはServletAPI2.4準拠のServletコンテナで動作します(web.xmlも2.4用になっています)が、 それで手元のTomcat5.5.20では現象が再現しませんでした。Jetty6.0.2でも(別の問題が発生しましたが^^;) 調べた結果では、Tomcat5.0系だと発生する気がしていますが、ひょっとしてTomcat5.0系をお使いですか? で、一応Tomcat5.0系でも動くように修正してみました。(動作は未確認です) |