<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
$B$*@$OC$K$J$j$^$9!#EDB<$H?=$7$^$9!#(B<br><br>DBfliute$B$N@_Dj$N7o$G$*;G$$$7$?$$$N$G$9$,!"(B<br>jdbc.bat,generate.bat$B$r<B9T$7$F<+F0@8@.$5$l$?%/%i%9$rMxMQ$7$F(B<br>DBflute$B$G%G!<%?%"%/%;%9$r<B9T$7$F$b(BNullpointer$B$,=PNO$5$l$^$9!#(B<br>$B?'!9;n$7$F$_$^$7$?$,$I$&$7$F$b<B9T$G$-$^$;$s!#(B<br>$B$*NOE:$($r$*4j$$$$$?$7$^$9!#(B<br><br><br><br>$B!z4D6-(B<br>teeda + s2dao<br>S2dao 1.0.47<br>dbflute 0.62<br>DB;postgres8.2<br>ApplicationServer:Tomcat5.5<br><br>$B!z(Bappdicon<br><br>&nbsp;&nbsp;&nbsp; &lt;!--&lt;include path="dao.dicon"/&gt;--&gt;<br>&nbsp;&nbsp;&nbsp; &lt;include path="dbflute.dicon"/&gt;<br><br><br>$B!z(B&lt;component name="xaDataSource"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; class="org.seasar.extension.dbcp.impl.XADataSourceImpl"&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;property name="driverClassName"&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "org.postgresql.Driver"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/property&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name="URL"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- "jdbc:postgresql://localhost/teeda-sns"--&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "jdbc:postgresql://localhost/postgres"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/property&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name="user"&gt;"postgres"&lt;/property&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name="password"&gt;"agnie"&lt;/property&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/component&gt;<br><br><br>&nbsp;&nbsp; &nbsp;&nbsp;  <br>$B!z(BBhv$B$N<B9TItJ,(B(Page$B%/%i%9(B(MainPage.java))<br>&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; public ProfilesBhv bhv;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $BCfN,!D(B<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; final ProfilesCB cb = new ProfilesCB();<br>&nbsp;&nbsp; &nbsp;&nbsp;  &nbsp;&nbsp;  <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //$BA47o8!:w(B<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; final ListResultBean&lt;Profiles&gt; a = bhv.selectList(cb);<br><br>$B!z%(%i!<%a%C%;!<%8(B<br><br>java.lang.NullPointerException<br>&nbsp;&nbsp;&nbsp; at tknnnnnn.web.main.MainPage.doProfile(MainPage.java:49)<br>&nbsp;&nbsp;&nbsp; at tknnnnnn.web.main.MainPage$$EnhancedByS2AOP$$1d9ddba.$$doProfile$$invokeSuperMethod$$(MainPage$$EnhancedByS2AOP$$1d9ddba.java)<br>&nbsp;&nbsp;&nbsp; at tknnnnnn.web.main.MainPage$$EnhancedByS2AOP$$1d9ddba$$MethodInvocation$$doProfile2.proceed(MethodInvocationClassGenerator.java)<br>&nbsp;&nbsp;&nbsp; at org.seasar.extension.tx.DefaultTransactionCallback.execute(DefaultTransactionCallback.java:58)<br>&nbsp;&nbsp;&nbsp; at org.seasar.extension.tx.adapter.JTATransactionManagerAdapter.required(JTATransactionManagerAdapter.java:65)<br>&nbsp;&nbsp;&nbsp; at org.seasar.extension.tx.RequiredInterceptor.invoke(RequiredInterceptor.java:41)<br>&nbsp;&nbsp;&nbsp; at tknnnnnn.web.main.MainPage$$EnhancedByS2AOP$$1d9ddba$$MethodInvocation$$doProfile2.proceed(MethodInvocationClassGenerator.java)<br>&nbsp;&nbsp;&nbsp; at org.seasar.framework.aop.interceptors.ThrowsInterceptor.invoke(ThrowsInterceptor.java:77)<br>&nbsp;&nbsp;&nbsp; at tknnnnnn.web.main.MainPage$$EnhancedByS2AOP$$1d9ddba$$MethodInvocation$$doProfile2.proceed(MethodInvocationClassGenerator.java)<br>&nbsp;&nbsp;&nbsp; at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:73)<br>&nbsp;&nbsp;&nbsp; at tknnnnnn.web.main.MainPage$$EnhancedByS2AOP$$1d9ddba$$MethodInvocation$$doProfile2.proceed(MethodInvocationClassGenerator.java)<br>&nbsp;&nbsp;&nbsp; at tknnnnnn.web.main.MainPage$$EnhancedByS2AOP$$1d9ddba.doProfile(MainPage$$EnhancedByS2AOP$$1d9ddba.java)<br>&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.lang.reflect.Method.invoke(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at org.seasar.framework.util.MethodUtil.invoke(MethodUtil.java:93)<br>&nbsp;&nbsp;&nbsp; at org.seasar.framework.beans.impl.BeanDescImpl.invoke(BeanDescImpl.java:213)<br>&nbsp;&nbsp;&nbsp; at org.seasar.teeda.extension.html.impl.HtmlComponentInvokerImpl.invoke(HtmlComponentInvokerImpl.java:159)<br>&nbsp;&nbsp;&nbsp; at org.seasar.teeda.extension.html.impl.HtmlActionListener.processAction(HtmlActionListener.java:62)<br>&nbsp;&nbsp;&nbsp; at javax.faces.component.UICommand.broadcast(UICommand.java:149)<br>&nbsp;&nbsp;&nbsp; at org.seasar.teeda.extension.component.html.THtmlCommandButton.broadcast(THtmlCommandButton.java:61)<br>&nbsp;&nbsp;&nbsp; at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:192)<br>&nbsp;&nbsp;&nbsp; at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:117)<br>&nbsp;&nbsp;&nbsp; at org.seasar.teeda.core.lifecycle.impl.InvokeApplicationPhase.executePhase(InvokeApplicationPhase.java:29)<br>&nbsp;&nbsp;&nbsp; at org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:57)<br>&nbsp;&nbsp;&nbsp; at org.seasar.teeda.core.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:97)<br>&nbsp;&nbsp;&nbsp; at javax.faces.webapp.FacesServlet.service(FacesServlet.java:94)<br>&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)<br>&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)<br>&nbsp;&nbsp;&nbsp; at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:63)<br>&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)<br>&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)<br>&nbsp;&nbsp;&nbsp; at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:77)<br>&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)<br>&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)<br>&nbsp;&nbsp;&nbsp; at org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:69)<br>&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)<br>&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)<br>&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)<br>&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)<br>&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>&nbsp;&nbsp;&nbsp; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)<br>&nbsp;&nbsp;&nbsp; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)<br>&nbsp;&nbsp;&nbsp; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)<br>&nbsp;&nbsp;&nbsp; at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)<br>&nbsp;&nbsp;&nbsp; at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)<br>&nbsp;&nbsp;&nbsp; at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)<br>&nbsp;&nbsp;&nbsp; at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)<br>&nbsp;&nbsp;&nbsp; at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)<br>&nbsp;&nbsp;&nbsp; at java.lang.Thread.run(Unknown Source)<br><br><br><br><br>$B$h$m$7$/$*4j$$$$$?$7$^$9!#(B<br /><hr />$B!V=i2;%_%/!W$NKeJ,!V6@2;%j%s!W$r(BLive Search $B$G2hA|8!:w!*(B <a href='http://clk.atdmt.com/GBL/go/msnjpqjl0040000024gbl/direct/01/' target='_new'>http://search.live.com/images/results.aspx?q=%E9%8F%A1%E9%9F%B3%E3%83%AA%E3%83%B3&FORM=MGDEAA</a></body>
</html>