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

Actionクラス内でのページ遷移指定時にorg.seasar.framework.container.TooManyRegistrationRuntimeException

XMLWordPrintable

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical Critical
    • 1.0-beta-6
    • Affects Version/s: 1.0-beta-5
    • Component/s: Teeda Extension
    • None

      teeda-html-exampleにおいて、Add2Action.javaのdoCalculate()内で
      return "now_now";
      として、now/now.htmlに遷移させようとすると以下の例外が発生します。

      WARN 2006-09-11 11:18:43,735 [http-7001-Processor25] org.seasar.teeda.extension.html.impl.HtmlNodeHandlerのプロパティ(documentLocator)が見つからないので設定をスキップします
      DEBUG 2006-09-11 11:18:51,646 [http-7001-Processor25] BEGIN <org.seasar.framework.container.hotdeploy.HotdeployClassLoader@cf7fda>examples.teeda.web.add.Add2Action#doCalculate()
      DEBUG 2006-09-11 11:18:51,646 [http-7001-Processor25] END <org.seasar.framework.container.hotdeploy.HotdeployClassLoader@cf7fda>examples.teeda.web.add.Add2Action#doCalculate() : now_now
      StandardWrapperValve[facesServlet]: サーブレット facesServlet のServlet.service()が例外を投げました
      org.seasar.framework.container.TooManyRegistrationRuntimeException: [ESSR0045]add_add2Pageに複数のコンポーネント(examples.teeda.web.add.Add2Page, examples.teeda.web.add.Add2Page)が登録されています
      at org.seasar.framework.container.impl.TooManyRegistrationComponentDefImpl.getComponent(TooManyRegistrationComponentDefImpl.java:45)
      at org.seasar.framework.container.impl.S2ContainerImpl.getComponent(S2ContainerImpl.java:113)
      at org.seasar.teeda.core.util.DIContainerUtil.getComponent(DIContainerUtil.java:42)
      at org.seasar.teeda.extension.html.impl.SessionPagePersistence.getPageData(SessionPagePersistence.java:72)
      at org.seasar.teeda.extension.html.impl.SessionPagePersistence.save(SessionPagePersistence.java:64)
      at org.seasar.teeda.extension.html.impl.HtmlNavigationHandler.redirect(HtmlNavigationHandler.java:41)
      at org.seasar.teeda.extension.html.impl.HtmlNavigationHandler.handleNavigation(HtmlNavigationHandler.java:58)
      at org.seasar.teeda.core.util.NavigationHandlerUtil.handleNavigation(NavigationHandlerUtil.java:30)
      at org.seasar.teeda.core.application.ActionListenerImpl.processAction(ActionListenerImpl.java:78)
      at javax.faces.component.UICommand.broadcast(UICommand.java:152)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:192)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:117)
      at org.seasar.teeda.core.lifecycle.impl.InvokeApplicationPhase.executePhase(InvokeApplicationPhase.java:29)
      at org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:55)
      at org.seasar.teeda.core.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:93)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:86)

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

              Created:
              Updated:
              Resolved: