[Seasar-user:13065] Re: [work] Re: [S2Struts]S2Struts + S2Maiの組み合わせで問題発生。

cero [E-MAIL ADDRESS DELETED]
2008年 2月 26日 (火) 01:02:51 JST


せろです。

HOT deploy時に、assertParameterIsNotNullでスローされる、であっています。
いまststruts-exampleでサクっと再現環境を作ろうとしたのですが、
うまく再現できず・・・すみません。

# 何か、私のdicon記述が誤ってるのかも知れません。

スタックトレースを全文貼っておきますので、確認をお願いします。


java.lang.IllegalArgumentException: componentKey
	at
org.seasar.framework.container.impl.S2ContainerImpl.assertParameterIsNot
Null(S2ContainerImpl.java:712)
	at
org.seasar.framework.container.impl.S2ContainerImpl.hasComponentDef(S2Co
ntainerImpl.java:455)
	at
org.seasar.struts.lessconfig.config.rule.impl.DefaultActionPathNamingRul
e.toActionPathName(DefaultActionPathNamingRule.java:98)
	at
org.seasar.struts.lessconfig.autoregister.impl.ActionConfigCreatorImpl.c
reateActionConfig(ActionConfigCreatorImpl.java:67)
	at
org.seasar.struts.lessconfig.hotdeploy.OndemandFindActionConfigsIntercep
tor$1.processContainer(OndemandFindActionConfigsInterceptor.java:65)
	at
org.seasar.framework.container.util.Traversal.forEachContainer(Traversal
.java:142)
	at
org.seasar.framework.container.util.Traversal.forEachContainer(Traversal
.java:153)
	at
org.seasar.framework.container.util.Traversal.forEachContainer(Traversal
.java:153)
	at
org.seasar.framework.container.util.Traversal.forEachContainer(Traversal
.java:153)
	at
org.seasar.framework.container.util.Traversal.forEachContainer(Traversal
.java:153)
	at
org.seasar.framework.container.util.Traversal.forEachContainer(Traversal
.java:153)
	at
org.seasar.framework.container.util.Traversal.forEachContainer(Traversal
.java:110)
	at
org.seasar.struts.lessconfig.hotdeploy.OndemandFindActionConfigsIntercep
tor.getActionConfigs(OndemandFindActionConfigsInterceptor.java:61)
	at
org.seasar.struts.lessconfig.hotdeploy.OndemandFindActionConfigsIntercep
tor.invoke(OndemandFindActionConfigsInterceptor.java:49)
	at
org.seasar.framework.aop.impl.NestedMethodInvocation.proceed(NestedMetho
dInvocation.java:53)
	at
org.seasar.struts.hotdeploy.ReloadFindActionConfigsInterceptor.invoke(Re
loadFindActionConfigsInterceptor.java:42)
	at
org.seasar.framework.aop.impl.NestedMethodInvocation.proceed(NestedMetho
dInvocation.java:53)
	at
org.seasar.struts.hotdeploy.AbstractRequestCacheInterceptor.invokeAndCac
he(AbstractRequestCacheInterceptor.java:46)
	at
org.seasar.struts.hotdeploy.CacheFindActionConfigsInterceptor.invoke(Cac
heFindActionConfigsInterceptor.java:33)
	at
org.seasar.framework.aop.impl.NestedMethodInvocation.proceed(NestedMetho
dInvocation.java:53)
	at
org.seasar.framework.aop.interceptors.InterceptorChain.invoke(Intercepto
rChain.java:49)
	at
org.seasar.struts.hotdeploy.ModuleConfigWrapper$$EnhancedByS2AOP$$1caecc
f$$MethodInvocation$$findActionConfigs4.proceed(MethodInvocationClassGen
erator.java)
	at
org.seasar.struts.hotdeploy.ModuleConfigWrapper$$EnhancedByS2AOP$$1caecc
f.findActionConfigs(ModuleConfigWrapper$$EnhancedByS2AOP$$1caeccf.java)
	at
org.seasar.struts.util.ModuleConfigUtil.findActionConfigsForFormBeanName
(ModuleConfigUtil.java:85)
	at
org.seasar.struts.pojo.util.BindingUtil.getPropertyActionMapping(Binding
Util.java:210)
	at
org.seasar.struts.pojo.util.BindingUtil.exportProperty(BindingUtil.java:
177)
	at
