Uploaded image for project: 'Tuigwaa'
  1. Tuigwaa
  2. TUIGWAA-77

Blog系プラグイン(トラックバック,コメント)を追加時にプレビュー画面を表示するとNullPointerExceptionがはかれる

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.9.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      ページ編集画面において,「Blog系プラグイン」の「トラックバックの挿入」,または「コメントの挿入」を挿入し,プレビュー画面を見ようとすると以下のようなNullPointerExceptionが発生する.
      なお,エラーログは Tomcat の方に出力されます.

      関連記事:https://www.seasar.org/issues/browse/TUIGWAA-76

      [[ ログ ]]
      java.lang.NullPointerException
      at org.seasar.tuigwaa.model.ModelServiceImpl.getEntity(ModelServiceImpl.java:204)
      at org.seasar.tuigwaa.plugin.WebAppli.createDao(WebAppli.java:169)
      at org.seasar.tuigwaa.plugin.WebAppli.getDao(WebAppli.java:102)
      at org.seasar.tuigwaa.plugin.AbstractPlugin.getDao(AbstractPlugin.java:279)
      at org.seasar.tuigwaa.plugin.database.CommentView.doHTMLView(CommentView.java:44)
      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)
      java.lang.NullPointerException
      at org.seasar.tuigwaa.model.ModelServiceImpl.getEntityByDisplayName(ModelServiceImpl.java:210)
      at org.seasar.tuigwaa.plugin.AbstractTgwPlugin.getEntity(AbstractTgwPlugin.java:56)
      at org.seasar.tuigwaa.plugin.database.TrackbackPlugin.getTrackbackDAO(TrackbackPlugin.java:307)
      at org.seasar.tuigwaa.plugin.database.TrackbackPlugin.doHTMLView(TrackbackPlugin.java:109)
      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)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              terashi Terashi Yoshihiko
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: