新版大屏配置点击事件报错

Blade 未结 2 212
tongxz
tongxz 剑童 2024-09-10 16:09

2024-09-10T15:56:20.007+08:00  INFO 20763 --- [blade-data-server] [  XNIO-1 task-3] o.s.core.boot.logger.RequestLogAspect    : 


================  Response Start  ================

===Result===  {"code":200,"success":true,"data":{"link":"http://135.168.60.67:9000/date/upload/20240910/db137450d8593511551e4115de158452.jpg","domain":"http://135.168.60.67:9000/date","name":"upload/20240910/db137450d8593511551e4115de158452.jpg","originalName":"欢迎页正式版.jpg"},"msg":"操作成功"}

<=== POST: /blade-visual/visual/put-file (855 ms)

================  Response End   ================


java.net.SocketException: Connection reset

at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)

at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)

at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:289)

at org.xnio.conduits.AbstractStreamSourceConduit.read(AbstractStreamSourceConduit.java:51)

at io.undertow.conduits.ReadDataStreamSourceConduit.read(ReadDataStreamSourceConduit.java:67)

at io.undertow.conduits.FixedLengthStreamSourceConduit.read(FixedLengthStreamSourceConduit.java:257)

at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)

at io.undertow.channels.DetachableStreamSourceChannel.read(DetachableStreamSourceChannel.java:206)

at io.undertow.server.HttpServerExchange$ReadDispatchChannel.read(HttpServerExchange.java:2445)

at org.xnio.channels.Channels.readBlocking(Channels.java:344)

at io.undertow.servlet.spec.ServletInputStreamImpl.readIntoBuffer(ServletInputStreamImpl.java:201)

at io.undertow.servlet.spec.ServletInputStreamImpl.read(ServletInputStreamImpl.java:176)

at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:270)

at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:313)

at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188)

at java.base/java.io.InputStreamReader.read(InputStreamReader.java:177)

at java.base/java.io.BufferedReader.fill(BufferedReader.java:162)

at java.base/java.io.BufferedReader.readLine(BufferedReader.java:329)

at java.base/java.io.BufferedReader.readLine(BufferedReader.java:396)

at org.springblade.core.tool.utils.WebUtil.getRequestBody(WebUtil.java:287)

at org.springblade.core.tool.request.XssHttpServletRequestWrapper.getInputStream(XssHttpServletRequestWrapper.java:75)

at org.springframework.http.server.ServletServerHttpRequest.getBody(ServletServerHttpRequest.java:216)

at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver$EmptyBodyCheckingHttpInputMessage.<init>(AbstractMessageConverterMethodArgumentResolver.java:327)

at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(AbstractMessageConverterMethodArgumentResolver.java:174)

at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.readWithMessageConverters(RequestResponseBodyMethodProcessor.java:159)

at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.resolveArgument(RequestResponseBodyMethodProcessor.java:134)

at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:122)

at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:224)

at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:178)

at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118)

at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:925)

at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:830)

at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)

at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)

at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)

at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)

at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)

at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:547)

at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)

at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)

at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)

at org.springblade.core.tool.request.BladeRequestFilter.doFilter(BladeRequestFilter.java:57)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)

at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)

at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)

at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)

at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)

at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)

at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)

at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)

at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)

at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)

at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)

at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)

at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)

at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)

at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)

at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)

at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)

at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)

at java.base/java.lang.Thread.run(Thread.java:842)


==============  Sql Start  ==============

Execute ID  :org.springblade.modules.visual.mapper.VisualLogMapper.insert

Execute SQL :INSERT INTO blade_visual_log (id, title, method, request_uri, user_agent, remote_ip, method_class, method_name, params, time, create_time) VALUES (1833414186940522497, '资源上传', 'POST', '/blade-visual/visual/put-file', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.289 Safari/537.36', '16.168.100.2', 'org.springblade.modules.visual.controller.VisualController', 'putFile', '', '859', '2024-09-10 15:56:20.008')

Execute Time:29 ms

==============  Sql  End   ==============


java.net.SocketException: Connection reset

at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)

at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)

at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:289)

at org.xnio.conduits.AbstractStreamSourceConduit.read(AbstractStreamSourceConduit.java:51)

at io.undertow.conduits.ReadDataStreamSourceConduit.read(ReadDataStreamSourceConduit.java:67)