org.seasar.struts.pojo.util.BindingUtil.exportProperties(BindingUtil.jav
a:157)
	at
org.seasar.struts.pojo.MethodBinding.invoke(MethodBinding.java:68)
	at
org.seasar.struts.pojo.MethodBinding.invoke(MethodBinding.java:55)
	at
org.seasar.struts.taglib.InitializeTag.doStartTag(InitializeTag.java:47)
	at
org.seasar.mayaa.impl.engine.processor.JspProcessor.doStartProcess(JspPr
ocessor.java:273)
	at
org.seasar.mayaa.impl.engine.RenderUtil.renderTemplateProcessor(RenderUt
il.java:134)
	at
org.seasar.mayaa.impl.engine.RenderUtil.renderTemplateProcessor(RenderUt
il.java:153)
	at
org.seasar.mayaa.impl.engine.processor.ComponentRenderer.renderTemplate(
ComponentRenderer.java:70)
	at
org.seasar.mayaa.impl.engine.RenderUtil.renderPage(RenderUtil.java:317)
	at
org.seasar.mayaa.impl.engine.processor.InsertProcessor.doStartProcess(In
sertProcessor.java:327)
	at
org.seasar.mayaa.impl.engine.RenderUtil.renderTemplateProcessor(RenderUt
il.java:134)
	at
org.seasar.mayaa.impl.engine.RenderUtil.renderTemplateProcessor(RenderUt
il.java:153)
	at
org.seasar.mayaa.impl.engine.RenderUtil.renderProcessorTree(RenderUtil.j
ava:232)
	at
org.seasar.mayaa.impl.engine.TemplateImpl.doTemplateRender(TemplateImpl.
java:203)
	at
org.seasar.mayaa.impl.engine.PageImpl.renderTemplate(PageImpl.java:242)
	at
org.seasar.mayaa.impl.engine.RenderUtil.renderPage(RenderUtil.java:317)
	at
org.seasar.mayaa.impl.engine.PageImpl.doPageRender(PageImpl.java:190)
	at
org.seasar.mayaa.impl.engine.EngineImpl.doPageService(EngineImpl.java:36
8)
	at org.seasar.mayaa.impl.engine.EngineImpl.doService(EngineImpl.
java:490)
	at
org.seasar.mayaa.impl.MayaaServlet.doService(MayaaServlet.java:97)
	at
org.seasar.mayaa.impl.MayaaServlet.doGet(MayaaServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
	at
org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:
69)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
	at
org.seasar.struts.filter.S2StrutsFilter.doFilter(S2StrutsFilter.java:42)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
	at
org.seasar.struts.hotdeploy.filter.S2StrutsHotdeployFilter.doFilter(S2St
rutsHotdeployFilter.java:48)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
	at
org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(Hotdep
loyFilter.java:63)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
	at
org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2Conta
inerFilter.java:77)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:174)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:525)
	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:1
51)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
4)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
	at java.lang.Thread.run(Thread.java:619)


以上、よろしくお願いします。

-----Original Message-----
From: [E-MAIL ADDRESS DELETED]
[mailto:[E-MAIL ADDRESS DELETED]] On Behalf Of Toshihiro
Nakamura
Sent: Sunday, February 24, 2008 10:42 AM
To: [E-MAIL ADDRESS DELETED]
Subject: [work] [Seasar-user:13031] Re: [S2Struts]S2Struts + S2Maiの組み
合わせで問題発生。


中村(taedium)です。

> S2Struts1.3.0-RC2 + S2Mai0.9.3の組み合わせで問題が発生します。
> 具体的には、無設定S2Strutsを利用していると
> Actionの実行時に(Actionの内容問わず)、
> IllegalArgumentExceptionが発生します。

念のために教えてほしいのですが、
IllegalArgumentExceptionはいつどこで発生しますか?
できればスタックトレースを見せてもらえると
うれしいです。

HOT deploy時に
S2ContainerImpl#assertParameterIsNotNull()でスローされる
ということかなぁと思ったのですがあっています?
それともHOT deployは関係ないでしょうか。
-- 
Toshihiro Nakamura

_______________________________________________
Seasar-user mailing list
[E-MAIL ADDRESS DELETED]
https://ml.seasar.org/mailman/listinfo/seasar-user



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