创建会议状态是200,instanceId为空,出现以下报错
来源:4-13 创建线下会议申请(前端)(二)

qq_慕妹9083608
2023-02-01
emos-workflow工作流项目没有报错,但是貌似 emos-api与emos-workflow没有通信响应 emos-api没有出现以下报错:
2023/02/01 01:40:06 INFO Starting EmosApiApplication using Java 15.0.2 on LAPTOP-IGU8OKJH with PID 23172 (D:\work02\emos-api\target\classes started by bosen in D:\work02\emos-api)
2023/02/01 01:40:06 INFO No active profile set, falling back to default profiles: default
2023/02/01 01:40:07 INFO Multiple Spring Data modules found, entering strict repository configuration mode!
2023/02/01 01:40:07 INFO Bootstrapping Spring Data MongoDB repositories in DEFAULT mode.
2023/02/01 01:40:07 INFO Finished Spring Data repository scanning in 22 ms. Found 0 MongoDB repository interfaces.
2023/02/01 01:40:07 INFO Multiple Spring Data modules found, entering strict repository configuration mode!
2023/02/01 01:40:07 INFO Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2023/02/01 01:40:07 INFO Finished Spring Data repository scanning in 3 ms. Found 0 Redis repository interfaces.
2023/02/01 01:40:08 INFO Logging initialized @2774ms to org.eclipse.jetty.util.log.Slf4jLog
2023/02/01 01:40:08 INFO Server initialized with port: 8090
2023/02/01 01:40:08 INFO jetty-9.4.42.v20210604; built: 2021-06-04T17:33:38.939Z; git: 5cd5e6d2375eeab146813b0de9f19eda6ab6e6cb; jvm 15.0.2+7-27
2023/02/01 01:40:08 INFO Initializing Spring embedded WebApplicationContext
2023/02/01 01:40:08 INFO Root WebApplicationContext: initialization completed in 2215 ms
2023/02/01 01:40:09 INFO DefaultSessionIdManager workerName=node0
2023/02/01 01:40:09 INFO No SessionScavenger set, using defaults
2023/02/01 01:40:09 INFO node0 Scavenging every 600000ms
2023/02/01 01:40:09 INFO Started o.s.b.w.e.j.JettyEmbeddedWebAppContext@1f45db49{application,/emos-api,[file:///C:/Users/bosen/AppData/Local/Temp/jetty-docbase.8090.5089691116200166410/, jar:file:/D:/maven/mes/org/webjars/swagger-ui/3.38.0/swagger-ui-3.38.0.jar!/META-INF/resources],AVAILABLE}
2023/02/01 01:40:09 INFO Started @3384ms
Logging initialized using ‘class org.apache.ibatis.logging.stdout.StdOutImpl’ adapter.
2023/02/01 01:40:09 INFO Init DruidDataSource
2023/02/01 01:40:09 INFO {dataSource-1} inited
Parsed mapper file: 'file [D:\work02\emos-api\target\classes\mapper\TbAmectDao.xml]'
Parsed mapper file: 'file [D:\work02\emos-api\target\classes\mapper\TbAmectTypeDao.xml]'
Parsed mapper file: 'file [D:\work02\emos-api\target\classes\mapper\TbDeptDao.xml]'
Parsed mapper file: 'file [D:\work02\emos-api\target\classes\mapper\TbLeaveDao.xml]'
Parsed mapper file: 'file [D:\work02\emos-api\target\classes\mapper\TbMeetingDao.xml]'
Parsed mapper file: 'file [D:\work02\emos-api\target\classes\mapper\TbMeetingRoomDao.xml]'
Parsed mapper file: 'file [D:\work02\emos-api\target\classes\mapper\TbPermissionDao.xml]'
Parsed mapper file: 'file [D:\work02\emos-api\target\classes\mapper\TbReimDao.xml]'
Parsed mapper file: 'file [D:\work02\emos-api\target\classes\mapper\TbRoleDao.xml]'
Parsed mapper file: ‘file [D:\work02\emos-api\target\classes\mapper\TbUserDao.xml]’
[__ || __ | | | |/ | |\ |
] | | | || | _ |__ | |
DevDoc:http://sa-token.dev33.cn (v1.26.0)
GitHub:https://github.com/dromara/sa-token
2023/02/01 01:40:12 INFO Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout=‘30000 ms’}
2023/02/01 01:40:12 INFO Opened connection [connectionId{localValue:2, serverValue:22}] to localhost:27017
2023/02/01 01:40:12 INFO Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=9, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=14381000}
2023/02/01 01:40:12 INFO Opened connection [connectionId{localValue:1, serverValue:21}] to localhost:27017
2023/02/01 01:40:12 INFO Exposing 1 endpoint(s) beneath base path '/actuator’
2023/02/01 01:40:12 INFO Initializing Spring DispatcherServlet 'dispatcherServlet’
2023/02/01 01:40:12 INFO Initializing Servlet 'dispatcherServlet’
2023/02/01 01:40:12 INFO Completed initialization in 4 ms
2023/02/01 01:40:12 INFO Started ServerConnector@447521e{HTTP/1.1, (http/1.1)}{0.0.0.0:8090}
2023/02/01 01:40:12 INFO Jetty started on port(s) 8090 (http/1.1) with context path '/emos-api’
2023/02/01 01:40:12 INFO Started EmosApiApplication in 6.536 seconds (JVM running for 7.064)
2023/02/01 01:40:13 INFO Attempting to connect to: [localhost:5672]
2023/02/01 01:40:13 INFO Created new connection: rabbitConnectionFactory#5644f664:0/SimpleConnection@37144871 [delegate=amqp://guest@127.0.0.1:5672/, localPort= 52291]
2023/02/01 01:40:13 INFO Opened connection [connectionId{localValue:3, serverValue:23}] to localhost:27017
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4c4f02c] was not registered for synchronization because synchronization is not active
JDBC Connection [com.mysql.cj.jdbc.ConnectionImpl@3e528085] will not be managed by Spring
> Preparing: INSERT INTO tb_meeting SET title = ?, uuid = ?, date
= ?, creator_id = ?, place = ?, start
= ?, end
= ?, type
= ?, members = ?, desc
= ?, instance_id = ?, status = ?, create_time = NOW()
> Parameters: 11777(String), 25beb042af5e4915925056111c6ecf54(String), 2023-02-01(String), 24(Integer), 大会议室A01(String), 10:30(String), 11:00(String), 2(Short), 70,80, 探讨客户服务质量提升(String), null, 1(Short)
< Updates: 1
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4c4f02c]
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@655504fd] was not registered for synchronization because synchronization is not active
JDBC Connection [com.mysql.cj.jdbc.ConnectionImpl@3e528085] will not be managed by Spring
> Preparing: SELECT u.open_id AS openId, u.nickname, u.name, u.photo, u.sex, u.tel, u.email, d.dept_name AS dept, u.hiredate, u.status, ( SELECT GROUP_CONCAT( role_name separator “,” ) FROM tb_role WHERE JSON_CONTAINS ( u.role, CONVERT ( id, CHAR ) ) ) AS roles FROM tb_user u LEFT JOIN tb_dept d ON u.dept_id = d.id WHERE u.id = ? AND u.status = 1
> Parameters: 24(Integer)
< Columns: openId, nickname, name, photo, sex, tel, email, dept, hiredate, status, roles
< Row: o0RfR5PvoQejn2yNcvwfyvSn_ASA, 微信用户, null, https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132, null, null, null, null, null, 1, <>
< Total: 1
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@655504fd]
2023/02/01 01:40:35 ERROR Unexpected exception occurred invoking async method: public void com.example.emos.api.task.MeetingWorkflowTask.startMeetingWorkflow(java.lang.String,int,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
java.lang.NullPointerException: Cannot invoke “Object.toString()” because the return value of “java.util.HashMap.get(Object)” is null
at com.example.emos.api.task.MeetingWorkflowTask.startMeetingWorkflow(MeetingWorkflowTask.java:47)
at com.example.emos.api.task.MeetingWorkflowTaskFastClassBySpringCGLIBFastClassBySpringCGLIBFastClassBySpringCGLIBfa1fad7b.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxyCglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)atorg.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)atorg.springframework.aop.framework.CglibAopProxyCglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxyCglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779)atorg.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)atorg.springframework.aop.framework.CglibAopProxyCglibMethodInvocation.proceed(CglibAopProxy.java:750)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke0(AsyncExecutionInterceptor.java:115)atjava.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)atjava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)atjava.base/java.util.concurrent.ThreadPoolExecutor0(AsyncExecutionInterceptor.java:115)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor0(AsyncExecutionInterceptor.java:115)atjava.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)atjava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)atjava.base/java.util.concurrent.ThreadPoolExecutorWorker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
1回答
-
神思者
2023-02-01
报错信息提示说你调用工作流程序传递的参数不对,你设置断点检查一下
00
相似问题