[TUIGWAA-36] 固定値を扱うカスタムフォームでデータ入力しようとするアプリケーションエラーが発生する。 Created: 18/Jul/06  Updated: 29/Sep/06  Resolved: 29/Sep/06

Status: Resolved
Project: Tuigwaa
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Major
Reporter: NakaiTakashi Assignee: someda
Resolution: Fixed Votes: 0
Labels: None


 Description   

Trunk(rev 745)

・症状
 固定値を扱うカスタムフォームでデータ入力しようとするアプリケーションエラーが発生し入力に失敗します。
 データの型等にはよりません。

 エラーログを見ると通常のformプラグインを使用したときにHTML上で使われている変数のうち
カスタムフォームで固定値にしたカラムに対応する変数(下の例では_tgw_attr_2_)が処理できていないようです。

・エラーログ
java.lang.NoSuchMethodException: Unknown property '_tgw_attr_2_'
at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1112)
at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686)
at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290)
at org.seasar.tuigwaa.model.common.EntityUtils.getProperty(EntityUtils.java:452)
at org.seasar.tuigwaa.model.common.EntityUtils.exchange(EntityUtils.java:416)
at org.seasar.tuigwaa.controller.DatabaseAction.saveRecord(DatabaseAction.java:134)
at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
at org.apache.struts.actions.MappingDispatchAction.execute(MappingDispatchAction.java:169)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.seasar.struts.processor.S2TilesRequestProcessor.processActionPerform(S2TilesRequestProcessor.java:94)
at org.seasar.struts.processor.AcceptorImpl.process(AcceptorImpl.java:91)
at org.seasar.struts.processor.S2TilesRequestProcessor.process(S2TilesRequestProcessor.java:27)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.TgwFilter.doFilter(TgwFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.EncodingFilter.doFilter(EncodingFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.ForwardFilter.doFilter(ForwardFilter.java:83)
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:45)
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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
session already invalidated : on JsonSessionListener org.apache.catalina.session.StandardSessionFacade@1034f8d
java.lang.RuntimeException: java.lang.NoSuchMethodException: Unknown property '_tgw_attr_2_'
at org.seasar.tuigwaa.model.common.EntityUtils.getProperty(EntityUtils.java:461)
at org.seasar.tuigwaa.model.common.EntityUtils.exchange(EntityUtils.java:416)
at org.seasar.tuigwaa.controller.DatabaseAction.saveRecord(DatabaseAction.java:134)
at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
at org.apache.struts.actions.MappingDispatchAction.execute(MappingDispatchAction.java:169)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.seasar.struts.processor.S2TilesRequestProcessor.processActionPerform(S2TilesRequestProcessor.java:94)
at org.seasar.struts.processor.AcceptorImpl.process(AcceptorImpl.java:91)
at org.seasar.struts.processor.S2TilesRequestProcessor.process(S2TilesRequestProcessor.java:27)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.TgwFilter.doFilter(TgwFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.EncodingFilter.doFilter(EncodingFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.ForwardFilter.doFilter(ForwardFilter.java:83)
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:45)
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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodException: Unknown property '_tgw_attr_2_'
at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1112)
at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686)
at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290)
at org.seasar.tuigwaa.model.common.EntityUtils.getProperty(EntityUtils.java:452)
... 44 more
2006-07-18 13:59:18,897 ERROR [/] - Application Error Detected and Forwarded
java.lang.RuntimeException: java.lang.NoSuchMethodException: Unknown property '_tgw_attr_2_'
at org.seasar.tuigwaa.model.common.EntityUtils.getProperty(EntityUtils.java:461)
at org.seasar.tuigwaa.model.common.EntityUtils.exchange(EntityUtils.java:416)
at org.seasar.tuigwaa.controller.DatabaseAction.saveRecord(DatabaseAction.java:134)
at sun.reflect.GeneratedMethodAccessor374.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
at org.apache.struts.actions.MappingDispatchAction.execute(MappingDispatchAction.java:169)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.seasar.struts.processor.S2TilesRequestProcessor.processActionPerform(S2TilesRequestProcessor.java:94)
at org.seasar.struts.processor.AcceptorImpl.process(AcceptorImpl.java:91)
at org.seasar.struts.processor.S2TilesRequestProcessor.process(S2TilesRequestProcessor.java:27)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.TgwFilter.doFilter(TgwFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.EncodingFilter.doFilter(EncodingFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.ForwardFilter.doFilter(ForwardFilter.java:83)
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:45)
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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodException: Unknown property '_tgw_attr_2_'
at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1112)
at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686)
at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290)
at org.seasar.tuigwaa.model.common.EntityUtils.getProperty(EntityUtils.java:452)
... 44 more



 Comments   