at io.undertow.conduits.FixedLengthStreamSourceConduit.read(FixedLengthStreamSourceConduit.java:257)

at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)

at io.undertow.channels.DetachableStreamSourceChannel.read(DetachableStreamSourceChannel.java:206)

at io.undertow.server.HttpServerExchange$ReadDispatchChannel.read(HttpServerExchange.java:2445)

at org.xnio.channels.Channels.readBlocking(Channels.java:344)

at io.undertow.servlet.spec.ServletInputStreamImpl.readIntoBuffer(ServletInputStreamImpl.java:201)

at io.undertow.servlet.spec.ServletInputStreamImpl.read(ServletInputStreamImpl.java:176)

at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:270)

at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:313)

at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188)

at java.base/java.io.InputStreamReader.read(InputStreamReader.java:177)

at java.base/java.io.BufferedReader.fill(BufferedReader.java:162)

at java.base/java.io.BufferedReader.readLine(BufferedReader.java:329)

at java.base/java.io.BufferedReader.readLine(BufferedReader.java:396)

at org.springblade.core.tool.utils.WebUtil.getRequestBody(WebUtil.java:287)

at org.springblade.core.tool.request.XssHttpServletRequestWrapper.getInputStream(XssHttpServletRequestWrapper.java:75)

at org.springframework.http.server.ServletServerHttpRequest.getBody(ServletServerHttpRequest.java:216)

at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver$EmptyBodyCheckingHttpInputMessage.<init>(AbstractMessageConverterMethodArgumentResolver.java:327)

at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(AbstractMessageConverterMethodArgumentResolver.java:174)

at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.readWithMessageConverters(RequestResponseBodyMethodProcessor.java:159)

at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.resolveArgument(RequestResponseBodyMethodProcessor.java:134)

at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:122)

at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:224)

at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:178)

at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118)

at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:925)

at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:830)

at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)

at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)

at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)

at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)

at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)

at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:547)

at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)

at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)

at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)

at org.springblade.core.tool.request.BladeRequestFilter.doFilter(BladeRequestFilter.java:57)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)

at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)

at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)

at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)

at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)

at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)

at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)

at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)

at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)

at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)

at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)

at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)

at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)

at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)

at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)

at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)

at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)

at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)

at java.base/java.lang.Thread.run(Thread.java:842)

2024-09-10T15:56:20.094+08:00 ERROR 20763 --- [blade-data-server] [  XNIO-1 task-3] o.s.c.l.e.BladeRestExceptionTranslator   : 消息不能读取:Required request body is missing: public org.springblade.core.tool.api.R org.springblade.modules.visual.controller.VisualController.update(org.springblade.modules.visual.pojo.dto.VisualDTO)

2024-09-10T15:56:20.085+08:00 ERROR 20763 --- [blade-data-server] [  XNIO-1 task-2] o.s.c.l.e.BladeRestExceptionTranslator   : 消息不能读取:Required request body is missing: public org.springblade.core.tool.api.R org.springblade.modules.visual.controller.VisualController.update(org.springblade.modules.visual.pojo.dto.VisualDTO)

java.net.SocketException: Connection reset

at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)

at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)

at org.xnio.nio.NioSocketConduit.read(NioSocketConduit.java:289)

at org.xnio.conduits.AbstractStreamSourceConduit.read(AbstractStreamSourceConduit.java:51)

at io.undertow.conduits.ReadDataStreamSourceConduit.read(ReadDataStreamSourceConduit.java:67)

at io.undertow.conduits.FixedLengthStreamSourceConduit.read(FixedLengthStreamSourceConduit.java:257)

at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)

at io.undertow.channels.DetachableStreamSourceChannel.read(DetachableStreamSourceChannel.java:206)

at io.undertow.server.HttpServerExchange$ReadDispatchChannel.read(HttpServerExchange.java:2445)

at org.xnio.channels.Channels.readBlocking(Channels.java:344)

at io.undertow.servlet.spec.ServletInputStreamImpl.readIntoBuffer(ServletInputStreamImpl.java:201)

at io.undertow.servlet.spec.ServletInputStreamImpl.read(ServletInputStreamImpl.java:176)

at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:270)

at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:313)

at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188)

at java.base/java.io.InputStreamReader.read(InputStreamReader.java:177)

at java.base/java.io.BufferedReader.fill(BufferedReader.java:162)

