NutzCN Logo
问答 更新到最新的nutz 版本启动处理 报错
发布于 65天前 作者 Rekoe 131 次浏览 复制 上一个帖子 下一个帖子
标签:
[15:20:51:470] [DEBUG] - org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:51) - Eval FAIL!! : public org.nutz.mvc.View org.nutz.weixin.mvc.WxAbstractModule.msgIn(java.lang.String,javax.servlet.http.HttpServletRequest) throws java.io.IOException
java.lang.NullPointerException: null
	at org.nutz.mvc.adaptor.PairAdaptor.evalInjectorBy(PairAdaptor.java:45) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.adaptor.AbstractAdaptor.evalInjector(AbstractAdaptor.java:218) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:157) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:78) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:38) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:20) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:201) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) [catalina.jar:8.5.20]
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590) [catalina.jar:8.5.20]
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233) [catalina.jar:8.5.20]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) [catalina.jar:8.5.20]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_144]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_144]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_144]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
[15:20:51:476] [ERROR] - org.nutz.mvc.impl.NutLoading.load(NutLoading.java:125) - Error happend during start serivce!
java.lang.NullPointerException: null
	at org.nutz.mvc.adaptor.PairAdaptor.evalInjectorBy(PairAdaptor.java:45) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.adaptor.AbstractAdaptor.evalInjector(AbstractAdaptor.java:218) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:157) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:78) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:38) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:20) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:201) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) [catalina.jar:8.5.20]
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590) [catalina.jar:8.5.20]
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233) [catalina.jar:8.5.20]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) [catalina.jar:8.5.20]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_144]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_144]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_144]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
[15:20:51:476] [ERROR] - org.nutz.mvc.impl.NutLoading.load(NutLoading.java:127) - try to depose ioc
[15:20:51:478] [INFO] - org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:255) - org.nutz.ioc.impl.NutIoc@1684818455 is closing. startup date [17-09-19 15:20:45.745]
[15:20:51:479] [DEBUG] - org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'freemarkerDirectiveFactory' ...
[15:20:51:479] [DEBUG] - org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'configuration' ...
[15:20:51:479] [DEBUG] - org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'freeMarkerConfigurer' ...
[15:20:51:479] [DEBUG] - org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'jedisPoolConfig' ...
[15:20:51:479] [DEBUG] - org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'jedisPool' ...
[15:20:51:481] [DEBUG] - org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'conf' ...
[15:20:51:482] [DEBUG] - org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object '$aop_slog' ...
[15:20:51:482] [DEBUG] - org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object '$aop_async' ...
[15:20:51:482] [INFO] - org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:262) - org.nutz.ioc.impl.NutIoc@1684818455 is deposed. startup date [17-09-19 15:20:45.745]
九月 19, 2017 3:20:51 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter [nutz]
org.nutz.mvc.LoadingException: java.lang.NullPointerException
	at org.nutz.mvc.LoadingException$FC$9a86caf9ff5d3b587784fcdf555a4a7d.invoke(LoadingException.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1010)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:200)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
	at org.nutz.mvc.adaptor.PairAdaptor.evalInjectorBy(PairAdaptor.java:45)
	at org.nutz.mvc.adaptor.AbstractAdaptor.evalInjector(AbstractAdaptor.java:218)
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:157)
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:78)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:38)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:20)
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:201)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	... 15 more

九月 19, 2017 3:20:51 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
九月 19, 2017 3:20:51 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/om_wx-rest] startup failed due to previous errors
九月 19, 2017 3:20:51 下午 org.apache.catalina.core.Applic
11 回复

入口方法是怎样写的,贴来看看

兽 这个是你的那个weixin jar

额,我看看代码

@wendal 找到问题了么 兽

没有,我还没重现

你能debug一下看看什么是null吗?

org.nutz.mvc.adaptor.PairAdaptor
String pm = null == param ? (Mirror.me(clazz).isPojo() ? ".." : paramNames[curIndex]) : param.value();

45行

paramNames值为null

好像问题比较严重了

[18:30:44:258] [DEBUG] - org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:51) - Eval FAIL!! : public void com.mysada.module.DingDingMobile.auth(java.lang.String,javax.servlet.http.HttpSession,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception
java.lang.NullPointerException: null
	at org.nutz.mvc.adaptor.PairAdaptor.evalInjectorBy(PairAdaptor.java:57) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.adaptor.AbstractAdaptor.evalInjector(AbstractAdaptor.java:221) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:160) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:78) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:38) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:20) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:201) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) [catalina.jar:8.5.20]
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590) [catalina.jar:8.5.20]
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233) [catalina.jar:8.5.20]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) [catalina.jar:8.5.20]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_144]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_144]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_144]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
[18:30:44:264] [ERROR] - org.nutz.mvc.impl.NutLoading.load(NutLoading.java:125) - Error happend during start serivce!
java.lang.NullPointerException: null
	at org.nutz.mvc.adaptor.PairAdaptor.evalInjectorBy(PairAdaptor.java:57) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.adaptor.AbstractAdaptor.evalInjector(AbstractAdaptor.java:221) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:160) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:78) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:38) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:20) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:201) ~[nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69) [nutz-1.r.63-SNAPSHOT.jar:1.r.63-SNAPSHOT]
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) [catalina.jar:8.5.20]
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590) [catalina.jar:8.5.20]
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233) [catalina.jar:8.5.20]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) [catalina.jar:8.5.20]
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) [catalina.jar:8.5.20]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_144]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_144]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_144]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
[18:30:44:265] [ERROR] - org.nutz.mvc.impl.NutLoading.load(NutLoading.java:127) - try to depose ioc
[18:30:44:269] [INFO] - org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:255) - org.nutz.ioc.impl.NutIoc@59365333 is closing. startup date [17-09-19 18:30:44.016]
[18:30:44:270] [DEBUG] - org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'jedisPoolConfig' ...
[18:30:44:270] [DEBUG] - org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'jedisPool' ...
[18:30:44:270] [DEBUG] - org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'conf' ...
[18:30:44:271] [DEBUG] - org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object '$aop_slog' ...
[18:30:44:272] [DEBUG] - org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object '$aop_async' ...
[18:30:44:272] [INFO] - org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:262) - org.nutz.ioc.impl.NutIoc@59365333 is deposed. startup date [17-09-19 18:30:44.016]
九月 19, 2017 6:30:44 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter [nutz]
org.nutz.mvc.LoadingException: java.lang.NullPointerException
	at org.nutz.mvc.LoadingException$FC$9a86caf9ff5d3b587784fcdf555a4a7d.invoke(LoadingException.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1010)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:200)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
	at org.nutz.mvc.adaptor.PairAdaptor.evalInjectorBy(PairAdaptor.java:57)
	at org.nutz.mvc.adaptor.AbstractAdaptor.evalInjector(AbstractAdaptor.java:221)
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:160)
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:78)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:38)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:20)
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:201)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	... 15 more

九月 19, 2017 6:30:44 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
九月 19, 2017 6:30:44 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/om_wx-rest] startup failed due to previous errors
九月 19, 2017 6:30:44 下午 org.apache.catalina.core.ApplicationContext log
信息: Cleaning up Shiro Environment
九月 19, 2017 6:30:44 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [om_wx-rest] appears to have started a thread named [lcache.pubsub] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
 java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
 java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
 java.net.InetAddress.getLocalHost(InetAddress.java:1500)
 redis.clients.jedis.HostAndPort.getLocalHostQuietly(HostAndPort.java:105)
 redis.clients.jedis.HostAndPort.<clinit>(HostAndPort.java:12)
 redis.clients.jedis.JedisFactory.<init>(JedisFactory.java:37)
 redis.clients.jedis.JedisPool.<init>(JedisPool.java:185)
 redis.clients.jedis.JedisPool.<init>(JedisPool.java:162)
 redis.clients.jedis.JedisPool.<init>(JedisPool.java:144)
 redis.clients.jedis.JedisPool$FC$a60b31c0b5cc11483fe800edcc9d38ea.invoke(JedisPool.java)
 org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
 org.nutz.lang.born.ConstructorCastingBorning.born(ConstructorCastingBorning.java:20)
 org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
 org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:115)
 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
 org.nutz.integration.jedis.JedisAgent.getJedisPool(JedisAgent.java:60)
 org.nutz.integration.jedis.JedisAgent.jedis(JedisAgent.java:49)
 org.nutz.plugins.cache.impl.lcache.LCacheManager.jedis(LCacheManager.java:51)
 org.nutz.plugins.cache.impl.lcache.LCacheManager.run(LCacheManager.java:77)
 java.lang.Thread.run(Thread.java:748)
九月 19, 2017 6:30:44 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8080"]
九月 19, 2017 6:30:44 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-nio-8009"]
九月 19, 2017 6:30:44 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 15419 ms
九月 19, 2017 6:30:49 下午 org.apache.catalina.loader.WebappClassLoaderBase checkStateForResourceLoading
信息: Illegal access: this web application instance has been stopped already. Could not load [org.apache.commons.pool2.impl.GenericObjectPool]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.apache.commons.pool2.impl.GenericObjectPool]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
	at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1305)
	at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1293)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1158)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
	at redis.clients.util.Pool.initPool(Pool.java:44)
	at redis.clients.util.Pool.<init>(Pool.java:23)
	at redis.clients.jedis.JedisPool.<init>(JedisPool.java:185)
	at redis.clients.jedis.JedisPool.<init>(JedisPool.java:162)
	at redis.clients.jedis.JedisPool.<init>(JedisPool.java:144)
	at redis.clients.jedis.JedisPool$FC$a60b31c0b5cc11483fe800edcc9d38ea.invoke(JedisPool.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.ConstructorCastingBorning.born(ConstructorCastingBorning.java:20)
	at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:115)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
	at org.nutz.integration.jedis.JedisAgent.getJedisPool(JedisAgent.java:60)
	at org.nutz.integration.jedis.JedisAgent.jedis(JedisAgent.java:49)
	at org.nutz.plugins.cache.impl.lcache.LCacheManager.jedis(LCacheManager.java:51)
	at org.nutz.plugins.cache.impl.lcache.LCacheManager.run(LCacheManager.java:77)
	at java.lang.Thread.run(Thread.java:748)


相关代码

	@Ok("void")
	@At("/?")
	public void auth(String provider, HttpSession session, HttpServletRequest req, HttpServletResponse resp) throws Exception {
		String returnTo = websiteUrlBase + "/oauth/" + provider + "/callback";
		Mvcs.getResp().setHeader("Location", DINGDING_URL + returnTo);
		Mvcs.getResp().setStatus(302);
	}
PairAdaptor.java:57行
````

else if (pm.startsWith("::")) {
if (pm.length() > 2)
return new ObjectNavlPairInjector(pm.substring(2), type);
return new ObjectNavlPairInjector(null, type);
}

```

添加回复
请先登陆
回到顶部