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

go~() で移動する際に,Page クラスが無く HTML のみのページに移動すると NullPointerException が発生する.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0.12-rc1
    • 1.0.10
    • Teeda Extension
    • None

    Description

      go~() で移動する際に,Page クラスが無く HTML のみのページに移動すると NullPointerException が発生する.

      java.lang.NullPointerException
      	org.seasar.teeda.extension.html.factory.ConditionFactory.isMatch(ConditionFactory.java:60)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assembleTagProcessor(TagProcessorAssemblerImpl.java:90)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assembleTagProcessor(TagProcessorAssemblerImpl.java:64)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assembleElementNodeChildren(TagProcessorAssemblerImpl.java:122)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assembleTagProcessor(TagProcessorAssemblerImpl.java:95)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assembleTagProcessor(TagProcessorAssemblerImpl.java:64)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assembleElementNodeChildren(TagProcessorAssemblerImpl.java:122)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assembleTagProcessor(TagProcessorAssemblerImpl.java:95)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assembleTagProcessor(TagProcessorAssemblerImpl.java:64)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assembleElementNodeChildren(TagProcessorAssemblerImpl.java:122)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assembleElementNodeAsText(TagProcessorAssemblerImpl.java:112)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assembleTagProcessor(TagProcessorAssemblerImpl.java:102)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assembleTagProcessor(TagProcessorAssemblerImpl.java:64)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assembleTagProcessor(TagProcessorAssemblerImpl.java:82)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assembleTagProcessor(TagProcessorAssemblerImpl.java:61)
      	org.seasar.teeda.extension.html.impl.TagProcessorAssemblerImpl.assemble(TagProcessorAssemblerImpl.java:51)
      	org.seasar.teeda.extension.html.impl.TagProcessorCacheImpl.updateTagProcessor(TagProcessorCacheImpl.java:95)
      	org.seasar.teeda.extension.html.impl.HtmlViewHandler.restoreView(HtmlViewHandler.java:104)
      	org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase.composeViewRoot(RestoreViewPhase.java:113)
      	org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase.executePhase(RestoreViewPhase.java:81)
      	org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:57)
      	org.seasar.teeda.core.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:68)
      	javax.faces.webapp.FacesServlet.service(FacesServlet.java:94)
      	org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:63)
      	org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:64)
      	org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
      	org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:69)
      

      続けてもう一度画面遷移すると違う場所で NullPointerException が発生する.

      java.lang.NullPointerException
      	org.seasar.teeda.extension.html.impl.HtmlViewHandler.renderView(HtmlViewHandler.java:161)
      	org.seasar.teeda.extension.html.impl.HtmlViewHandler.renderView(HtmlViewHandler.java:141)
      	org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase.executePhase(RenderResponsePhase.java:38)
      	org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:57)
      	org.seasar.teeda.core.lifecycle.LifecycleImpl.render(LifecycleImpl.java:131)
      	javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
      	org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:63)
      	org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:64)
      	org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
      	org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:69)
      

      Attachments

        Activity

          People

            shot shot
            koichik koichik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: