[Seasar-user:8749] Re: [Teeda] 次ページへのプロパティ引き継ぎ時にInstantiationException

PPOI [E-MAIL ADDRESS DELETED]
2007年 6月 28日 (木) 02:48:03 JST


koichikさん

 PPOIです。早速の対応ありがとうございます。
 アップしていただいたSNAPSHOTを使用して試してみたのですが,今度は引き継
ぎ時に LinkageError が発生するようになってしまいました。引き継ぐ値の型に
は特に関係なく,valueがnullでない場合必ず発生します。
 以下,発生時のスタックトレースです。

========================================
java.lang.LinkageError: duplicate class definition: org/seasar/framework/container/hotdeploy/HotdeployUtil$RebuilderImpl
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
	at org.seasar.framework.container.hotdeploy.HotdeployClassLoader.defineClass(HotdeployClassLoader.java:114)
	at org.seasar.framework.container.hotdeploy.HotdeployClassLoader.defineClass(HotdeployClassLoader.java:103)
	at org.seasar.framework.container.hotdeploy.HotdeployClassLoader.defineClass(HotdeployClassLoader.java:86)
	at org.seasar.framework.container.hotdeploy.HotdeployClassLoader.loadClass(HotdeployClassLoader.java:56)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at org.seasar.framework.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:292)
	at org.seasar.framework.container.hotdeploy.HotdeployUtil.rebuildValueInternal(HotdeployUtil.java:120)
	at org.seasar.framework.container.hotdeploy.HotdeployUtil.rebuildValue(HotdeployUtil.java:104)
	at org.seasar.teeda.extension.html.impl.SessionPagePersistence.restoreValues(SessionPagePersistence.java:363)
	at org.seasar.teeda.extension.html.impl.SessionPagePersistence.restore(SessionPagePersistence.java:106)
	at org.seasar.teeda.extension.html.impl.HtmlViewHandler.setUpRequestForExternalBinding(HtmlViewHandler.java:104)
	at org.seasar.teeda.extension.html.impl.HtmlViewHandler.restoreView(HtmlViewHandler.java:97)
	at org.seasar.teeda.extension.render.TViewRootRenderer.getParentViewRoot(TViewRootRenderer.java:237)
	at org.seasar.teeda.extension.render.TViewRootRenderer.layout(TViewRootRenderer.java:155)
	at org.seasar.teeda.extension.render.TViewRootRenderer.encodeBegin(TViewRootRenderer.java:136)
	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:330)
	at javax.faces.component.UIViewRoot.encodeBegin(UIViewRoot.java:100)
	at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:240)
	at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:177)
	at org.seasar.teeda.extension.taglib.TViewTag.doStartTag(TViewTag.java:90)
	at org.seasar.teeda.extension.html.processor.ElementProcessorImpl.processTag(ElementProcessorImpl.java:145)
	at org.seasar.teeda.extension.html.processor.ElementProcessorImpl.process(ElementProcessorImpl.java:138)
	at org.seasar.teeda.extension.html.processor.ElementProcessorImpl.process(ElementProcessorImpl.java:119)
	at org.seasar.teeda.extension.html.impl.HtmlViewHandler.renderView(HtmlViewHandler.java:145)
	at org.seasar.teeda.extension.html.impl.HtmlViewHandler.renderView(HtmlViewHandler.java:135)
	at org.seasar.teeda.core.lifecycle.impl.RenderResponsePhase.executePhase(RenderResponsePhase.java:38)
	at org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:55)
	at org.seasar.teeda.core.lifecycle.LifecycleImpl.render(LifecycleImpl.java:128)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:93)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:63)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:64)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:62)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
	at java.lang.Thread.run(Thread.java:595)
========================================

 取り急ぎご報告まで。

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 PPOI
  E-mail: [E-MAIL ADDRESS DELETED]
 Key fingerprint: 6F7E 2FED 72A7 C84C 9E5A  2EAC 6850 E1DF 0921 CAFB
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




Seasar-user メーリングリストの案内