2.2K Star 15.8K Fork 9.5K

JEECG / jeecg-boot

 / 详情

presto数据源配置后使用报错

已完成
创建于  
2021-09-23 11:41
版本号:

2.4.6

问题描述:

presto数据源配置后使用报错

截图&代码:

使用数据库工具可正常查询presto数据源数据:
使用数据库工具可正常查询presto数据源数据
presto数据库配置后、测试成功:
presto数据库配置后、测试成功
online报表配置presto数据源,查询报错:
online报表配置presto数据源,查询报错
错误日志:


2021-09-24 15:51:11.455 [http-nio-8080-exec-1] INFO  org.jeecg.modules.online.cgreport.a.b:84 - Online报表,sql解析:select * from pgsql_local.public.weather
2021-09-24 15:51:11.455 [http-nio-8080-exec-1] DEBUG org.mybatis.spring.SqlSessionUtils:49 - Creating a new SqlSession
2021-09-24 15:51:11.456 [http-nio-8080-exec-1] DEBUG org.mybatis.spring.SqlSessionUtils:49 - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1877b08a] was not registered for synchronization because synchronization is not active
2021-09-24 15:51:11.456 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:33 - ------sqlId------org.jeecg.modules.base.mapper.BaseCommonMapper.saveLog
2021-09-24 15:51:11.456 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:36 - ------sqlCommandType------INSERT
2021-09-24 15:51:11.457 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------serialVersionUID
2021-09-24 15:51:11.457 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------serialVersionUID
2021-09-24 15:51:11.457 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------DEFAULT_INITIAL_CAPACITY
2021-09-24 15:51:11.457 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------MAXIMUM_CAPACITY
2021-09-24 15:51:11.457 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------DEFAULT_LOAD_FACTOR
2021-09-24 15:51:11.457 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------TREEIFY_THRESHOLD
2021-09-24 15:51:11.458 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------UNTREEIFY_THRESHOLD
2021-09-24 15:51:11.458 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------MIN_TREEIFY_CAPACITY
2021-09-24 15:51:11.458 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------table
2021-09-24 15:51:11.458 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------entrySet
2021-09-24 15:51:11.458 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------size
2021-09-24 15:51:11.458 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------modCount
2021-09-24 15:51:11.459 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------threshold
2021-09-24 15:51:11.459 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------loadFactor
2021-09-24 15:51:11.459 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------keySet
2021-09-24 15:51:11.459 [http-nio-8080-exec-1] DEBUG org.jeecg.config.mybatis.MybatisInterceptor:45 - ------field.name------values
2021-09-24 15:51:11.459 [http-nio-8080-exec-1] DEBUG o.springframework.jdbc.datasource.DataSourceUtils:115 - Fetching JDBC Connection from DataSource
2021-09-24 15:51:11.460 [http-nio-8080-exec-1] DEBUG c.b.dynamic.datasource.DynamicRoutingDataSource:78 - dynamic-datasource switch to the primary datasource
2021-09-24 15:51:11.460 [http-nio-8080-exec-1] DEBUG druid.sql.Connection:129 - {conn-10007} pool-connect
2021-09-24 15:51:11.460 [http-nio-8080-exec-1] DEBUG o.m.spring.transaction.SpringManagedTransaction:49 - JDBC Connection [com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl@70e366e0] will not be managed by Spring
2021-09-24 15:51:11.461 [http-nio-8080-exec-1] DEBUG o.j.modules.base.mapper.BaseCommonMapper.saveLog:137 - ==>  Preparing: insert into sys_log (id, log_type, log_content, method, operate_type, request_param, ip, userid, username, cost_time, create_time) values( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2021-09-24 15:51:11.461 [http-nio-8080-exec-1] DEBUG druid.sql.Statement:134 - {conn-10007, pstmt-20024} created. insert into sys_log (id, log_type, log_content, method, operate_type, request_param, ip, userid, username, cost_time, create_time)
        values(
            ?,
            ?,
            ?,
            ?,
            ?,
            ?,
            ?,
            ?,
            ?,
            ?,
            ?
        )
2021-09-24 15:51:11.462 [http-nio-8080-exec-1] DEBUG o.j.modules.base.mapper.BaseCommonMapper.saveLog:137 - ==> Parameters: 1441309222149488641(String), 2(Integer), Online报表,sql解析:select * from pgsql_local.public.weather(String), null, 2(Integer), null, 0:0:0:0:0:0:0:1(String), admin(String), 管理员(String), null, 2021-09-24 15:51:11.455(Timestamp)
2021-09-24 15:51:11.462 [http-nio-8080-exec-1] DEBUG druid.sql.Statement:134 - {conn-10007, pstmt-20024} Parameters : [1441309222149488641, 2, Online报表,sql解析:select * from pgsql_local.public.weather, null, 2, null, 0:0:0:0:0:0:0:1, admin, 管理员, null, 2021-09-24 15:51:11.455]
2021-09-24 15:51:11.463 [http-nio-8080-exec-1] DEBUG druid.sql.Statement:134 - {conn-10007, pstmt-20024} Types : [VARCHAR, INTEGER, VARCHAR, VARCHAR, INTEGER, VARCHAR, VARCHAR, VARCHAR, VARCHAR, BIGINT, TIMESTAMP]
2021-09-24 15:51:11.572 [http-nio-8080-exec-1] DEBUG druid.sql.Statement:134 - {conn-10007, pstmt-20024} executed. 109.4054 millis. insert into sys_log (id, log_type, log_content, method, operate_type, request_param, ip, userid, username, cost_time, create_time)
        values(
            ?,
            ?,
            ?,
            ?,
            ?,
            ?,
            ?,
            ?,
            ?,
            ?,
            ?
        )
2021-09-24 15:51:11.574 [http-nio-8080-exec-1] DEBUG o.j.modules.base.mapper.BaseCommonMapper.saveLog:137 - <==    Updates: 1
2021-09-24 15:51:11.576 [http-nio-8080-exec-1] DEBUG druid.sql.Statement:134 - {conn-10007, pstmt-20024} clearParameters. 
2021-09-24 15:51:11.589 [http-nio-8080-exec-1] DEBUG com.alibaba.druid.pool.PreparedStatementPool:129 - {conn-10007, pstmt-20024} enter cache
2021-09-24 15:51:11.589 [http-nio-8080-exec-1] DEBUG org.mybatis.spring.SqlSessionUtils:49 - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1877b08a]
2021-09-24 15:51:11.590 [http-nio-8080-exec-1] DEBUG druid.sql.Connection:129 - {conn-10007} pool-recycle
2021-09-24 15:51:11.597 [http-nio-8080-exec-1] INFO  org.jeecg.modules.online.cgreport.service.a.c:401 - parse sql : select * from pgsql_local.public.weather
2021-09-24 15:51:11.598 [http-nio-8080-exec-1] DEBUG o.s.data.redis.core.RedisConnectionUtils:131 - Opening RedisConnection
2021-09-24 15:51:11.598 [http-nio-8080-exec-1] DEBUG io.lettuce.core.RedisChannelHandler:179 - dispatching command AsyncCommand [type=EXISTS, output=IntegerOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
2021-09-24 15:51:11.599 [http-nio-8080-exec-1] DEBUG io.lettuce.core.protocol.DefaultEndpoint:389 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, epid=0x1] write() writeAndFlush command AsyncCommand [type=EXISTS, output=IntegerOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
2021-09-24 15:51:11.599 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler:374 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, chid=0x1] write(ctx, AsyncCommand [type=EXISTS, output=IntegerOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command], promise)
2021-09-24 15:51:11.599 [http-nio-8080-exec-1] DEBUG io.lettuce.core.protocol.DefaultEndpoint:173 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, epid=0x1] write() done
2021-09-24 15:51:11.599 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandEncoder:101 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379] writing command AsyncCommand [type=EXISTS, output=IntegerOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
2021-09-24 15:51:11.600 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler:570 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, chid=0x1] Received: 4 bytes, 1 commands in the stack
2021-09-24 15:51:11.600 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler:616 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, chid=0x1] Stack contains: 1 commands
2021-09-24 15:51:11.600 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.RedisStateMachine:131 - Decode LatencyMeteredCommand [type=EXISTS, output=IntegerOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.AsyncCommand]
2021-09-24 15:51:11.600 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.RedisStateMachine:145 - Decoded LatencyMeteredCommand [type=EXISTS, output=IntegerOutput [output=1, error='null'], commandType=io.lettuce.core.protocol.AsyncCommand], empty stack: true
2021-09-24 15:51:11.600 [http-nio-8080-exec-1] DEBUG o.s.data.redis.core.RedisConnectionUtils:290 - Closing Redis Connection.
2021-09-24 15:51:11.601 [http-nio-8080-exec-1] DEBUG o.s.data.redis.core.RedisConnectionUtils:131 - Opening RedisConnection
2021-09-24 15:51:11.601 [http-nio-8080-exec-1] DEBUG io.lettuce.core.RedisChannelHandler:179 - dispatching command AsyncCommand [type=GET, output=ValueOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
2021-09-24 15:51:11.601 [http-nio-8080-exec-1] DEBUG io.lettuce.core.protocol.DefaultEndpoint:389 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, epid=0x1] write() writeAndFlush command AsyncCommand [type=GET, output=ValueOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
2021-09-24 15:51:11.602 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler:374 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, chid=0x1] write(ctx, AsyncCommand [type=GET, output=ValueOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command], promise)
2021-09-24 15:51:11.602 [http-nio-8080-exec-1] DEBUG io.lettuce.core.protocol.DefaultEndpoint:173 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, epid=0x1] write() done
2021-09-24 15:51:11.602 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandEncoder:101 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379] writing command AsyncCommand [type=GET, output=ValueOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
2021-09-24 15:51:11.602 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler:570 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, chid=0x1] Received: 268 bytes, 1 commands in the stack
2021-09-24 15:51:11.602 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler:616 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, chid=0x1] Stack contains: 1 commands
2021-09-24 15:51:11.603 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.RedisStateMachine:131 - Decode LatencyMeteredCommand [type=GET, output=ValueOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.AsyncCommand]
2021-09-24 15:51:11.603 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.RedisStateMachine:145 - Decoded LatencyMeteredCommand [type=GET, output=ValueOutput [output=[B@4dcf1178, error='null'], commandType=io.lettuce.core.protocol.AsyncCommand], empty stack: true
2021-09-24 15:51:11.604 [http-nio-8080-exec-1] DEBUG o.s.data.redis.core.RedisConnectionUtils:290 - Closing Redis Connection.
2021-09-24 15:51:11.615 [http-nio-8080-exec-1] DEBUG o.s.data.redis.core.RedisConnectionUtils:131 - Opening RedisConnection
2021-09-24 15:51:11.624 [http-nio-8080-exec-1] DEBUG io.lettuce.core.RedisChannelHandler:179 - dispatching command AsyncCommand [type=EXISTS, output=IntegerOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
2021-09-24 15:51:11.638 [http-nio-8080-exec-1] DEBUG io.lettuce.core.protocol.DefaultEndpoint:389 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, epid=0x1] write() writeAndFlush command AsyncCommand [type=EXISTS, output=IntegerOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
2021-09-24 15:51:11.640 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler:374 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, chid=0x1] write(ctx, AsyncCommand [type=EXISTS, output=IntegerOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command], promise)
2021-09-24 15:51:11.640 [http-nio-8080-exec-1] DEBUG io.lettuce.core.protocol.DefaultEndpoint:173 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, epid=0x1] write() done
2021-09-24 15:51:11.641 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandEncoder:101 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379] writing command AsyncCommand [type=EXISTS, output=IntegerOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
2021-09-24 15:51:11.641 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler:570 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, chid=0x1] Received: 4 bytes, 1 commands in the stack
2021-09-24 15:51:11.641 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler:616 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, chid=0x1] Stack contains: 1 commands
2021-09-24 15:51:11.642 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.RedisStateMachine:131 - Decode LatencyMeteredCommand [type=EXISTS, output=IntegerOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.AsyncCommand]
2021-09-24 15:51:11.642 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.RedisStateMachine:145 - Decoded LatencyMeteredCommand [type=EXISTS, output=IntegerOutput [output=1, error='null'], commandType=io.lettuce.core.protocol.AsyncCommand], empty stack: true
2021-09-24 15:51:11.642 [http-nio-8080-exec-1] DEBUG o.s.data.redis.core.RedisConnectionUtils:290 - Closing Redis Connection.
2021-09-24 15:51:11.642 [http-nio-8080-exec-1] DEBUG o.s.data.redis.core.RedisConnectionUtils:131 - Opening RedisConnection
2021-09-24 15:51:11.643 [http-nio-8080-exec-1] DEBUG io.lettuce.core.RedisChannelHandler:179 - dispatching command AsyncCommand [type=GET, output=ValueOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
2021-09-24 15:51:11.646 [http-nio-8080-exec-1] DEBUG io.lettuce.core.protocol.DefaultEndpoint:389 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, epid=0x1] write() writeAndFlush command AsyncCommand [type=GET, output=ValueOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
2021-09-24 15:51:11.656 [http-nio-8080-exec-1] DEBUG io.lettuce.core.protocol.DefaultEndpoint:173 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, epid=0x1] write() done
2021-09-24 15:51:11.657 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler:374 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, chid=0x1] write(ctx, AsyncCommand [type=GET, output=ValueOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command], promise)
2021-09-24 15:51:11.657 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandEncoder:101 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379] writing command AsyncCommand [type=GET, output=ValueOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
2021-09-24 15:51:11.658 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler:570 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, chid=0x1] Received: 268 bytes, 1 commands in the stack
2021-09-24 15:51:11.658 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler:616 - [channel=0x25290064, /127.0.0.1:63231 -> /127.0.0.1:6379, chid=0x1] Stack contains: 1 commands
2021-09-24 15:51:11.659 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.RedisStateMachine:131 - Decode LatencyMeteredCommand [type=GET, output=ValueOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.AsyncCommand]
2021-09-24 15:51:11.659 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.RedisStateMachine:145 - Decoded LatencyMeteredCommand [type=GET, output=ValueOutput [output=[B@4c4de323, error='null'], commandType=io.lettuce.core.protocol.AsyncCommand], empty stack: true
2021-09-24 15:51:11.659 [http-nio-8080-exec-1] DEBUG o.s.data.redis.core.RedisConnectionUtils:290 - Closing Redis Connection.
2021-09-24 15:51:11.660 [http-nio-8080-exec-1] WARN  c.baomidou.mybatisplus.extension.toolkit.JdbcUtils:107 - The jdbcUrl is jdbc:presto://172.30.3.243:7000, Mybatis Plus Cannot Read Database type or The Database's Not Supported!
2021-09-24 15:51:11.663 [http-nio-8080-exec-1] ERROR org.jeecg.modules.online.cgreport.a.b:114 - null
java.lang.NullPointerException: null
	at org.jeecg.modules.online.cgreport.util.CgReportSqlUtil.a(CgReportSqlUtil.java:266)
	at org.jeecg.modules.online.cgreport.service.a.c.a(OnlCgreportHeadServiceImpl.java:424)
	at org.jeecg.modules.online.cgreport.service.a.c.getSqlFields(OnlCgreportHeadServiceImpl.java:342)
	at org.jeecg.modules.online.cgreport.service.a.c$$FastClassBySpringCGLIB$$463987d1.invoke(<generated>)
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687)
	at org.jeecg.modules.online.cgreport.service.a.c$$EnhancerBySpringCGLIB$$9b626393.getSqlFields(<generated>)
	at org.jeecg.modules.online.cgreport.a.b.a(OnlCgreportHeadController.java:88)
	at org.jeecg.modules.online.cgreport.a.b$$FastClassBySpringCGLIB$$a976ee89.invoke(<generated>)
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687)
	at org.jeecg.modules.online.cgreport.a.b$$EnhancerBySpringCGLIB$$b18cb595.a(<generated>)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792)
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:450)
	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:92)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:88)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:93)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
2021-09-24 15:51:11.684 [http-nio-8080-exec-1] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver:398 - Using @ExceptionHandler org.jeecg.common.exception.JeecgBootExceptionHandler#handleException(Exception)
2021-09-24 15:51:11.685 [http-nio-8080-exec-1] ERROR o.jeecg.common.exception.JeecgBootExceptionHandler:57 - null
java.lang.NullPointerException: null
	at org.jeecg.modules.online.cgreport.a.b.a(OnlCgreportHeadController.java:116)
	at org.jeecg.modules.online.cgreport.a.b$$FastClassBySpringCGLIB$$a976ee89.invoke(<generated>)
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687)
	at org.jeecg.modules.online.cgreport.a.b$$EnhancerBySpringCGLIB$$b18cb595.a(<generated>)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792)
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:450)
	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:92)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:88)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:93)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
2021-09-24 15:51:11.690 [http-nio-8080-exec-1] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor:255 - Using 'application/json', given [application/json, text/plain, */*] and supported [application/json, application/*+json, application/json, application/*+json, application/json, application/*+json]
2021-09-24 15:51:11.691 [http-nio-8080-exec-1] DEBUG o.s.w.s.m.m.a.RequestResponseBodyMethodProcessor:91 - Writing [Result(success=false, message=操作失败,null, code=500, result=null, timestamp=1632469871690, onlTable=nu (truncated)...]
2021-09-24 15:51:11.693 [http-nio-8080-exec-1] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver:145 - Resolved [java.lang.NullPointerException]
2021-09-24 15:51:11.693 [http-nio-8080-exec-1] DEBUG org.springframework.web.servlet.DispatcherServlet:1131 - Completed 200 OK

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;

评论 (1)

白文忠 创建了任务
白文忠 修改了描述
白文忠 修改了描述
白文忠 修改了描述
展开全部操作日志

presto 没对接过,暂时不支持

JEECG 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
57093 jeecg 1662000782
Java
1
https://gitee.com/jeecg/jeecg-boot.git
git@gitee.com:jeecg/jeecg-boot.git
jeecg
jeecg-boot
jeecg-boot

搜索帮助