我装了jdon2。5,可是无法发帖

03-10-24 hxm
我装了jdon2。5,可是无法发帖,总是发生错误,谁遇到过相似的情况,请告诉我,谢谢。或者谁有没有问题的,请提供一个ftp的站点,相信大家都有这个愿望。谢谢了。

hxm
2003-10-24 10:46
把我的问题提示贴出来,大家帮我看看:

java.lang.NullPointerException

at com.cvicse.jsps.post$jsp._jspService(post$jsp.java:254)

at com.cvicse.jspc.runtime.HttpJspBase.service(HttpJspBase.java:50)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.cvicse.jspc.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:137)

at com.cvicse.jspc.servlet.JspServlet.serviceJspFile(JspServlet.java:317)

at com.cvicse.jspc.servlet.JspServlet.service(JspServlet.java:409)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.cvicse.inforweb.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:177)

at com.cvicse.inforweb.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:127)

at com.cvicse.inforweb.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:106)

at java.security.AccessController.doPrivileged(Native Method)

at com.cvicse.inforweb.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:102)

at com.cvicse.inforweb.filters.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:105)

at com.cvicse.inforweb.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:143)

at com.cvicse.inforweb.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:127)

at com.cvicse.inforweb.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:106)

at java.security.AccessController.doPrivileged(Native Method)

at com.cvicse.inforweb.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:102)

at com.cvicse.inforweb.core.StandardWrapperValve.invoke(StandardWrapperValve.java:176)

at com.cvicse.inforweb.core.StandardPipeline.invokeNext(StandardPipeline.java:494)

at com.cvicse.inforweb.core.StandardPipeline.invoke(StandardPipeline.java:400)

at com.cvicse.inforweb.core.ContainerBase.invoke(ContainerBase.java:823)

at com.cvicse.inforweb.core.StandardContextValve.invoke(StandardContextValve.java:120)

at com.cvicse.inforweb.core.StandardPipeline.invokeNext(StandardPipeline.java:494)

at com.cvicse.inforweb.valves.CertificatesValve.invoke(CertificatesValve.java:162)

at com.cvicse.inforweb.core.StandardPipeline.invokeNext(StandardPipeline.java:492)

at com.cvicse.inforweb.core.StandardPipeline.invoke(StandardPipeline.java:400)

at com.cvicse.inforweb.core.ContainerBase.invoke(ContainerBase.java:823)

at com.cvicse.inforweb.core.StandardContext.invoke(StandardContext.java:2280)

at com.cvicse.inforweb.core.StandardHostValve.invoke(StandardHostValve.java:110)

at com.cvicse.inforweb.core.StandardPipeline.invokeNext(StandardPipeline.java:494)

at com.cvicse.inforweb.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:97)

at com.cvicse.inforweb.core.StandardPipeline.invokeNext(StandardPipeline.java:492)

at com.cvicse.inforweb.valves.ErrorReportValve.invoke(ErrorReportValve.java:96)

at com.cvicse.inforweb.core.StandardPipeline.invokeNext(StandardPipeline.java:492)

at com.cvicse.inforweb.authenticator.SingleSignOn.invoke(SingleSignOn.java:288)

at com.cvicse.inforweb.core.StandardPipeline.invokeNext(StandardPipeline.java:492)

at com.cvicse.inforweb.core.StandardPipeline.invoke(StandardPipeline.java:400)

at com.cvicse.inforweb.core.ContainerBase.invoke(ContainerBase.java:823)

at com.cvicse.inforweb.core.StandardEngineValve.invoke(StandardEngineValve.java:104)

at com.cvicse.inforweb.core.StandardPipeline.invokeNext(StandardPipeline.java:494)

at com.cvicse.inforweb.valves.AccessLogValve.invoke(AccessLogValve.java:367)

at com.cvicse.inforweb.core.StandardPipeline.invokeNext(StandardPipeline.java:492)

at com.cvicse.inforweb.core.StandardPipeline.invoke(StandardPipeline.java:400)

at com.cvicse.inforweb.core.ContainerBase.invoke(ContainerBase.java:823)

at com.cvicse.inforweb.connector.http.HttpProcessor.process(HttpProcessor.java:942)

at com.cvicse.inforweb.connector.http.HttpProcessor.run(HttpProcessor.java:1037)

at java.lang.Thread.run(Thread.java:536)

linxxtao
2003-10-24 20:25
我记的好象把myEnv(具体的名字我记不清)的范围改为application就可以了.

但是为什么会出现这样的错误我不明白,是别人改了代码?还是....?请BANQ大哥说明一下,谢谢!!!

gust
2003-10-28 14:11
在 post.jsp 中

<jsp:useBean id="myEnv" scope="session" class="com.jdon.web.UserEnvFront"/>

更改 scope="application"

参考了在 global.jsp 中的设定

<jsp:useBean id="myEnv" scope="application" class="com.jdon.web.UserEnvFront"/>

gust
2003-10-28 14:13
在 post.jsp 中

<jsp:useBean id="myEnv" scope="session" class="com.jdon.web.UserEnvFront"/>
<p>

更改 scope="application"

参考了在 global.jsp 中的设定

 
<jsp:useBean id="myEnv" scope="application" class="com.jdon.web.UserEnvFront"/>
<p>

猜你喜欢
2Go 1 2 下一页