Comment by nishioka [ 21/Jul/06 ]

もう少し情報が欲しい。ということで、後回し。

Comment by NakaiTakashi [ 21/Sep/06 ]

Trunk(rev. 1018)

次のような4つのテーブルを対象に行いました。
必須カラム等はないです。

1:通常文字列, E-mail, 文章, 短い文章, wiki, html
2:整数, 小数, 日付, 2択選択式, 2択チェック式
3:文字列選択プルダウン式, 文字列選択チェック式, 整数選択, 文字列複数選択
4:通常文字列, ファイル, 関連データ, 自己関連データ

チェック用のカスタムフォームの作り方の方針は
1.対象の型のカラムを固定(常に1種類のみ対象、ファイルは固定入力ないので対象外)
2.残りのうち左端のみ入力
3.上記以外は入力しない

作成した17種類のカスタムフォームを使ってデータ挿入をしてみました。

次の3種類のデータ型でアプリケーションエラーが発生しました。
1.リストからの文字列複数選択
2.関連データ
3.自己関連データ

以下それぞれのTomcat上でのエラーログ一覧です。

リストからの文字列複数選択

java.lang.NullPointerException
at org.seasar.tuigwaa.controller.ControllerServiceStrutsImpl.getCustomActionName(ControllerServiceStrutsImpl.java:139)
at org.seasar.tuigwaa.view.HtmlServiceImpl.createCustomFormComponent(HtmlServiceImpl.java:124)
at org.seasar.tuigwaa.system.ServiceHelperImpl.getCustomForm(ServiceHelperImpl.java:72)
at org.seasar.tuigwaa.plugin.database.FormPlugin.getFormComponent(FormPlugin.java:83)
at org.seasar.tuigwaa.plugin.database.FormPlugin.doHTMLView(FormPlugin.java:66)
at org.seasar.tuigwaa.plugin.AbstractPlugin.service(AbstractPlugin.java:100)
at org.seasar.tuigwaa.cms.core.wiki.base.HTMLWikiVisitor.visit(HTMLWikiVisitor.java:501)
at org.seasar.tuigwaa.cms.core.wiki.engine.WikiBlockPlugin.jjtAccept(WikiBlockPlugin.java:19)
at org.seasar.tuigwaa.cms.core.wiki.base.HTMLWikiVisitor.visit(HTMLWikiVisitor.java:122)
at org.seasar.tuigwaa.cms.core.wiki.engine.WikiGenerateTree.jjtAccept(WikiGenerateTree.java:21)
at org.seasar.tuigwaa.cms.core.wiki.WikiEngine.service(WikiEngine.java:43)
at org.seasar.tuigwaa.cms.core.CmsContainer.service(CmsContainer.java:45)
at org.seasar.tuigwaa.cms.ContentsServiceImpl.doConvert(ContentsServiceImpl.java:175)
at org.seasar.tuigwaa.cms.ContentsServiceImpl.getPage(ContentsServiceImpl.java:139)
at org.seasar.tuigwaa.cms.ContentsServiceImpl.getPageComponent(ContentsServiceImpl.java:74)
at org.seasar.tuigwaa.cms.ContentsServiceImpl$$EnhancedByS2AOP$$f38f09.getPageComponent$$invokeSuperMethod$$(ContentsServiceImpl$$EnhancedByS2AOP$$f38f09.java)
at org.seasar.tuigwaa.cms.ContentsServiceImpl$$EnhancedByS2AOP$$f38f09$$MethodInvocation$$getPageComponent0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.logic.interceptor.PageViewInterceptorImpl.invoke(PageViewInterceptorImpl.java:42)
at org.seasar.tuigwaa.cms.ContentsServiceImpl$$EnhancedByS2AOP$$f38f09$$MethodInvocation$$getPageComponent0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.cms.ContentsServiceImpl$$EnhancedByS2AOP$$f38f09.getPageComponent(ContentsServiceImpl$$EnhancedByS2AOP$$f38f09.java)
at org.seasar.tuigwaa.controller.PageAction.doViewPage(PageAction.java:364)
at org.seasar.tuigwaa.controller.PageAction.view(PageAction.java:102)
at sun.reflect.GeneratedMethodAccessor388.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
at org.apache.struts.actions.MappingDispatchAction.execute(MappingDispatchAction.java:169)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.seasar.struts.processor.S2TilesRequestProcessor.processActionPerform(S2TilesRequestProcessor.java:122)
at org.seasar.struts.processor.AcceptorImpl.process(AcceptorImpl.java:126)
at org.seasar.struts.processor.S2TilesRequestProcessor.process(S2TilesRequestProcessor.java:61)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.TgwFilter.doFilter(TgwFilter.java:67)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.EncodingFilter.doFilter(EncodingFilter.java:65)
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.seasar.tuigwaa.util.filter.ForwardFilter.doFilter(ForwardFilter.java:79)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.struts.filter.S2StrutsFilter.doFilter(S2StrutsFilter.java:45)
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:60)
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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
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:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
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(Unknown Source)
java.lang.IllegalArgumentException: Cannot invoke com.isenshi.tuigwaa.db.dynamic.sample09.Tgw_entity_8.setTgw_attr_3 - argument type mismatch
at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1778)
at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1759)
at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648)
at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677)
at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:559)
at org.seasar.tuigwaa.model.common.EntityUtils.setProperty(EntityUtils.java:479)
at org.seasar.tuigwaa.database.function.UpdateExeFunction.bindUpdateValue(UpdateExeFunction.java:95)
at org.seasar.tuigwaa.database.function.UpdateExeFunction.executeCustomUpdate(UpdateExeFunction.java:69)
at org.seasar.tuigwaa.database.function.UpdateExeFunction.evaluate(UpdateExeFunction.java:51)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252.evaluate$$invokeSuperMethod$$(UpdateExeFunction$$EnhancedByS2AOP$$18e252.java)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252$$MethodInvocation$$evaluate0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.extension.tx.RequiredInterceptor.invoke(RequiredInterceptor.java:40)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252$$MethodInvocation$$evaluate0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.logic.interceptor.DataSaveInterceptorImpl.invoke(DataSaveInterceptorImpl.java:110)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252$$MethodInvocation$$evaluate0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252.evaluate(UpdateExeFunction$$EnhancedByS2AOP$$18e252.java)
at org.seasar.tuigwaa.model.DataServiceImpl.saveOrUpdate(DataServiceImpl.java:49)
at org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$29d838.saveOrUpdate$$invokeSuperMethod$$(DataServiceImpl$$EnhancedByS2AOP$$29d838.java)
at org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$29d838$$MethodInvocation$$saveOrUpdate11.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.logic.aop.MethodDecorateInterceptorImpl.invoke(MethodDecorateInterceptorImpl.java:25)
at org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$29d838$$MethodInvocation$$saveOrUpdate11.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$29d838.saveOrUpdate(DataServiceImpl$$EnhancedByS2AOP$$29d838.java)
at org.seasar.tuigwaa.controller.DatabaseAction.saveRecord(DatabaseAction.java:158)
at sun.reflect.GeneratedMethodAccessor410.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
at org.apache.struts.actions.MappingDispatchAction.execute(MappingDispatchAction.java:169)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.seasar.struts.processor.S2TilesRequestProcessor.processActionPerform(S2TilesRequestProcessor.java:122)
at org.seasar.struts.processor.AcceptorImpl.process(AcceptorImpl.java:126)
at org.seasar.struts.processor.S2TilesRequestProcessor.process(S2TilesRequestProcessor.java:61)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.TgwFilter.doFilter(TgwFilter.java:67)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.EncodingFilter.doFilter(EncodingFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.ForwardFilter.doFilter(ForwardFilter.java:83)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.struts.filter.S2StrutsFilter.doFilter(S2StrutsFilter.java:45)
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:60)
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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
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:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
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(Unknown Source)

関連データ

java.lang.IllegalArgumentException: Cannot invoke com.isenshi.tuigwaa.db.dynamic.sample09.Tgw_entity_10.setTgw_attr_2 - argument type mismatch
at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1778)
at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1759)
at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648)
at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677)
at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:559)
at org.seasar.tuigwaa.model.common.EntityUtils.setProperty(EntityUtils.java:479)
at org.seasar.tuigwaa.database.function.UpdateExeFunction.bindUpdateValue(UpdateExeFunction.java:95)
at org.seasar.tuigwaa.database.function.UpdateExeFunction.executeCustomUpdate(UpdateExeFunction.java:69)
at org.seasar.tuigwaa.database.function.UpdateExeFunction.evaluate(UpdateExeFunction.java:51)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252.evaluate$$invokeSuperMethod$$(UpdateExeFunction$$EnhancedByS2AOP$$18e252.java)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252$$MethodInvocation$$evaluate0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.extension.tx.RequiredInterceptor.invoke(RequiredInterceptor.java:40)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252$$MethodInvocation$$evaluate0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.logic.interceptor.DataSaveInterceptorImpl.invoke(DataSaveInterceptorImpl.java:110)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252$$MethodInvocation$$evaluate0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252.evaluate(UpdateExeFunction$$EnhancedByS2AOP$$18e252.java)
at org.seasar.tuigwaa.model.DataServiceImpl.saveOrUpdate(DataServiceImpl.java:49)
at org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$29d838.saveOrUpdate$$invokeSuperMethod$$(DataServiceImpl$$EnhancedByS2AOP$$29d838.java)
at org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$29d838$$MethodInvocation$$saveOrUpdate11.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.logic.aop.MethodDecorateInterceptorImpl.invoke(MethodDecorateInterceptorImpl.java:25)
at org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$29d838$$MethodInvocation$$saveOrUpdate11.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$29d838.saveOrUpdate(DataServiceImpl$$EnhancedByS2AOP$$29d838.java)
at org.seasar.tuigwaa.controller.DatabaseAction.saveRecord(DatabaseAction.java:158)
at sun.reflect.GeneratedMethodAccessor410.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
at org.apache.struts.actions.MappingDispatchAction.execute(MappingDispatchAction.java:169)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.seasar.struts.processor.S2TilesRequestProcessor.processActionPerform(S2TilesRequestProcessor.java:122)
at org.seasar.struts.processor.AcceptorImpl.process(AcceptorImpl.java:126)
at org.seasar.struts.processor.S2TilesRequestProcessor.process(S2TilesRequestProcessor.java:61)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.TgwFilter.doFilter(TgwFilter.java:67)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.EncodingFilter.doFilter(EncodingFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.ForwardFilter.doFilter(ForwardFilter.java:83)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.struts.filter.S2StrutsFilter.doFilter(S2StrutsFilter.java:45)
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:60)
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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
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:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
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(Unknown Source)

自己関連データ

java.lang.NullPointerException
at org.seasar.tuigwaa.controller.ControllerServiceStrutsImpl.getCustomActionName(ControllerServiceStrutsImpl.java:139)
at org.seasar.tuigwaa.view.HtmlServiceImpl.createCustomFormComponent(HtmlServiceImpl.java:124)
at org.seasar.tuigwaa.system.ServiceHelperImpl.getCustomForm(ServiceHelperImpl.java:72)
at org.seasar.tuigwaa.plugin.database.FormPlugin.getFormComponent(FormPlugin.java:83)
at org.seasar.tuigwaa.plugin.database.FormPlugin.doHTMLView(FormPlugin.java:66)
at org.seasar.tuigwaa.plugin.AbstractPlugin.service(AbstractPlugin.java:100)
at org.seasar.tuigwaa.cms.core.wiki.base.HTMLWikiVisitor.visit(HTMLWikiVisitor.java:501)
at org.seasar.tuigwaa.cms.core.wiki.engine.WikiBlockPlugin.jjtAccept(WikiBlockPlugin.java:19)
at org.seasar.tuigwaa.cms.core.wiki.base.HTMLWikiVisitor.visit(HTMLWikiVisitor.java:122)
at org.seasar.tuigwaa.cms.core.wiki.engine.WikiGenerateTree.jjtAccept(WikiGenerateTree.java:21)
at org.seasar.tuigwaa.cms.core.wiki.WikiEngine.service(WikiEngine.java:43)
at org.seasar.tuigwaa.cms.core.CmsContainer.service(CmsContainer.java:45)
at org.seasar.tuigwaa.cms.ContentsServiceImpl.doConvert(ContentsServiceImpl.java:175)
at org.seasar.tuigwaa.cms.ContentsServiceImpl.getPage(ContentsServiceImpl.java:139)
at org.seasar.tuigwaa.cms.ContentsServiceImpl.getPageComponent(ContentsServiceImpl.java:74)
at org.seasar.tuigwaa.cms.ContentsServiceImpl$$EnhancedByS2AOP$$f38f09.getPageComponent$$invokeSuperMethod$$(ContentsServiceImpl$$EnhancedByS2AOP$$f38f09.java)
at org.seasar.tuigwaa.cms.ContentsServiceImpl$$EnhancedByS2AOP$$f38f09$$MethodInvocation$$getPageComponent0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.logic.interceptor.PageViewInterceptorImpl.invoke(PageViewInterceptorImpl.java:42)
at org.seasar.tuigwaa.cms.ContentsServiceImpl$$EnhancedByS2AOP$$f38f09$$MethodInvocation$$getPageComponent0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.cms.ContentsServiceImpl$$EnhancedByS2AOP$$f38f09.getPageComponent(ContentsServiceImpl$$EnhancedByS2AOP$$f38f09.java)
at org.seasar.tuigwaa.controller.PageAction.doViewPage(PageAction.java:364)
at org.seasar.tuigwaa.controller.PageAction.view(PageAction.java:102)
at sun.reflect.GeneratedMethodAccessor388.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
at org.apache.struts.actions.MappingDispatchAction.execute(MappingDispatchAction.java:169)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.seasar.struts.processor.S2TilesRequestProcessor.processActionPerform(S2TilesRequestProcessor.java:122)
at org.seasar.struts.processor.AcceptorImpl.process(AcceptorImpl.java:126)
at org.seasar.struts.processor.S2TilesRequestProcessor.process(S2TilesRequestProcessor.java:61)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.TgwFilter.doFilter(TgwFilter.java:67)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.EncodingFilter.doFilter(EncodingFilter.java:65)
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.seasar.tuigwaa.util.filter.ForwardFilter.doFilter(ForwardFilter.java:79)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.struts.filter.S2StrutsFilter.doFilter(S2StrutsFilter.java:45)
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:60)
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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
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:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
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(Unknown Source)
java.lang.IllegalArgumentException: Cannot invoke com.isenshi.tuigwaa.db.dynamic.sample09.Tgw_entity_10.setTgw_attr_3 - argument type mismatch
at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1778)
at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1759)
at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648)
at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677)
at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:559)
at org.seasar.tuigwaa.model.common.EntityUtils.setProperty(EntityUtils.java:479)
at org.seasar.tuigwaa.database.function.UpdateExeFunction.bindUpdateValue(UpdateExeFunction.java:95)
at org.seasar.tuigwaa.database.function.UpdateExeFunction.executeCustomUpdate(UpdateExeFunction.java:69)
at org.seasar.tuigwaa.database.function.UpdateExeFunction.evaluate(UpdateExeFunction.java:51)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252.evaluate$$invokeSuperMethod$$(UpdateExeFunction$$EnhancedByS2AOP$$18e252.java)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252$$MethodInvocation$$evaluate0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.extension.tx.RequiredInterceptor.invoke(RequiredInterceptor.java:40)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252$$MethodInvocation$$evaluate0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.logic.interceptor.DataSaveInterceptorImpl.invoke(DataSaveInterceptorImpl.java:110)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252$$MethodInvocation$$evaluate0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.database.function.UpdateExeFunction$$EnhancedByS2AOP$$18e252.evaluate(UpdateExeFunction$$EnhancedByS2AOP$$18e252.java)
at org.seasar.tuigwaa.model.DataServiceImpl.saveOrUpdate(DataServiceImpl.java:49)
at org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$29d838.saveOrUpdate$$invokeSuperMethod$$(DataServiceImpl$$EnhancedByS2AOP$$29d838.java)
at org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$29d838$$MethodInvocation$$saveOrUpdate11.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.logic.aop.MethodDecorateInterceptorImpl.invoke(MethodDecorateInterceptorImpl.java:25)
at org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$29d838$$MethodInvocation$$saveOrUpdate11.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.model.DataServiceImpl$$EnhancedByS2AOP$$29d838.saveOrUpdate(DataServiceImpl$$EnhancedByS2AOP$$29d838.java)
at org.seasar.tuigwaa.controller.DatabaseAction.saveRecord(DatabaseAction.java:158)
at sun.reflect.GeneratedMethodAccessor410.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
at org.apache.struts.actions.MappingDispatchAction.execute(MappingDispatchAction.java:169)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.seasar.struts.processor.S2TilesRequestProcessor.processActionPerform(S2TilesRequestProcessor.java:122)
at org.seasar.struts.processor.AcceptorImpl.process(AcceptorImpl.java:126)
at org.seasar.struts.processor.S2TilesRequestProcessor.process(S2TilesRequestProcessor.java:61)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.TgwFilter.doFilter(TgwFilter.java:67)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.EncodingFilter.doFilter(EncodingFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.tuigwaa.util.filter.ForwardFilter.doFilter(ForwardFilter.java:83)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.seasar.struts.filter.S2StrutsFilter.doFilter(S2StrutsFilter.java:45)
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:60)
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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
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:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
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(Unknown Source)

Comment by someda [ 27/Sep/06 ]

UpdateExeFunction 内で更新値を bean に設定する、bindUpdateValue メソッド内で、
関連データや、セットのデータについては、通常のシンプルなプロパティ型ではなく、
TgwEntity 型や、TgwEntity を含む Set となっていたりする。

UpdateExeFunction で設定されている値は、数値や文字列であるので、この部分でタイプミスマッチが
発生すると考えられる。

Generated at Sat Jan 25 17:41:47 JST 2020 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.