wdyi 发表于 2022-10-24 13:47:29

添加人员报错

我添加一个人员 提示 reguest:json error 这是啥情况       我上礼拜添加了8个还是好好的 今天又想添加 不行了

论坛管理员 发表于 2022-10-24 15:59:40

F12看一下是哪个请求报错

wdyi 发表于 2022-10-25 09:04:54


wdyi 发表于 2022-10-25 09:07:31

论坛管理员 发表于 2022-10-24 15:59
F12看一下是哪个请求报错

已上传报错图片 麻烦帮助看一下 谢谢

论坛管理员 发表于 2022-10-25 09:41:20

可以创建和不可以创建这之间,是否有做过升级?当前o2oa是什么版本?

wdyi 发表于 2022-10-25 09:52:56

没有做过升级,当前版本是 7.2.4

wdyi 发表于 2022-10-25 10:40:19

论坛管理员 发表于 2022-10-25 09:41
可以创建和不可以创建这之间,是否有做过升级?当前o2oa是什么版本?

没有做过升级,当前版本是 7.2.4

启蒙星 发表于 2022-10-26 09:39:08

麻烦发下后台的错误日志,附件传上来

wdyi 发表于 2022-10-26 10:54:02

启蒙星 发表于 2022-10-26 09:39
麻烦发下后台的错误日志,附件传上来

