305 Star 1.3K Fork 488

一米一粟信息科技 / kooteam

 / 详情

项目运行几天会报错,然后web服务挂了,nginx报502访问失败。报错信息如下。请问如何解决?

Backlog
Opened this issue  
2021-04-21 21:35

Apr 17, 2021 11:10:34 PM com.google.common.eventbus.EventBus$LoggingHandler handleException
SEVERE: Exception thrown by subscriber method note(com.zeto.kooteam.service.eventbus.model.NoteModel) on subscriber com.zeto.kooteam.service.eventbus.ProjectListener@61064425 when dispatching event: NoteModel(time=1618672234, site=null, data=com.zeto.ZenData@3dbb9c1c)
java.lang.NullPointerException
at com.zeto.driver.StorageBase.setStatmentParam(StorageBase.java:76)
at com.zeto.driver.mysql.MysqlWriteService.put(MysqlWriteService.java:41)
at com.zeto.driver.ZenStorageEngine.execute(ZenStorageEngine.java:321)
at com.zeto.driver.ZenStorageEngine.execute(ZenStorageEngine.java:79)
at com.zeto.kooteam.service.eventbus.ProjectListener.note(ProjectListener.java:53)
at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:87)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:144)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:72)
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)

Comments (1)

Arison created任务
Arison set related repository to 一米一粟信息科技/kooteam
Expand operation logs

首先感谢你的教程,我是从你教程里面下载到源代码的。
你这个问题,我也碰到过,我是部署好几台测试,后面发现在小内存的机子容易出现。
你可以试下,把根目录下,start.sh文件的内存参数改成512,但不要小于256M,再试下。
如果,你宿主机的内存大于4G,建议你在干净的环境下,重新且只运行这个任务,再测试几天看下情况。
还有一个基于这个项目:wookteam ,这是全开源,可定制性更高。

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
353525 marsrisen 1617356129
Java
1
https://git.oschina.net/sinbo/kooteam.git
git@git.oschina.net:sinbo/kooteam.git
sinbo
kooteam
kooteam

Search