[Seasar-user:3793] Re: Seasar にてNullPointerExceptionが発生する事象について

Yasuo Higa [E-MAIL ADDRESS DELETED]
2006年 6月 7日 (水) 17:57:00 JST


$B$R$,$G$9!#(B
> 
> $B=i$a$^$7$F!#CS$H?=$7$^$9!#(B
> 
> $BK\8=>]$K$D$$$F$O8=:_D4::Cf$H$$$&%9%F!<%?%9$G$"$j!"(B
> $B7k2LE*$K(BSeasar$B$H$OJL$N$H$3$m$K860x$,$"$k$+$b$7$l$^$;$s!#(B
> $B$=$&$$$&0UL#$G$O!"BgJQ<:Ni$G$O$"$k$HB8$8$^$9$,!"(B
> $BK\8=>]$K$D$$$F2?$+$4B8CN$NJ}$,$$$i$C$7$c$$$^$7$?$i!"(B
> $B$465<x4j$$$?$$$H;W$$$^$9!#(B

> (6) $B%U%l!<%`%o!<%/!'(BSeasar2.2.10
>                     dao1.0.27
>                     S2-Struts1.1.5
> 
> $B!c8=:_$^$G$[E-MAIL ADDRESS DELETED]!d(B
>   $B-!(B Web Server$B$N%m%0$K(BHTTP 500$B!JFbIt%(%i!<!K$,=PNO$5$l$F$$$?!#(B
>   $B-"(B Java$B%3%s%F%J$N%m%0$K$O(BNullPointerException$B$,=PNO$5$l$F$$$?!#(B
>     $B"M(B Hitachi Web Server$B$O(BCosminexus$B$,(BNullPointerException$B$rJV$9$H$K(BHTTP 500$B!JFbIt%(%i!<!K$rJV$9$?$a!"(B
> 
> /* IF aaa.property != null */
>         $B!&!&!&!&!&(B
>         $B!&!&!&!&!&(B
> 
> $B",(B $B>e5-(Baaa$B$K(Bnull$B$,3JG<$5$l$k$h$&A`:n$9$k$H!"%(%i!<$H$J$k!#!JEvA3$@$,!&!&!K(B
> $BFbIt!J(BSeasar$B!K$NF0:n$H$7$F$O!"$"$i$+$8$aJQ?t>pJs$r3JG<$7$F$$$k(BMap$B$KBP$7!"(B
> $BJQ?tL>!JNc$N(B"aaa"$B!K$r%-!<$H$7$F8!:w$r9T$$!"<B:]$N%*%V%8%'%/%H$r(BMap$B$+$i<hF@$7$h$&$H$7$F$$$kLOMM!#(B
> 
> $B8!:w$N:]$K$O(Baaa$B$r(BString$B7?$KJQ49(B(toString()$B$r;HMQ(B)$B$7$F!"(B
> $B8!:w$r9T$*$&$H$7$F$$$k$,!"(Baaa = null$B$G$"$k$?$a!"(Baaa.toString()$B$G(BNullPointerException$B$,(B
> $BH/@8$9$k!#(B
> $B!J$J$<(Bnull$B$,F~$C$F$/$k$N$+$O8=:_D4::Cf!#!K(B
> 
> $B%m%0(B---------------------------
> $B"-(BNullPointerException$B$,H/@8$7$F$$$kIU6a$N$_H4?h(B
> 
> 4354 2006/04/10 18:10:01.437     HEJB             006E3D60 006FDC0C KDJE39061-E           java.lang.NullPointerException
> 4355 2006/04/10 18:10:01.437     HEJB             006E3D60 006FDC0C KDJE39061-E           	at org.seasar.dao.context.CommandContextPropertyAccessor.getProperty(CommandContextPropertyAccessor.java:20)
> 4356 2006/04/10 18:10:01.437     HEJB             006E3D60 006FDC0C KDJE39061-E           	at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)

$B$3$l$O!"(BSeasar$B$H$$$&$h$j!"(BOGNL$B$,=P$7$F$$$^$9$M!#(B
$B860x$O!"M=A[$5$l$F$$$kDL$j!"0z?t(B($BNc$($P(Baaa)$B$K(Bnull$B$,F~$C$F$$$k>l9g$@$H;W$$$^$9!#(B
$B%"%W%j%1!<%7%g%s$G2?$i$+$N>l9g$K!"(Baaa($BAjEv(B)$B$K(Bnull$B$[E-MAIL ADDRESS DELETED]$5$l$k>l9g$,$"$k(B
$B$N$G$O$J$$$G$7$g$&$+!#(B

Yasuo Higa
The Seasar Foundation



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