求请教两个错误javaweb 30
Errorinvoking'com.hr.service.IHrService.syncEmpPromotion(java.lang.String)'.Nestedexc...
Error invoking 'com.hr.service.IHrService.syncEmpPromotion(java.lang.String)'. Nested exception is java.lang.reflect.InvocationTargetException: null
这个是我通过本地 去向服务器传送数据时出现的错误,求怎么解决
下边是上边运行后出现错误
严重: Exception sending context destroyed event to listener instance of class com.hjsoft.TaskSchedule
java.lang.NullPointerException
at com.hjsoft.TaskSchedule.contextDestroyed(TaskSchedule.java:19)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4523)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1046)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:595) 展开
这个是我通过本地 去向服务器传送数据时出现的错误,求怎么解决
下边是上边运行后出现错误
严重: Exception sending context destroyed event to listener instance of class com.hjsoft.TaskSchedule
java.lang.NullPointerException
at com.hjsoft.TaskSchedule.contextDestroyed(TaskSchedule.java:19)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4523)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1046)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:595) 展开
展开全部
是不是某个变量没初始化 或者销毁了两次
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
om.hjsoft.TaskSchedule contextDestroyed方法 发上来看看
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
空指针异常在TaskSchedule.java:19行 没有取到值
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询