[Seasar-user:14681] 【Teeda】新バージョンのdoltengで作成したプロジェクトでエラー発生
[E-MAIL ADDRESS DELETED]
[E-MAIL ADDRESS DELETED]
2008年 6月 13日 (金) 08:53:48 JST
黒川です。
eclipse3.2.2 + dolteng0.28で作成したTeedaプロジェクトを
eclipse3.3.2 + dolteng0.30で作成し直しました。
eclipse3.3.2上でdoltengを使用し、新規にChuraプロジェクトを作成。
その後、diconなどのリソースをeclipse3.2.2で作成したプロジェクトから
コピー。
その後、一番最初に起動されるhtmlとPageクラスおよび
daoやentityなどもコピー。
動作確認のため、そのhtmlからdaoを呼び出す所を試しましたが
以下のようなエラーが発生しました。
どうすればいいのでしょうか?
なお、参照しているjarを確認した所、以下の2つが違うだけでした。
S2DAOは両方とも1.0.47でした。
旧
s2-extension-2.4.22.jar
s2-framework-2.4.22.jar
s2-tiger-2.4.22.jar
新
s2-extension-2.4.24.jar
s2-framework-2.4.24.jar
s2-tiger-2.4.24.jar
宜しくお願いします。
java.lang.NullPointerException
at
org.seasar.extension.dbcp.impl.ConnectionPoolImpl.createConnection(ConnectionPoolImpl.java:392)
at
org.seasar.extension.dbcp.impl.ConnectionPoolImpl.checkOut(ConnectionPoolImpl.java:312)
at
org.seasar.extension.dbcp.impl.DataSourceImpl.getConnection(DataSourceImpl.java:59)
at
org.seasar.extension.jdbc.util.DataSourceUtil.getConnection(DataSourceUtil.java:48)
at
org.seasar.dao.impl.DaoMetaDataImpl.initialize(DaoMetaDataImpl.java:150)
at
org.seasar.dao.impl.DaoMetaDataFactoryImpl.createDaoMetaData(DaoMetaDataFactoryImpl.java:167)
at
org.seasar.dao.impl.DaoMetaDataFactoryImpl.getDaoMetaData(DaoMetaDataFactoryImpl.java:131)
at
org.seasar.dao.interceptors.S2DaoInterceptor.invoke(S2DaoInterceptor.java:51)
at
org.seasar.dao.pager.PagerS2DaoInterceptorWrapper.invoke(PagerS2DaoInterceptorWrapper.java:71)
at
com.fxif.edimanager.dao.EdiMailSettingDao$$EnhancedByS2AOP$$2aaec8$$MethodInvocation$$selectLikeById5.proceed(MethodInvocationClassGenerator.java)
at
org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:73)
at
com.fxif.edimanager.dao.EdiMailSettingDao$$EnhancedByS2AOP$$2aaec8$$MethodInvocation$$selectLikeById5.proceed(MethodInvocationClassGenerator.java)
at
com.fxif.edimanager.dao.EdiMailSettingDao$$EnhancedByS2AOP$$2aaec8.selectLikeById(EdiMailSettingDao$$EnhancedByS2AOP$$2aaec8.java)
at
com.fxif.edimanager.web.edimail.SearchInputPage.doSearch(SearchInputPage.java:31)
at
com.fxif.edimanager.web.edimail.SearchInputPage$$EnhancedByS2AOP$$205df9.$$doSearch$$invokeSuperMethod$$(SearchInputPage$$EnhancedByS2AOP$$205df9.java)
at
com.fxif.edimanager.web.edimail.SearchInputPage$$EnhancedByS2AOP$$205df9$$MethodInvocation$$doSearch2.proceed(MethodInvocationClassGenerator.java)
at
org.seasar.extension.tx.DefaultTransactionCallback.execute(DefaultTransactionCallback.java:58)
at
org.seasar.extension.tx.adapter.JTATransactionManagerAdapter.required(JTATransactionManagerAdapter.java:65)
at
org.seasar.extension.tx.RequiredInterceptor.invoke(RequiredInterceptor.java:41)
at
com.fxif.edimanager.web.edimail.SearchInputPage$$EnhancedByS2AOP$$205df9$$MethodInvocation$$doSearch2.proceed(MethodInvocationClassGenerator.java)
at
org.seasar.framework.aop.interceptors.ThrowsInterceptor.invoke(ThrowsInterceptor.java:77)
at
com.fxif.edimanager.web.edimail.SearchInputPage$$EnhancedByS2AOP$$205df9$$MethodInvocation$$doSearch2.proceed(MethodInvocationClassGenerator.java)
at
org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:73)
at
com.fxif.edimanager.web.edimail.SearchInputPage$$EnhancedByS2AOP$$205df9$$MethodInvocation$$doSearch2.proceed(MethodInvocationClassGenerator.java)
at
com.fxif.edimanager.web.edimail.SearchInputPage$$EnhancedByS2AOP$$205df9.doSearch(SearchInputPage$$EnhancedByS2AOP$$205df9.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.seasar.framework.util.MethodUtil.invoke(MethodUtil.java:93)
at
org.seasar.framework.beans.impl.BeanDescImpl.invoke(BeanDescImpl.java:213)
at
org.seasar.teeda.extension.html.impl.HtmlComponentInvokerImpl.invoke(HtmlComponentInvokerImpl.java:163)
at
org.seasar.teeda.extension.html.impl.HtmlActionListener.processAction(HtmlActionListener.java:71)
at javax.faces.component.UICommand.broadcast(UICommand.java:149)
at
org.seasar.teeda.extension.component.html.THtmlCommandButton.broadcast(THtmlCommandButton.java:78)
at
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:192)
at
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:117)
at
org.seasar.teeda.core.lifecycle.impl.InvokeApplicationPhase.executePhase(InvokeApplicationPhase.java:29)
at
org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:57)
at
org.seasar.teeda.core.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:97)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:100)
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.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:69)
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:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Seasar-user メーリングリストの案内