Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

online表单update插入sys_data_log时候 create_name和create_by不生成 #7759

Closed
mrsiu opened this issue Jan 22, 2025 · 2 comments
Closed

Comments

@mrsiu
Copy link

mrsiu commented Jan 22, 2025

版本号:

jeecgboot 3.7.1

问题

Image Image
2025-01-22 16:47:22.856 [pool-7-thread-2] WARN  o.jeecg.modules.system.service.impl.SysBaseApiImpl:1690 - Cannot invoke "org.springframework.web.context.request.ServletRequestAttributes.getRequest()" because the return value of "org.jeecg.common.util.SpringContextUtils._jr$ldcServletRequestAttributes644fca0fe5o192(Object)" is null
java.lang.NullPointerException: Cannot invoke "org.springframework.web.context.request.ServletRequestAttributes.getRequest()" because the return value of "org.jeecg.common.util.SpringContextUtils._jr$ldcServletRequestAttributes644fca0fe5o192(Object)" is null
	at org.jeecg.common.util.SpringContextUtils.getHttpServletRequest(SpringContextUtils.java:45)
	at org.jeecg.modules.system.service.impl.SysBaseApiImpl.saveDataLog(SysBaseApiImpl.java:1688)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:699)
	at org.jeecg.modules.system.service.impl.SysBaseApiImpl$$SpringCGLIB$$0.saveDataLog(<generated>)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:237)
	at jdk.proxy2/jdk.proxy2.$Proxy153.saveDataLog(Unknown Source)
	at org.jeecg.modules.online.cgform.service.a.c.a(OnlCgformFieldServiceImpl.java:1345)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:840)
@zhangdaiscott
Copy link
Member

jl

@sjlei
Copy link

sjlei commented Feb 7, 2025

未复现该问题。你是在什么环境下使用Online表单导致的获取不到当前登录用户呢?

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants