今天头儿给现场演示了怎么找看不到的页面
1. 在显示不出的页面上单击右键,查看出错的信息
例如;
<input type="hidden" name="ExceptionName" value="java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at _jsp._nos._netflow._netflow._CurMonitorDetail__jsp._jspService(_CurMonitorDetail__jsp.java:643)
at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
at com.caucho.jsp.Page.pageservice(Page.java:578)
at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:195)
at com.zhongying.util.EncodingFilter.doFilter(EncodingFilter.java:80)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
at com.cauho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:435)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:678)
at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
at java.lang.Thread.run(Thread.java:595)
">
首先hashtable不会出错,所以锁定
_jsp._nos._netflow._netflow._CurMonitorDetail__jsp._jspService(_CurMonitorDetail__jsp.java:643),
用ftp工具打开slview/apache/htdocs/WEB-INF/work/_jsp/_nos/_netflow/_netflow/._jspService下的(_CurMonitorDetail__jsp.java
2。 页面上 有公司自定义的异常“查询流量监控字段信息出错”,secureCRT打开 more ErrorList.xml
<ErrorNode>
<ErrorCode>com.zhongying.dslamprofile.busi.DslamProfileBusi:06</ErrorCode>
<ErrorName>业务选择失败</ErrorName>
<ErrorExplain>业务选择失败</ErrorExplain>
</ErrorNode
<ErrorCode>com.zhongying.dslamprofile.busi.DslamProfileBusi:06</ErrorCode>
<ErrorName>业务选择失败</ErrorName>
<ErrorExplain>业务选择失败</ErrorExplain>
</ErrorNode