at java.base/java.io.BufferedReader.readLine(BufferedReader.java:329)

at java.base/java.io.BufferedReader.readLine(BufferedReader.java:396)

at org.springblade.core.tool.utils.WebUtil.getRequestBody(WebUtil.java:287)

at org.springblade.core.tool.request.XssHttpServletRequestWrapper.getInputStream(XssHttpServletRequestWrapper.java:75)

at org.springframework.http.server.ServletServerHttpRequest.getBody(ServletServerHttpRequest.java:216)

at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver$EmptyBodyCheckingHttpInputMessage.<init>(AbstractMessageConverterMethodArgumentResolver.java:327)

at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodArgumentResolver.readWithMessageConverters(AbstractMessageConverterMethodArgumentResolver.java:174)

at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.readWithMessageConverters(RequestResponseBodyMethodProcessor.java:159)

at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.resolveArgument(RequestResponseBodyMethodProcessor.java:134)

at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:122)

at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:224)

at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:178)

at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118)

at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:925)

at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:830)

at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)

at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)

at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)

at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)

at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)

at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:547)

at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)

at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)

at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)

at org.springblade.core.tool.request.BladeRequestFilter.doFilter(BladeRequestFilter.java:57)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)

at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)

at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)

at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)

at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)

at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)

at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)

at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276)

at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)

at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132)

at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)

at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256)

at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101)

at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393)

at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)

at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)

at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)

at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)

at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)

at java.base/java.lang.Thread.run(Thread.java:842)

2024-09-10T15:56:20.104+08:00 ERROR 20763 --- [blade-data-server] [  XNIO-1 task-4] o.s.c.l.e.BladeRestExceptionTranslator   : 消息不能读取:Required request body is missing: public org.springblade.core.tool.api.R org.springblade.modules.visual.controller.VisualController.update(org.springblade.modules.visual.pojo.dto.VisualDTO)

2024-09-10T15:56:20.100+08:00  WARN 20763 --- [blade-data-server] [  XNIO-1 task-3] .m.m.a.ExceptionHandlerExceptionResolver : Failure in @ExceptionHandler org.springblade.core.log.error.BladeRestExceptionTranslator#handleError(HttpMessageNotReadableException)


java.io.IOException: UT010029: Stream is closed

at io.undertow.servlet.spec.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:139) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at com.fasterxml.jackson.core.json.UTF8JsonGenerator._flushBuffer(UTF8JsonGenerator.java:2203) ~[jackson-core-2.15.4.jar!/:2.15.4]

at com.fasterxml.jackson.core.json.UTF8JsonGenerator.flush(UTF8JsonGenerator.java:1197) ~[jackson-core-2.15.4.jar!/:2.15.4]

at com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:1063) ~[jackson-databind-2.15.4.jar!/:2.15.4]

at org.springblade.core.tool.jackson.AbstractReadWriteJackson2HttpMessageConverter.writeInternal(AbstractReadWriteJackson2HttpMessageConverter.java:130) ~[blade-core-tool-4.0.0.jar!/:na]

at org.springframework.http.converter.AbstractGenericHttpMessageConverter.write(AbstractGenericHttpMessageConverter.java:114) ~[spring-web-6.1.5.jar!/:6.1.5]

at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:297) ~[spring-webmvc-6.1.5.jar!/:6.1.5]

at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.handleReturnValue(RequestResponseBodyMethodProcessor.java:190) ~[spring-webmvc-6.1.5.jar!/:6.1.5]

at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:78) ~[spring-web-6.1.5.jar!/:6.1.5]

at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:136) ~[spring-webmvc-6.1.5.jar!/:6.1.5]

at org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver.doResolveHandlerMethodException(ExceptionHandlerExceptionResolver.java:432) ~[spring-webmvc-6.1.5.jar!/:6.1.5]

at org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver.doResolveException(AbstractHandlerMethodExceptionResolver.java:74) ~[spring-webmvc-6.1.5.jar!/:6.1.5]

at org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:175) ~[spring-webmvc-6.1.5.jar!/:6.1.5]

at org.springframework.web.servlet.handler.HandlerExceptionResolverComposite.resolveException(HandlerExceptionResolverComposite.java:80) ~[spring-webmvc-6.1.5.jar!/:6.1.5]

at org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:1357) ~[spring-webmvc-6.1.5.jar!/:6.1.5]

at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1160) ~[spring-webmvc-6.1.5.jar!/:6.1.5]

at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) ~[spring-webmvc-6.1.5.jar!/:6.1.5]

at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) ~[spring-webmvc-6.1.5.jar!/:6.1.5]

at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) ~[spring-webmvc-6.1.5.jar!/:6.1.5]

at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914) ~[spring-webmvc-6.1.5.jar!/:6.1.5]

at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:547) ~[jakarta.servlet-api-6.0.0.jar!/:6.0.0]

at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) ~[spring-webmvc-6.1.5.jar!/:6.1.5]

at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614) ~[jakarta.servlet-api-6.0.0.jar!/:6.0.0]

at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at org.springblade.core.tool.request.BladeRequestFilter.doFilter(BladeRequestFilter.java:57) ~[blade-core-tool-4.0.0.jar!/:na]

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-6.1.5.jar!/:6.1.5]

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.5.jar!/:6.1.5]

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-6.1.5.jar!/:6.1.5]

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.5.jar!/:6.1.5]

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109) ~[spring-web-6.1.5.jar!/:6.1.5]

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.5.jar!/:6.1.5]

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-6.1.5.jar!/:6.1.5]

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.5.jar!/:6.1.5]

at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68) ~[undertow-servlet-2.3.12.Final.jar!/:2.3.12.Final]

at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(

2条回答
  • 2024-09-10 16:23

    看着像是minio配置的问题,你看下minio的ip端口以及账号密码是否都配置正确了, 确定大屏部署的服务器能正常访问到minio的服务。

    比如我们本地的配置如下(记得minio的版本不能大于:2021-04-22T15-44-28Z.hotfix.56647434e


    oss:
      enabled: true
      name: minio
      tenant-mode: false
      #实际需要按照具体部署的地址端口来填写
      endpoint: http://localhost:9000
      #实际需要配置的存储桶名称
      bucket-name: bladex
      #实际需要按照自行配置的key来填写
      access-key: bladexadmin
      secret-key: bladexadmin


    然后你单独测试个附件上传看看是否能上传成功,就像这样

    CleanShot20240910162455@2x.png

    作者追问:2024-09-10 16:26

    c89cf612965fc86e7d513abf1d47f20d.pngminio没报错啊

    回答: 2024-09-10 16:29

    单独创建一个大屏,就放一个组件,然后点击配置看看是否会报错。

    还有一个是jdk17有add-opens操作要做,看看是否已经添加,具体配置可以看这里:https://www.kancloud.cn/smallchill/blade/3197986


    作者追问:2024-09-10 16:56

    一个组件没事 可以正常保存

    回答: 2024-09-10 17:00

    多测试几个组件,多加点然后保存看看。等什么时候报错了,右上角导出json发我们邮箱,我们安排技术排查。我们的邮箱:bladejava@qq.com

    CleanShot20240910165850@2x.png

    0 讨论(0)
  • 2024-09-10 17:10

    "{\n    \"detail\": {\n        \"width\": 1920,\n        \"height\": 1080,\n        \"query\": \"function(){\\n    return window.$glob.params || {}\\n}\",\n        \"header\": \"function(){\\n    return window.$glob.params || {}\\n}\",\n        \"screen\": \"x\",\n        \"group\": [\n            {\n                \"name\": \"主屏幕\",\n                \"id\": \"\",\n                \"isname\": false\n            }\n        ],\n        \"glob\": [],\n        \"theme\": {\n            \"1\": {\n                \"id\": 1,\n                \"name\": \"明亮\",\n                \"color\": [\n                    \"rgb(73, 146, 255)\",\n                    \"rgb(124, 255, 178)\",\n                    \"rgb(253, 221, 96)\",\n                    \"rgb(255, 110, 118)\",\n                    \"rgb(88, 217, 249)\",\n                    \"rgb(5, 192, 145)\"\n                ],\n                \"data\": []\n            },\n            \"2\": {\n                \"id\": 2,\n                \"name\": \"暗淡\",\n                \"color\": [\n                    \"rgb(84, 112, 198)\",\n                    \"rgb(145, 204, 117)\",\n                    \"rgb(250, 200, 88)\",\n                    \"rgb(238, 102, 102)\",\n                    \"rgb(115, 192, 222)\",\n                    \"rgb(59, 162, 114)\"\n                ],\n                \"data\": []\n            },\n            \"3\": {\n                \"id\": 3,\n                \"name\": \"马卡龙\",\n                \"color\": [\n                    \"rgb(46, 199, 201)\",\n                    \"rgb(182, 162, 222)\",\n                    \"rgb(90, 177, 239)\",\n                    \"rgb(255, 185, 128)\",\n                    \"rgb(216, 122, 128)\",\n                    \"rgb(141, 152, 179)\"\n                ],\n                \"data\": []\n            },\n            \"4\": {\n                \"id\": 4,\n                \"name\": \"深色\",\n                \"color\": [\n                    \"rgb(193, 46, 52)\",\n                    \"rgb(230, 182, 0)\",\n                    \"rgb(0, 152, 217)\",\n                    \"rgb(43, 130, 29)\",\n                    \"rgb(0, 94, 170)\",\n                    \"rgb(51, 156, 168)\"\n                ],\n                \"data\": []\n            },\n            \"5\": {\n                \"id\": 5,\n                \"name\": \"罗马红\",\n                \"color\": [\n                    \"rgb(224, 31, 84)\",\n                    \"rgb(94, 78, 165)\",\n                    \"rgb(245, 232, 200)\",\n                    \"rgb(184, 210, 199)\",\n                    \"rgb(198, 179, 142)\",\n                    \"rgb(164, 216, 194)\"\n                ],\n                \"data\": []\n            }\n        },\n        \"themeId\": \"\",\n        \"filters\": {},\n        \"funcs\": {},\n        \"style\": \"\",\n        \"before\": \"\",\n        \"overflow\": false,\n        \"styles\": {\n            \"show\": false,\n            \"contrast\": 100,\n            \"saturate\": 100,\n            \"brightness\": 100,\n            \"opacity\": 100,\n            \"grayscale\": 0,\n            \"hueRotate\": 0,\n            \"invert\": 0,\n            \"blur\": 0\n        },\n        \"fonts\": [],\n        \"mark\": {\n            \"show\": false,\n            \"text\": \"\",\n            \"fontSize\": 20,\n            \"color\": \"rgba(100,100,100,0.2)\",\n            \"degree\": -20\n        },\n        \"version\": \"\",\n        \"scale\": 1,\n        \"backgroundImage\": \"/img/bg/bg.png\",\n        \"url\": \"\",\n        \"toolShow\": true,\n        \"gradeShow\": false,\n        \"gradeLen\": 30,\n        \"name\": \"34343\"\n    },\n    \"component\": [\n        {\n            \"name\": \"数据集\",\n            \"title\": \"数据集\",\n            \"icon\": \"icon-public\",\n            \"img\": \"/img/assets/public.png\",\n            \"dataType\": 0,\n            \"data\": {},\n            \"dataFormatter\": \"\",\n            \"dataHeader\": \"\",\n            \"dataQuery\": \"\",\n            \"component\": {\n                \"width\": 100,\n                \"height\": 100,\n                \"name\": \"data\",\n                \"prop\": \"data\"\n            },\n            \"option\": {},\n            \"left\": 0,\n            \"top\": 0,\n            \"index\": \"127da8e8-7a9d-4f7e-8314-33bc61a0bdab\",\n            \"display\": false,\n            \"lock\": false,\n            \"group\": \"\",\n            \"zIndex\": 5,\n            \"child\": {}\n        },\n        {\n            \"name\": \"自定义源码组件\",\n            \"title\": \"自定义源码组件\",\n            \"icon\": \"icon-vue\",\n            \"img\": \"/img/assets/test.png\",\n            \"dataType\": 0,\n            \"data\": [],\n            \"dataFormatter\": \"\",\n            \"dataHeader\": \"\",\n            \"dataQuery\": \"\",\n            \"stylesFormatter\": \"\",\n            \"component\": {\n                \"width\": 800,\n                \"height\": 500,\n                \"name\": \"test\",\n                \"prop\": \"test\"\n            },\n            \"option\": {\n                \"fontSize\": 20\n            },\n            \"left\": 0,\n            \"top\": 0,\n            \"index\": \"8d9e8665-c65c-4be9-98c3-48d8a4dadc3f\",\n            \"display\": false,\n            \"lock\": false,\n            \"group\": \"\",\n            \"zIndex\": 4,\n            \"child\": {}\n        },\n        {\n            \"name\": \"全屏组件\",\n            \"title\": \"全屏组件\",\n            \"icon\": \"icon-fullscreen\",\n            \"img\": \"/img/assets/fullscreen.png\",\n            \"dataType\": 0,\n            \"data\": [],\n            \"dataFormatter\": \"\",\n            \"dataHeader\": \"\",\n            \"dataQuery\": \"\",\n            \"stylesFormatter\": \"\",\n            \"component\": {\n                \"width\": 100,\n                \"height\": 50,\n                \"name\": \"fullscreen\",\n                \"prop\": \"fullscreen\"\n            },\n            \"option\": {\n                \"color\": \"#fff\",\n                \"fontSize\": 14\n            },\n            \"left\": 0,\n            \"top\": 0,\n            \"index\": \"21304a3c-9a19-4535-99f2-69a7c94e9d6e\",\n            \"display\": false,\n            \"lock\": false,\n            \"group\": \"\",\n            \"zIndex\": 3,\n            \"child\": {}\n        },\n        {\n            \"name\": \"消息推送\",\n            \"title\": \"消息推送\",\n            \"icon\": \"icon-time\",\n            \"img\": \"/img/assets/notice.png\",\n            \"component\": {\n                \"width\": 100,\n                \"height\": 100,\n                \"name\": \"notice\",\n                \"prop\": \"notice\"\n            },\n            \"option\": {\n                \"time\": 0\n            },\n            \"left\": 0,\n            \"top\": 0,\n            \"index\": \"a5243ff3-c45b-4b30-86db-3f8bd967fdca\",\n            \"display\": false,\n            \"lock\": false,\n            \"group\": \"\",\n            \"zIndex\": 2,\n            \"child\": {}\n        },\n        {\n            \"name\": \"组件融合\",\n            \"title\": \"组件融合\",\n            \"icon\": \"icon-group\",\n            \"img\": \"/img/assets/group.png\",\n            \"dataType\": 0,\n            \"data\": [],\n            \"dataFormatter\": \"\",\n            \"dataHeader\": \"\",\n            \"dataQuery\": \"\",\n            \"stylesFormatter\": \"\",\n            \"component\": {\n                \"scale\": 0.5,\n                \"width\": 500,\n                \"height\": 500,\n                \"name\": \"group\",\n                \"prop\": \"group\"\n            },\n            \"option\": {\n                \"remote\": false,\n                \"content\": \"[{\\n    \\\"title\\\": \\\"文本框\\\",\\n    \\\"name\\\": \\\"文本框\\\",\\n    \\\"icon\\\": \\\"icon-text\\\",\\n    \\\"img\\\": \\\"/img/assets/text.png\\\",\\n    \\\"dataType\\\": 0,\\n    \\\"dataFormatter\\\": \\\"\\\",\\n    \\\"dataHeader\\\": \\\"\\\",\\n    \\\"dataQuery\\\": \\\"\\\",\\n    \\\"stylesFormatter\\\": \\\"\\\",\\n    \\\"child\\\": {\\n        \\\"index\\\": [],\\n        \\\"paramList\\\": []\\n    },\\n    \\\"data\\\": {\\n        \\\"value\\\": \\\"文本框\\\"\\n    },\\n    \\\"component\\\": {\\n        \\\"width\\\": 100,\\n        \\\"height\\\": 40,\\n        \\\"name\\\": \\\"text\\\",\\n        \\\"prop\\\": \\\"text\\\",\\n        \\\"perspective\\\": 0,\\n        \\\"opacity\\\": 0,\\n        \\\"rotateX\\\": 0,\\n        \\\"rotateY\\\": 0,\\n        \\\"rotateZ\\\": 0\\n    },\\n    \\\"option\\\": {\\n        \\\"textAlign\\\": \\\"center\\\",\\n        \\\"fontSize\\\": 26,\\n        \\\"fontWeight\\\": \\\"normal\\\",\\n        \\\"color\\\": \\\"#fff\\\"\\n    },\\n    \\\"left\\\": 0,\\n    \\\"top\\\": 0,\\n    \\\"index\\\": \\\"eba3a6c8-f48e-471d-b9b0-829e34565365\\\",\\n    \\\"display\\\": false,\\n    \\\"lock\\\": false,\\n    \\\"group\\\": \\\"\\\",\\n    \\\"zIndex\\\": 1\\n}]\",\n                \"id\": \"\"\n            },\n            \"left\": 0,\n            \"top\": 0,\n            \"index\": \"95fa020d-75dc-439c-83b9-c92a4fcb3a61\",\n            \"display\": false,\n            \"lock\": false,\n            \"group\": \"\",\n            \"zIndex\": 1,\n            \"child\": {}\n        },\n        {\n            \"name\": \"自定义Vue组件\",\n            \"title\": \"自定义Vue组件\",\n            \"icon\": \"icon-vue\",\n            \"img\": \"/img/assets/text4.png\",\n            \"dataType\": 0,\n            \"data\": {\n                \"name\": \"avue\"\n            },\n            \"dataFormatter\": \"\",\n            \"dataHeader\": \"\",\n            \"dataQuery\": \"\",\n            \"stylesFormatter\": \"\",\n            \"component\": {\n                \"width\": 800,\n                \"height\": 500,\n                \"name\": \"vue\",\n                \"prop\": \"vue\",\n                \"remoteContent\": \"<template>\\n    <div class=\\\"test\\\">\\n        <h1 @click=\\\"handleClick\\\">{{dataChart}}<h1>\\n    </div>\\n</template>\\n<script>\\nexport default{\\n    data(){\\n        return{\\n            \\n        }\\n    },\\n    created(){\\n        console.log(this.refList);\\n    },\\n    methods:{\\n        handleClick(){\\n            this.$message.success(this.dataChart.name)\\n        }\\n    }\\n}\\n</script>\\n<style>\\n    .test{\\n        text-align:center;\\n        color:red;\\n        font-size:40px;\\n    }\\n</style>\"\n            },\n            \"option\": {\n                \"remote\": false,\n                \"content\": \"<template>\\n    <div class=\\\"test\\\">\\n        <h1 @click=\\\"handleClick\\\">{{dataChart}}<h1>\\n    </div>\\n</template>\\n<script>\\nexport default{\\n    data(){\\n        return{\\n            \\n        }\\n    },\\n    created(){\\n        console.log(this.refList);\\n    },\\n    methods:{\\n        handleClick(){\\n            this.$message.success(this.dataChart.name)\\n        }\\n    }\\n}\\n</script>\\n<style>\\n    .test{\\n        text-align:center;\\n        color:red;\\n        font-size:40px;\\n    }\\n</style>\",\n                \"src\": \"/vue-remote-temp.js\"\n            },\n            \"left\": 0,\n            \"top\": 0,\n            \"index\": \"e89be049-74fa-4896-9dab-a91d6e0202ce\",\n            \"display\": false,\n            \"lock\": false,\n            \"group\": \"\",\n            \"zIndex\": 0,\n            \"child\": {}\n        }\n    ]\n}"

    回答: 2024-09-10 17:11

    报错了 发给你了

    作者追问:2024-09-10 17:21

    点击‘导出配置’按钮,然后把下载的.json格式结尾的文件发我们邮箱 bladejava@qq.com

    回答: 2024-09-11 10:38

    经排查自定义vue组件配置中写<script></script>就保存不了 去掉的话 配置又不会生效

    作者追问:2024-09-11 10:52

    在后端配置文件给提交的后端接口地址配置一个xss过滤,skip-url加上对应的保存地址

    QQ图片20200613235604.png

    回答: 2024-09-12 10:57

    都是放开的 不行

    回答: 2024-09-12 11:04

    2024-09-12T11:03:19.535+08:00 ERROR 16016 --- [blade-data-server] [  XNIO-1 task-2] o.s.c.l.e.BladeRestExceptionTranslator   : 消息不能读取:Required request body is missing: public org.springblade.core.tool.api.R org.springblade.modules.visual.controller.VisualController.update(org.springblade.modules.visual.pojo.dto.VisualDTO)

    作者追问:2024-09-12 15:02

    这里打断点看看进的是哪个,通过配置不要让他进最后一个就不会有xss拦截过滤的问题

    CleanShot20240912150059@2x.png

    回答: 2024-09-13 16:46

    在IDEA上部署的后端就可以正常保存 同样的JAR 同样的JAVA环境 放到服务器上就不行了 就报上面那个错

    0 讨论(0)
提交回复