NutzCN Logo
问答 vue模块启动报错,之前是正常的
发布于 2127天前 作者 franktrue 1568 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

已按照启动顺序启动sys>cms>wx>task>vue,之前还可以正常启动,现在启动报错如下:

[ERROR] 10:22:25.971 [main] org.nutz.boot.NbApp - something happen!!
org.nutz.ioc.IocException: IocBean[webPlatformMainLauncher] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:161)
	at org.nutz.boot.NbApp.execute(NbApp.java:210)
	at org.nutz.boot.NbApp.run(NbApp.java:178)
	at cn.wizzer.app.web.commons.core.WebPlatformMainLauncher.main(WebPlatformMainLauncher.java:48)
Caused by: java.lang.RuntimeException: IocBean[webPlatformMainLauncher] fail at field=[globals]
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138)
	... 6 common frames omitted
Caused by: org.nutz.ioc.IocException: IocBean[globals] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
	at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
	... 8 common frames omitted
Caused by: java.lang.NullPointerException: null
	at cn.wizzer.app.web.commons.base.Globals.initSysConfig(Globals.java:60)
	at cn.wizzer.app.web.commons.base.Globals.init(Globals.java:52)
	at cn.wizzer.app.web.commons.base.Globals$FM$init$cff301be46c87e2fbea60f4ef344bacb.invoke(Globals.java)
	at org.nutz.ioc.impl.ObjectMakerImpl$2.trigger(ObjectMakerImpl.java:180)
	at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:89)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
	... 11 common frames omitted
4 回复

很明显的空指针异常呀

但是这个代码我并没有改过,只是今早重新跑一下就报这个错误了……

没动过也可以排查一下什么是null呀

找到了……数据库被误操作了……谢谢大佬

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