2022-10-25 14:57:46.217 ERROR com.x.organization.assemble.control.jaxrs.person.PersonAction - id:81096fb2-337c-4aed-bbd5-c7c8326187dd, name:com.x.organization.assemble.control.jaxrs.person.PersonAction, message:null, exception:java.lang.NullPointerException, id:81096fb2-337c-4aed-bbd5-c7c8326187dd, name:com.x.organization.assemble.control.jaxrs.person.PersonAction, message:null, exception:java.lang.NullPointerException, person:xadmin, method:POST, request:http://10.120.255.153/x_organization_assemble_control/jaxrs/person?v=7.2, remoteHost:10.119.112.13, emoteAddr:10.119.112.13, head:Authorization:wuZjH-TCKDouIg-1dsKJDjlx3T8GQtCjvUNDgUtqlVw
Origin:http://10.120.255.153
Cookie:order=id%20desc; serverType=nginx; pro_end=-1; ltd_end=-1; e6ad7178e697634db439eab068d8fdbd=d59085e9-f4bb-4e58-97be-e4e62d97673a.sjgGFCIUoXT6hAd803HvabNTfiw; request_token=BICpomcRAQqRTxMNMwP67uQVnbY3eiHDjov6WcDIM8KNFexr; memSize=15866; bt_user_info=%7B%22status%22%3Atrue%2C%22msg%22%3A%22%u83B7%u53D6%u6210%u529F%21%22%2C%22data%22%3A%7B%22username%22%3A%22150****9686%22%7D%7D; rank=list; Path=/www/wwwroot; file_recycle_status=true; network-unitType=KB/s; disk-unitType=KB/s; docker_model=container; sites_path=/www/wwwroot; site_model=php; db_page_model=mysql; backup_path=/www/backup; distribution=centos7; force=0; soft_remarks=%7B%22list%22%3A%5B%22%u4F01%u4E1A%u7248%u3001%u4E13%u4E1A%u7248%u63D2%u4EF6%22%2C%2215%u5929%u65E0%u7406%u7531%u9000%u6B3E%22%2C%22%u53EF%u66F4%u6362IP%22%2C%22%u5E74%u4ED8%u8D60%u90012%u5F20SSL%u8BC1%u4E66%22%2C%22%u5E74%u4ED8%u8D60%u90011000%u6761%u77ED%u4FE1%22%2C%22%u4F4E%u81F32.43%u5143/%u5929%22%2C%22%u5546%u7528%u9632%u706B%u5899%u6388%u6743%22%2C%22%u5E74%u4ED8%u53EF%u5165%u4F01%u4E1A%u7248%u670D%u52A1%u7FA4%22%2C%22%u4EA7%u54C1%u6388%u6743%u8BC1%u4E66%22%5D%2C%22pro_list%22%3A%5B%22%u4E13%u4E1A%u7248%u63D2%u4EF6%22%2C%2215%u5929%u65E0%u7406%u7531%u9000%u6B3E%22%2C%22%u53EF%u66F4%u6362IP%22%2C%22%u4F4E%u81F31.18%u5143/%u5929%22%2C%22%u5546%u7528%u9632%u706B%u5899%u6388%u6743%22%2C%22%u4EA7%u54C1%u6388%u6743%u8BC1%u4E66%22%5D%2C%22kfqq%22%3A%223007255432%22%2C%22kf%22%3A%22http%3A//q.url.cn/CDfQPS%3F_type%3Dwpa%26qidian%3Dtrue%22%2C%22qun%22%3A%22%22%2C%22kf_list%22%3A%5B%7B%22qq%22%3A%223007255432%22%2C%22kf%22%3A%22http%3A//q.url.cn/CDfQPS%3F_type%3Dwpa%26qidian%3Dtrue%22%7D%2C%7B%22qq%22%3A%222927440070%22%2C%22kf%22%3A%22http%3A//wpa.qq.com/msgrd%3Fv%3D3%26uin%3D2927440070%26site%3Dqq%26menu%3Dyes%26from%3Dmessage%26isappinstalled%3D0%22%7D%5D%2C%22wx_list%22%3A%5B%7B%22ps%22%3A%22%u552E%u524D%u54A8%u8BE2%22%2C%22kf%22%3A%22https%3A//work.weixin.qq.com/kfid/kfc72fcbde93e26a6f3%22%7D%5D%7D; load_page=null; load_type=null; load_search=undefined; config-tab=allConfig; x-token=wuZjH-TCKDouIg-1dsKJDjlx3T8GQtCjvUNDgUtqlVw
Accept:text/html,application/json,*/*
Connection:keep-alive
User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Referer:http://10.120.255.153/x_desktop/index.html
Host:10.120.255.153
Accept-Language:zh-CN
Accept-Encoding:gzip, deflate
Content-Length:394
Content-Type:application/json; charset=UTF-8, body:{
"genderType": "m",
"signature": "",
"description": "",
"unique": "11",
"orderNumber": "",
"superior": "",
"officePhone": "",
"boardDate": "",
"birthday": "",
"employee": "231454",
"password": "",
"display": "",
"qq": "",
"mail": "",
"weixin": "",
"weibo": "",
"mobile": "14323451234",
"name": "11",
"ipAddress": "",
"controllerList": [],
"woPersonAttributeList": [],
"woIdentityList": [],
"control": {
    "allowEdit": true,
    "allowDelete": true
}
}..
java.lang.NullPointerException: null
      at com.x.base.core.project.tools.Crypto.encrypt(Crypto.java:75) ~
      at com.x.organization.assemble.control.factory.PersonFactory.setPassword(PersonFactory.java:195) ~
      at com.x.organization.assemble.control.jaxrs.person.ActionCreate.execute(ActionCreate.java:81) ~
      at com.x.organization.assemble.control.jaxrs.person.PersonAction.create(PersonAction.java:67) ~
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
      at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
      at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52) ~
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124) ~
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167) ~
      at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159) ~
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79) ~
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475) ~
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397) ~
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81) ~
      at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255) ~
      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248) ~
      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244) ~
      at org.glassfish.jersey.internal.Errors.process(Errors.java:292) ~
      at org.glassfish.jersey.internal.Errors.process(Errors.java:274) ~
      at org.glassfish.jersey.internal.Errors.process(Errors.java:244) ~
      at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265) ~
      at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234) ~
      at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684) ~
      at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394) ~
      at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346) ~
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366) ~
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319) ~
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205) ~
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763) ~
      at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1633) ~
      at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228) ~
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) ~
      at com.x.base.core.project.jaxrs.ManagerUserJaxrsFilter.doFilter(ManagerUserJaxrsFilter.java:51) ~
      at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) ~
      at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609) ~
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:561) ~
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602) ~
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1612) ~
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) ~
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) ~
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1582) ~
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) ~
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~
      at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:59) ~
      at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:716) ~
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~
      at org.eclipse.jetty.server.Server.handle(Server.java:516) ~
      at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) ~
      at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) ~
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) ~
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) ~
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) ~
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) ~
      at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) ~
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) ~
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) ~
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) ~
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) ~
      at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) ~
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773) ~
      at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905) ~
      at java.lang.Thread.run(Thread.java:834) ~[?:?]

wdyi 发表于 2022-10-26 10:57:11

附件为报错日志
页: [1] 2
查看完整版本: 添加人员报错