[Seasar-user:14828] Re: インスタンスをセッションで管理について

Masao NADAI [E-MAIL ADDRESS DELETED]
2008年 6月 25日 (水) 23:45:52 JST


小林 (koichik) 様

また、Ajax呼び出しすると下記の例外がスローされるのですが、
原因、状況がわかりましたら、教えていただけないでしょうか。

var page = function() {
        function xxxx_searchAction_ajaxPage(res) {
                Kumu.Ajax.render(res);
        }
        var code = $i('codeInput');
        Kumu.Ajax.executeTeedaAjax(xxxx_searchAction_ajaxPage, [code.value]);
};

SearchActionクラス
----
public Map<String, List<Summary>> ajaxPage(String code)
  throws BusinessException {
	SearchCondition searchCondition
	 = this.searchPage.getSearchCondition();
	searchCondition.setPageNo(this.searchPage.getPageIndex());
	search(searchCondition);
	Map<String, List<Summary>> map = new HashMap<String, List<Summary>>();
	map.put("searchResultItems", this.searchPage.getSearchResultItems());
	return map;
}
----


2008/06/25 17:57:46 org.apache.catalina.core.StandardWrapperValve invoke
致命的: サーブレット ajaxServlet のServlet.service()が例外を投げました
java.lang.NullPointerException
	at java.lang.reflect.Array.newArray(Native Method)
	at java.lang.reflect.Array.newInstance(Unknown Source)
	at org.seasar.framework.util.tiger.GenericUtil.getRawClass(GenericUtil.java:85)
	at org.seasar.framework.beans.factory.ParameterizedClassDescFactoryProvider.createParameterizedClassDesc(ParameterizedClassDescFactoryProvider.java:81)
	at org.seasar.framework.beans.factory.ParameterizedClassDescFactoryProvider.createParameterizedClassDesc(ParameterizedClassDescFactoryProvider.java:70)
	at org.seasar.framework.beans.factory.ParameterizedClassDescFactory.createParameterizedClassDesc(ParameterizedClassDescFactory.java:97)
	at org.seasar.framework.beans.impl.PropertyDescImpl.setUpParameterizedClassDesc(PropertyDescImpl.java:157)
	at org.seasar.framework.beans.impl.PropertyDescImpl.<init>(PropertyDescImpl.java:119)
	at org.seasar.framework.beans.impl.BeanDescImpl.setupReadMethod(BeanDescImpl.java:597)
	at org.seasar.framework.beans.impl.BeanDescImpl.setupPropertyDescs(BeanDescImpl.java:537)
	at org.seasar.framework.beans.impl.BeanDescImpl.<init>(BeanDescImpl.java:108)
	at org.seasar.framework.beans.factory.BeanDescFactory.getBeanDesc(BeanDescFactory.java:57)
	at org.seasar.teeda.ajax.JSONSerializer.appendSerializeBean(JSONSerializer.java:119)
	at org.seasar.teeda.ajax.JSONSerializer.appendSerializeObject(JSONSerializer.java:64)
	at org.seasar.teeda.ajax.JSONSerializer.appendSerializeBean(JSONSerializer.java:124)
	at org.seasar.teeda.ajax.JSONSerializer.appendSerializeObject(JSONSerializer.java:64)
	at org.seasar.teeda.ajax.JSONSerializer.appendSerializeBean(JSONSerializer.java:124)
	at org.seasar.teeda.ajax.JSONSerializer.appendSerializeObject(JSONSerializer.java:64)
	at org.seasar.teeda.ajax.JSONSerializer.appendSerializeArray(JSONSerializer.java:94)
	at org.seasar.teeda.ajax.JSONSerializer.appendSerializeObject(JSONSerializer.java:56)
	at org.seasar.teeda.ajax.JSONSerializer.appendSerializeMap(JSONSerializer.java:108)
	at org.seasar.teeda.ajax.JSONSerializer.appendSerializeObject(JSONSerializer.java:60)
	at org.seasar.teeda.ajax.JSONSerializer.serialize(JSONSerializer.java:38)
	at org.seasar.teeda.ajax.AjaxServlet.doAjax(AjaxServlet.java:124)
	at org.seasar.teeda.ajax.AjaxServlet.doGet(AjaxServlet.java:66)
	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:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:63)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:77)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:852)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
	at java.lang.Thread.run(Unknown Source)

よろしくお願いいたします。


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