[TUIGWAA-76] 特殊プラグイン(カウンタ)を追加時にプレビュー画面を表示するとNullPointerExceptionがはかれる Created: 2006-09-08  Updated: 2006-09-21  Resolved: 2006-09-21

Status: Closed
Project: Tuigwaa
Component/s: None
Affects Version/s: 0.9.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Terashi Yoshihiko Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None


 Description   

ページ編集画面において,「特殊プラグイン」の「各種情報の挿入」にあるカウンタ系のプラグイン,カウンタ,カウンタ(当日),カウンタ(前日),カウンタ(累計)のいずれかを挿入し,プレビュー画面を見ようとすると以下のようなNullPointerExceptionが発生する.

[[ ログ ]]
2006/09/08 17:05:49 com.metaparadigm.jsonrpc.JSONRPCBridge analyzeClass
情報: analyzing org.seasar.tuigwaa.controller.PageForm
java.lang.NullPointerException
at org.seasar.tuigwaa.model.ModelServiceImpl.getEntity(ModelServiceImpl.java:204)
at org.seasar.tuigwaa.database.function.AbstractExeFunction.getEntity(AbstractExeFunction.java:75)
at org.seasar.tuigwaa.database.function.AbstractCriteriaExeFunction.createHibernateCriteria(AbstractCriteriaExeFunction.java:33)
at org.seasar.tuigwaa.database.function.InjectCriteriaExeFunction.evaluate(InjectCriteriaExeFunction.java:16)
at org.seasar.tuigwaa.database.function.InjectCriteriaExeFunction$$EnhancedByS2AOP$$1f4b0dc.evaluate$$invokeSuperMethod$$(InjectCriteriaExeFunction$$EnhancedByS2AOP$$1f4b0dc.java)
at org.seasar.tuigwaa.database.function.InjectCriteriaExeFunction$$EnhancedByS2AOP$$1f4b0dc$$MethodInvocation$$evaluate0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.extension.tx.RequiredInterceptor.invoke(RequiredInterceptor.java:40)
at org.seasar.tuigwaa.database.function.InjectCriteriaExeFunction$$EnhancedByS2AOP$$1f4b0dc$$MethodInvocation$$evaluate0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.database.function.InjectCriteriaExeFunction$$EnhancedByS2AOP$$1f4b0dc.evaluate(InjectCriteriaExeFunction$$EnhancedByS2AOP$$1f4b0dc.java)
at org.seasar.tuigwaa.database.function.InjectCriteriaExeFunction.evaluate(InjectCriteriaExeFunction.java:12)
at org.seasar.tuigwaa.database.function.InjectCriteriaExeFunction$$EnhancedByS2AOP$$1f4b0dc.evaluate$$invokeSuperMethod$$(InjectCriteriaExeFunction$$EnhancedByS2AOP$$1f4b0dc.java)
at org.seasar.tuigwaa.database.function.InjectCriteriaExeFunction$$EnhancedByS2AOP$$1f4b0dc$$MethodInvocation$$evaluate1.proceed(MethodInvocationClassGenerator.java)
at org.seasar.extension.tx.RequiredInterceptor.invoke(RequiredInterceptor.java:40)
at org.seasar.tuigwaa.database.function.InjectCriteriaExeFunction$$EnhancedByS2AOP$$1f4b0dc$$MethodInvocation$$evaluate1.proceed(MethodInvocationClassGenerator.java)
at org.seasar.tuigwaa.database.function.InjectCriteriaExeFunction$$EnhancedByS2AOP$$1f4b0dc.evaluate(InjectCriteriaExeFunction$$EnhancedByS2AOP$$1f4b0dc.java)
at org.seasar.tuigwaa.plugin.database.CounterPlugin$CounterDAO.getCounterDataTable(CounterPlugin.java:224)
at org.seasar.tuigwaa.plugin.database.CounterPlugin$CounterDAO.getCounter(CounterPlugin.java:214)
at org.seasar.tuigwaa.plugin.database.CounterPlugin$CounterDAO.getTodayCounter(CounterPlugin.java:196)
at org.seasar.tuigwaa.plugin.database.CounterPlugin$CounterDAO.increment(CounterPlugin.java:229)
at org.seasar.tuigwaa.plugin.database.CounterPlugin.increment(CounterPlugin.java:140)
at org.seasar.tuigwaa.plugin.database.CounterPlugin.doHTMLView(CounterPlugin.java:64)
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:172)
at org.seasar.tuigwaa.cms.ContentsServiceImpl.convert(ContentsServiceImpl.java:152)
at org.seasar.tuigwaa.cms.ContentsServiceImpl.convert(ContentsServiceImpl.java:141)
at org.seasar.tuigwaa.controller.PageForm.getPreviewHTMLByAjax(PageForm.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.metaparadigm.jsonrpc.JSONRPCBridge.call(JSONRPCBridge.java:934)
at com.metaparadigm.jsonrpc.JSONRPCServlet.service(JSONRPCServlet.java:166)
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.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)



 Comments   
Comment by Terashi Yoshihiko [ 2006-09-08 ]

なお,エラーログは Tomcat の方に出ます.

Comment by takishita [ 2006-09-21 ]

BUG 78 と同じ。

Comment by takishita [ 2006-09-21 ]

BUG 78 と同じ。

Generated at Tue Sep 28 17:31:44 JST 2021 using Jira 8.19.0#819000-sha1:47bbf34f7e2d88d8af7d579f0393cc03c448e7ba.