[mayaa-user:610] handled exception, injectedNode is null

荒井 哲三 [E-MAIL ADDRESS DELETED]
2008年 1月 11日 (金) 19:27:55 JST


はじめまして、荒井と申します。

tomcat5+JDK1.6+mayaa+seasaaでwebシステムを構築しました。

一点不明なエラーが発生しました。

以下ログ
---------------------------------------------------------------------------------------------
2008-01-11 18:38:39,552 ERROR [TP-Processor25] - handled exception, injectedNode is null
java.lang.IllegalStateException: injectedNode is null	at org.seasar.mayaa.impl.engine.processor.TemplateProcessorSupport.getInjectedNode(TemplateProcessorSupport.java:121)	at org.seasar.mayaa.impl.engine.RenderUtil.saveToCycle(RenderUtil.java:109)	at org.seasar.mayaa.impl.engine.RenderUtil.renderTemplateProcessor(RenderUtil.java:123)	at org.seasar.mayaa.impl.engine.RenderUtil.renderTemplateProcessor(RenderUtil.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(InsertProcessor.java:327)	at org.seasar.mayaa.impl.engine.RenderUtil.renderTemplateProcessor(RenderUtil.java:134)	at org.seasar.mayaa.impl.engine.RenderUtil.renderTemplateProcessor(RenderUtil.java:153)	at org.seasar.mayaa.impl.engine.RenderUtil.renderProcessorTree(RenderUtil.java: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:368)	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(ApplicationFilterChain.java:269)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)	at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)	at org.seasar.struts.processor.S2RequestProcessor.doForward(S2RequestProcessor.java:249)	at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)	at org.seasar.struts.processor.S2RequestProcessor.processForwardConfig(S2RequestProcessor.java:147)	at org.seasar.struts.processor.AcceptorImpl.process(AcceptorImpl.java:139)	at org.seasar.struts.processor.S2RequestProcessor.process(S2RequestProcessor.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:690)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)	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.seasar.struts.filter.S2StrutsFilter.doFilter(S2StrutsFilter.java:42)	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:60)	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.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:347)	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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)	at java.lang.Thread.run(Thread.java:619)
---------------------------------------------------------------------------------------------

再起動、warからデプロイし直すとエラーは発生しません。

org.seasar.mayaa.provider.ServiceProviderは以下です。
---------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE provider
    PUBLIC "-//The Seasar Foundation//DTD Mayaa Provider 1.0//EN"
    "http://mayaa.seasar.org/dtd/mayaa-provider_1_0.dtd">
<provider>

    <engine>
        <parameter name="defaultSpecification" value="/default.mayaa"/>
        <parameter name="checkTimestamp" value="false"/>
        <parameter name="suffixSeparator" value="$"/>
        <parameter name="welcomeFileName" value="index.html"/>
        <parameter name="requestCharacterEncoding" value="UTF-8"/>
        <parameter name="surviveLimit" value="20"/>
        <parameter name="forwardLimit" value="10"/>
        <parameter name="convertCharset" value="false"/>
        <parameter name="pageSerialize" value="true"/>
    </engine>
    
</provider>
---------------------------------------------------------------------------------------------

mayaaのバージョンは1.1.15です。
どなたかアドバイスいただければ幸いです。

荒井



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