首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java相关 >

内存溢出 报出空指针错误 很着急 忘各位大侠们能出后相助 多谢

2013-09-11 
内存溢出 报出空指针异常很着急 忘各位大侠们能出后相助 谢谢程序报错Features:[nameBizForm, nameBizF

内存溢出 报出空指针异常 很着急 忘各位大侠们能出后相助 谢谢
程序报错


Features:[name=BizForm;, name=BizFramework;, name=R1 Adapter;, name=R1 DataExchange;, name=R1 Framework;, name=R1 GlobalRepository;, name=R1 Infobus;, name=R1 MangementConsole;, name=R1 StarFlow;[Advanced], name=R1 Studio;]
java.lang.NullPointerException
at com.icss.ro.starflow.organization.impl.WfHumanImpl.getMobile(WfHumanImpl.java:152)
at com.icss.ro.starflow.engine.WfEventDispacher.super(WfEventDispacher.java:1023)
at com.icss.ro.starflow.engine.WfEventDispacher.super(WfEventDispacher.java:582)
at com.icss.ro.starflow.engine.WfEventDispacher.super(WfEventDispacher.java:317)
at com.icss.ro.starflow.engine.WfEventDispacher.dispachEvent(WfEventDispacher.java:136)
at com.icss.ro.starflow.engine.impl.WfEventabstractImpl.fireEvent(WfEventabstractImpl.java:32)
at com.icss.ro.starflow.engine.impl.WfActivityImpl.activate(WfActivityImpl.java:835)
at com.icss.ro.starflow.engine.impl.WfProcessImpl.startActivity(WfProcessImpl.java:628)
at com.icss.ro.starflow.engine.impl.WfProcessImpl.queueNext(WfProcessImpl.java:461)
at com.icss.ro.starflow.engine.impl.WfProcessImpl.activityComplete(WfProcessImpl.java:396)
at com.icss.ro.starflow.engine.impl.WfActivityImpl.complete(WfActivityImpl.java:950)
at com.icss.ro.starflow.engine.impl.WfActivityImpl.complete(WfActivityImpl.java:875)
at com.icss.ro.starflow.engine.impl.WfActivityImpl.checkComplete(WfActivityImpl.java:1129)
at com.icss.ro.starflow.engine.impl.WfActivityImpl.start(WfActivityImpl.java:1323)
at com.icss.ro.starflow.engine.impl.WfActivityImpl.activate(WfActivityImpl.java:854)
at com.icss.ro.starflow.engine.impl.WfProcessImpl.startActivity(WfProcessImpl.java:628)
at com.icss.ro.starflow.engine.impl.WfProcessImpl.start(WfProcessImpl.java:224)
at com.icss.ro.starflow.engine.impl.WfProcessImpl.start(WfProcessImpl.java:192)
at com.icss.ro.starflow.engine.service.WorkflowEngine.createProcess(WorkflowEngine.java:221)
at com.icss.ro.starflow.engine.service.WorkflowEngine.runSync(WorkflowEngine.java:87)
at com.icss.starflow.sdk.WmProcessInstance.start(WmProcessInstance.java:269)
at com.icss.starflow.sdk.WmProcessInstance.start(WmProcessInstance.java:234)
at com.icss.starflow.sdk.WmProcessInstance.start(WmProcessInstance.java:218)
at com.icss.starflow.sdk.WmProcessInstance.start(WmProcessInstance.java:204)
at com.icss.ro.starflow.lab.business.controller.StarFlowServlet.startflow(StarFlowServlet.java:118)
at com.icss.ro.starflow.lab.business.controller.AddApplyToWorkFlowServlet.performTask(AddApplyToWorkFlowServlet.java:58)
at com.icss.j2ee.servlet.ServletBase.doFilter(Unknown Source)
at com.icss.j2ee.servlet.filter.FilterChain.doFilter(Unknown Source)
at com.icss.j2ee.servlet.ServletBase.process(Unknown Source)
at com.icss.j2ee.servlet.ServletBase.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at com.icss.j2ee.servlet.ServletBase.service(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.icss.j2ee.servlet.ServletBase.forward(Unknown Source)
at com.icss.ro.starflow.lab.business.controller.InitFormPostServlet.performTask(InitFormPostServlet.java:71)
at com.icss.j2ee.servlet.ServletBase.doFilter(Unknown Source)
at com.icss.j2ee.servlet.filter.FilterChain.doFilter(Unknown Source)


at com.icss.j2ee.servlet.ServletBase.process(Unknown Source)
at com.icss.j2ee.servlet.ServletBase.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at com.icss.j2ee.servlet.ServletBase.service(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.icss.resourceone.sso.client.SSOClientBase.processFilter(SSOClientBase.java:310)
at com.icss.resourceone.sso.client.SSOClient.doFilter(SSOClient.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.icss.resourceone.sdk.SdkFilter.doFilter(SdkFilter.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.icss.j2ee.servlet.filter.ChangeReqEncoding.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)






页面报错



HTTP Status 500 - 

--------------------------------------------

type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: PermGen space
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:273)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.icss.resourceone.sdk.SdkFilter.doFilter(SdkFilter.java:167)
com.icss.j2ee.servlet.filter.ChangeReqEncoding.doFilter(Unknown Source)


root cause 

java.lang.OutOfMemoryError: PermGen space


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.



[解决办法]
这里面是两类错误,并不一样。


永久区内存溢出是一类错误,参见:
http://topic.csdn.net/u/20120616/22/162653c2-715a-430e-ae8b-a698abdd3833.html


空指针错误:
java.lang.NullPointerException
 at com.icss.ro.starflow.organization.impl.WfHumanImpl.getMobile(WfHumanImpl.java:152)

检查WfHumanImpl.java程序的 152 行代码。
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.myexception.cn/java-web/317.html

热点排行