Uploaded image for project: 'Teeda'
  1. Teeda
  2. TEEDA-50

/index.htmlを置くとIllegalArgumentExceptionが発生する

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-beta-5
    • Fix Version/s: 1.0-beta-6
    • Component/s: Teeda Extension
    • Labels:
      None

      Description

      アプリケーションのルートへindex.htmlを置き、アクセスすると例外が発生する。
      (teeda-html-exampleで確認)

      index.html
      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <title>a</title>
      </head>
      <body>
      </body>
      </html>
      
      2006-08-28 07:38:43,206 [http-8080-Processor25] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/teeda-html-example].[facesServlet] - サーブレット facesServlet のServlet.service()が例外を投げました
      java.lang.IllegalArgumentException: /index.html
          at org.seasar.framework.convention.impl.NamingConventionImpl.fromPathToComponentName(NamingConventionImpl.java:326)
          at org.seasar.framework.convention.impl.NamingConventionImpl.fromPathToPageName(NamingConventionImpl.java:321)
          at org.seasar.teeda.extension.html.impl.PageDescCacheImpl.createPageDesc(PageDescCacheImpl.java:57)
          at org.seasar.teeda.extension.html.impl.TagProcessorCacheImpl.updateTagProcessor(TagProcessorCacheImpl.java:81)
          at org.seasar.teeda.extension.html.impl.HtmlViewHandler.restoreView(HtmlViewHandler.java:89)
          at org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase.getViewRoot(RestoreViewPhase.java:69)
          at org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase.executePhase(RestoreViewPhase.java:54)
          at org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:55)
          at org.seasar.teeda.core.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:65)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:86)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
          at org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:62)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
          at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:62)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
          at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:63)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
          at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
          at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
          at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
          at java.lang.Thread.run(Thread.java:595)
      

        Attachments

          Activity

            People

            • Assignee:
              shot shot
              Reporter:
              manhole manhole
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: