初学news例子的一个问题,不知道原因,高手帮我看看

05-08-08 lgsoftwind
一个Iterator null出错,是啥原因

前面点加载的一个错误

---> 22:55:19,170 INFO [STDOUT] 05-8-6 22:55:19 [Debug:com.jdon.container.builder.DefaultContainerBuilder:Verbose] 22:55:19,170 INFO [STDOUT] note: registe user pojoservice 22:55:19,180 INFO [STDOUT] 05-8-6 22:55:19 [Debug:com.jdon.container.pico.PicoContainerWrapper:Verbose] 22:55:19,180 INFO [STDOUT] lookup: name=targetMetaDefLoader22:55:19,180 INFO [STDOUT] 05-8-6 22:55:19 [Debug:com.jdon.container.pico.PicoContainerWrapper:Verbose] 22:55:19,180 INFO [STDOUT] Not find the component in container :targetMetaDefLoader22:55:19,180 INFO [STDOUT] 05-8-6 22:55:19 [Debug:com.jdon.container.builder.DefaultContainerBuilder:Error] 22:55:19,180 INFO [STDOUT] registerUserService error:java.lang.NullPointerException22:55:19,190 INFO [STDOUT] 05-8-6 22:55:19 [Debug:com.jdon.container.builder.ContainerDirector:Error] 22:55:19,190 INFO [STDOUT] startup container error:

后面的一个报错

class java.lang.Exception22:55:19,410 ERROR [[action]] Servlet.service() for servlet action threw exceptionjava.lang.Exception: getPageIterator's result is null, check your ModelListAction subclass

详细的请看附件错误信息

lgsoftwindKN4G2JWybu.txt

lgsoftwind
2005-08-08 11:41
描述简练点:Not find the component in container :targetMetaDefLoader 是加载时发生的错误,说明发生什么问题?

还有就是Servlet.service() for servlet action threw exceptionjava.lang.Exception: getPageIterator's result is null, check your ModelListAction subclass

这里的Iterator为啥是空的?

bigsurge
2005-10-24 12:43
好像没有人知道啊,呵呵

banq
2005-10-24 15:27
>Not find the component in container :targetMetaDefLoader 是加载时发生的错

Jdon框架可能就没正常启动,应该在控制台显示“jdon Framework started successfully”字样。

猜你喜欢