1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900 |
- 09:03:57.651 [http-nio-8080-exec-6] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] -
- ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Unknown column 't.textbook_id' in 'field list'
- ### The error may exist in file [D:\java\workplace\target\classes\mapper\textbook\TextbookMapper.xml]
- ### The error may involve com.xjrsoft.module.textbook.mapper.TextbookMapper.listTextbookClaimExportQuery-Inline
- ### The error occurred while setting parameters
- ### SQL: WITH textbook_class AS (SELECT t.class_id, t.textbook_id, t.base_semester_id, count(t.id) AS num, sum(t.is_claim) AS claimNum FROM wf_textbook_claim t LEFT JOIN wf_textbook_claim_item t1 ON t1.wf_textbook_claim_id = t.id LEFT JOIN textbook t2 ON t2.id = t1.textbook_id WHERE claim_type = 'claim_student' GROUP BY t.base_semester_id, t.class_id, t1.textbook_id) SELECT t.base_semester_id, t.class_id, t.textbook_id, t2.name AS textbookTypeCn, t1.book_name, t1.editor_in_chief, t1.publishing_house, t1.issn, t1.appraisal_price, t1.subtotal, t.num, t.claimNum FROM textbook_class t LEFT JOIN textbook t1 ON t1.id = t.textbook_id LEFT JOIN xjr_dictionary_detail t2 ON t2.code = t1.textbook_type
- ### Cause: java.sql.SQLSyntaxErrorException: Unknown column 't.textbook_id' in 'field list'
- ; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column 't.textbook_id' in 'field list'
- org.springframework.jdbc.BadSqlGrammarException:
- ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Unknown column 't.textbook_id' in 'field list'
- ### The error may exist in file [D:\java\workplace\target\classes\mapper\textbook\TextbookMapper.xml]
- ### The error may involve com.xjrsoft.module.textbook.mapper.TextbookMapper.listTextbookClaimExportQuery-Inline
- ### The error occurred while setting parameters
- ### SQL: WITH textbook_class AS (SELECT t.class_id, t.textbook_id, t.base_semester_id, count(t.id) AS num, sum(t.is_claim) AS claimNum FROM wf_textbook_claim t LEFT JOIN wf_textbook_claim_item t1 ON t1.wf_textbook_claim_id = t.id LEFT JOIN textbook t2 ON t2.id = t1.textbook_id WHERE claim_type = 'claim_student' GROUP BY t.base_semester_id, t.class_id, t1.textbook_id) SELECT t.base_semester_id, t.class_id, t.textbook_id, t2.name AS textbookTypeCn, t1.book_name, t1.editor_in_chief, t1.publishing_house, t1.issn, t1.appraisal_price, t1.subtotal, t.num, t.claimNum FROM textbook_class t LEFT JOIN textbook t1 ON t1.id = t.textbook_id LEFT JOIN xjr_dictionary_detail t2 ON t2.code = t1.textbook_type
- ### Cause: java.sql.SQLSyntaxErrorException: Unknown column 't.textbook_id' in 'field list'
- ; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column 't.textbook_id' in 'field list'
- at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
- at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70)
- at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:91)
- at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
- at com.sun.proxy.$Proxy140.selectList(Unknown Source)
- at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
- at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
- at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
- at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
- at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
- at com.sun.proxy.$Proxy324.listTextbookClaimExportQuery(Unknown Source)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl.listTextbookClaimExportQuery(TextbookServiceImpl.java:581)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$FastClassBySpringCGLIB$$f35afcd1.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
- at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
- at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$EnhancerBySpringCGLIB$$476265ab.listTextbookClaimExportQuery(<generated>)
- at com.xjrsoft.module.textbook.controller.TextbookController.textbookClaimExportQuery(TextbookController.java:281)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- 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:670)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- 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:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- Caused by: java.sql.SQLSyntaxErrorException: Unknown column 't.textbook_id' in 'field list'
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
- at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
- at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
- at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:497)
- at jdk.internal.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59)
- at com.sun.proxy.$Proxy172.execute(Unknown Source)
- at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
- at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
- at jdk.internal.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
- at com.sun.proxy.$Proxy726.query(Unknown Source)
- at jdk.internal.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
- at com.sun.proxy.$Proxy726.query(Unknown Source)
- at jdk.internal.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
- at com.sun.proxy.$Proxy726.query(Unknown Source)
- at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
- at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
- at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy725.query(Unknown Source)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy725.query(Unknown Source)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy725.query(Unknown Source)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49)
- at com.github.yulichang.interceptor.MPJInterceptor.intercept(MPJInterceptor.java:78)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy725.query(Unknown Source)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
- ... 77 common frames omitted
- 15:07:25.792 [http-nio-8080-exec-2] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - null
- java.lang.NullPointerException: null
- at com.xjrsoft.module.textbook.controller.TextbookController.textbookSubscriptionExportQuery(TextbookController.java:197)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- 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:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- 15:39:21.316 [http-nio-8080-exec-2] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - null
- java.lang.NullPointerException: null
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$12.<init>(TextbookServiceImpl.java:643)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl.listTextbookClaimExportQuery(TextbookServiceImpl.java:628)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$FastClassBySpringCGLIB$$f35afcd1.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
- at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
- at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$EnhancerBySpringCGLIB$$268181bb.listTextbookClaimExportQuery(<generated>)
- at com.xjrsoft.module.textbook.controller.TextbookController.textbookClaimExportQuery(TextbookController.java:283)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- 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:670)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- 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:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- 15:43:54.163 [http-nio-8080-exec-6] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - nested exception is org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- order by t2.name desc
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- order by t2.name desc
- org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- order by t2.name desc
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- order by t2.name desc
- at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
- at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
- at com.sun.proxy.$Proxy140.selectList(Unknown Source)
- at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
- at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
- at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
- at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
- at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
- at com.sun.proxy.$Proxy332.listTextbookClaimExportQuery(Unknown Source)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl.listTextbookClaimExportQuery(TextbookServiceImpl.java:583)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$FastClassBySpringCGLIB$$f35afcd1.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
- at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
- at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$EnhancerBySpringCGLIB$$268181bb.listTextbookClaimExportQuery(<generated>)
- at com.xjrsoft.module.textbook.controller.TextbookController.textbookClaimExportQuery(TextbookController.java:283)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- 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:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- Caused by: org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- order by t2.name desc
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- order by t2.name desc
- at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:149)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
- at jdk.internal.reflect.GeneratedMethodAccessor545.invoke(Unknown Source)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
- ... 77 common frames omitted
- Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- order by t2.name desc
- at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
- at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
- at com.xjrsoft.common.interceptor.DataScopeInnerInterceptor.beforeQuery(DataScopeInnerInterceptor.java:52)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy730.query(Unknown Source)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy730.query(Unknown Source)
- at jdk.internal.reflect.GeneratedMethodAccessor546.invoke(Unknown Source)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49)
- at com.github.yulichang.interceptor.MPJInterceptor.intercept(MPJInterceptor.java:78)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy730.query(Unknown Source)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147)
- ... 82 common frames omitted
- Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "amd" <S_IDENTIFIER>
- at line 13, column 17.
- Was expecting one of:
- "&"
- ")"
- "::"
- "<<"
- ">>"
- "COLLATE"
- "CONNECT"
- "EMIT"
- "GROUP"
- "HAVING"
- "START"
- "["
- "^"
- "|"
- at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31234)
- at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31067)
- at net.sf.jsqlparser.parser.CCJSqlParser.WithItem(CCJSqlParser.java:6199)
- at net.sf.jsqlparser.parser.CCJSqlParser.WithList(CCJSqlParser.java:6131)
- at net.sf.jsqlparser.parser.CCJSqlParser.SingleStatement(CCJSqlParser.java:220)
- at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:153)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
- at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
- ... 97 common frames omitted
- 15:44:23.870 [http-nio-8080-exec-7] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - nested exception is org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- order by t2.name desc
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- order by t2.name desc
- org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- order by t2.name desc
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- order by t2.name desc
- at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:96)
- at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441)
- at com.sun.proxy.$Proxy140.selectList(Unknown Source)
- at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224)
- at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.executeForMany(MybatisMapperMethod.java:166)
- at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:77)
- at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:148)
- at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
- at com.sun.proxy.$Proxy332.listTextbookClaimExportQuery(Unknown Source)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl.listTextbookClaimExportQuery(TextbookServiceImpl.java:583)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$FastClassBySpringCGLIB$$f35afcd1.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
- at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
- at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$EnhancerBySpringCGLIB$$268181bb.listTextbookClaimExportQuery(<generated>)
- at com.xjrsoft.module.textbook.controller.TextbookController.textbookClaimExportQuery(TextbookController.java:283)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- 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:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- Caused by: org.apache.ibatis.exceptions.PersistenceException:
- ### Error querying database. Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- order by t2.name desc
- ### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- order by t2.name desc
- at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:149)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
- at jdk.internal.reflect.GeneratedMethodAccessor545.invoke(Unknown Source)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
- ... 77 common frames omitted
- Caused by: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: with textbook_class as (
- select
- t.base_semester_id,
- t.class_id,
- t1.textbook_id,
- sum(t2.stock) as num,
- sum(t1.issue_number) as claimNum
- from wf_textbook_claim t
- left join wf_textbook_claim_item t1 on t1.wf_textbook_claim_id = t.id
- left join textbook t2 on t2.id = t1.textbook_id
- where claim_type = 'claim_student'
-
- amd t.base_semester_id = ?
-
-
- and t.class_id = ?
-
-
- and t1.textbook_id = ?
-
- group by t.base_semester_id, t.class_id, t1.textbook_id
- )
- select
- t.base_semester_id,
- t.class_id,
- t.textbook_id,
- t2.name as textbookTypeCn,
- t1.book_name,
- t1.editor_in_chief,
- t1.publishing_house,
- t1.issn,
- t1.appraisal_price,
- t1.subtotal,
- t.num,
- t.claimNum
- from textbook_class t
- left join textbook t1 on t1.id = t.textbook_id
- left join xjr_dictionary_detail t2 on t2.code = t1.textbook_type
- WHERE t1.subject_group_id = ?
-
-
- and t1.course_subject_id = ?
- order by t2.name desc
- at com.baomidou.mybatisplus.core.toolkit.ExceptionUtils.mpe(ExceptionUtils.java:39)
- at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:52)
- at com.xjrsoft.common.interceptor.DataScopeInnerInterceptor.beforeQuery(DataScopeInnerInterceptor.java:52)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:78)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy730.query(Unknown Source)
- at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:81)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy730.query(Unknown Source)
- at jdk.internal.reflect.GeneratedMethodAccessor546.invoke(Unknown Source)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49)
- at com.github.yulichang.interceptor.MPJInterceptor.intercept(MPJInterceptor.java:78)
- at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
- at com.sun.proxy.$Proxy730.query(Unknown Source)
- at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147)
- ... 82 common frames omitted
- Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "amd" <S_IDENTIFIER>
- at line 13, column 17.
- Was expecting one of:
- "&"
- ")"
- "::"
- "<<"
- ">>"
- "COLLATE"
- "CONNECT"
- "EMIT"
- "GROUP"
- "HAVING"
- "START"
- "["
- "^"
- "|"
- at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:31234)
- at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:31067)
- at net.sf.jsqlparser.parser.CCJSqlParser.WithItem(CCJSqlParser.java:6199)
- at net.sf.jsqlparser.parser.CCJSqlParser.WithList(CCJSqlParser.java:6131)
- at net.sf.jsqlparser.parser.CCJSqlParser.SingleStatement(CCJSqlParser.java:220)
- at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:153)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parseStatement(CCJSqlParserUtil.java:188)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:63)
- at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:38)
- at com.baomidou.mybatisplus.extension.parser.JsqlParserSupport.parserSingle(JsqlParserSupport.java:49)
- ... 97 common frames omitted
- 16:17:02.727 [JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor]] ERROR c.a.d.util.JdbcUtils - [close,96] - close connection error
- java.sql.SQLNonTransientConnectionException: Communications link failure during rollback(). Transaction resolution unknown.
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
- at com.mysql.cj.jdbc.ConnectionImpl.rollback(ConnectionImpl.java:1835)
- at com.mysql.cj.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:1693)
- at com.mysql.cj.jdbc.ConnectionImpl.close(ConnectionImpl.java:713)
- at com.alibaba.druid.util.JdbcUtils.close(JdbcUtils.java:94)
- at com.alibaba.druid.pool.DruidDataSource.discardConnection(DruidDataSource.java:1528)
- at com.alibaba.druid.pool.DruidDataSource.handleFatalError(DruidDataSource.java:1846)
- at com.alibaba.druid.pool.DruidDataSource.handleConnectionException(DruidDataSource.java:1770)
- at com.alibaba.druid.pool.DruidPooledConnection.handleException(DruidPooledConnection.java:133)
- at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:717)
- at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:287)
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:400)
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
- at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137)
- at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:71)
- at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
- at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
- at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
- at org.camunda.bpm.engine.impl.interceptor.ExceptionCodeInterceptor.execute(ExceptionCodeInterceptor.java:55)
- at org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable.acquireJobs(SequentialJobAcquisitionRunnable.java:164)
- at org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable.run(SequentialJobAcquisitionRunnable.java:80)
- at java.base/java.lang.Thread.run(Thread.java:834)
- 16:17:02.728 [JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor]] ERROR c.a.d.p.DruidDataSource - [handleFatalError,1849] - discard connection
- com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- The last packet successfully received from the server was 39,174 milliseconds ago. The last packet sent successfully to the server was 39,180 milliseconds ago.
- at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
- at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2050)
- at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:713)
- at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:287)
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:400)
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
- at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137)
- at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:71)
- at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
- at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
- at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
- at org.camunda.bpm.engine.impl.interceptor.ExceptionCodeInterceptor.execute(ExceptionCodeInterceptor.java:55)
- at org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable.acquireJobs(SequentialJobAcquisitionRunnable.java:164)
- at org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable.run(SequentialJobAcquisitionRunnable.java:80)
- at java.base/java.lang.Thread.run(Thread.java:834)
- Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
- The last packet successfully received from the server was 39,174 milliseconds ago. The last packet sent successfully to the server was 39,180 milliseconds ago.
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
- at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
- at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:581)
- at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:761)
- at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:700)
- at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:1051)
- at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:997)
- at com.mysql.cj.NativeSession.execSQL(NativeSession.java:663)
- at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2033)
- ... 13 common frames omitted
- Caused by: java.net.SocketTimeoutException: Read timed out
- at java.base/java.net.SocketInputStream.socketRead0(Native Method)
- at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
- at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
- at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
- at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:484)
- at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:478)
- at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)
- at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1334)
- at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:977)
- at java.base/java.io.FilterInputStream.read(FilterInputStream.java:133)
- at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
- at com.mysql.cj.protocol.a.SimplePacketReader.readHeaderLocal(SimplePacketReader.java:81)
- at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
- at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
- at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
- at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
- at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
- at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
- at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:575)
- ... 19 common frames omitted
- 16:17:02.730 [JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor]] ERROR o.c.b.e.jobexecutor - [logError,215] - ENGINE-14019 Exception during job acquisition Could not open JDBC Connection for transaction; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- The last packet successfully received from the server was 39,174 milliseconds ago. The last packet sent successfully to the server was 39,180 milliseconds ago.
- org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- The last packet successfully received from the server was 39,174 milliseconds ago. The last packet sent successfully to the server was 39,180 milliseconds ago.
- at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:309)
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:400)
- at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
- at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137)
- at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:71)
- at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:70)
- at org.camunda.bpm.engine.impl.interceptor.CommandCounterInterceptor.execute(CommandCounterInterceptor.java:35)
- at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
- at org.camunda.bpm.engine.impl.interceptor.ExceptionCodeInterceptor.execute(ExceptionCodeInterceptor.java:55)
- at org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable.acquireJobs(SequentialJobAcquisitionRunnable.java:164)
- at org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable.run(SequentialJobAcquisitionRunnable.java:80)
- at java.base/java.lang.Thread.run(Thread.java:834)
- Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
- The last packet successfully received from the server was 39,174 milliseconds ago. The last packet sent successfully to the server was 39,180 milliseconds ago.
- at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
- at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2050)
- at com.alibaba.druid.pool.DruidPooledConnection.setAutoCommit(DruidPooledConnection.java:713)
- at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:287)
- ... 11 common frames omitted
- Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
- The last packet successfully received from the server was 39,174 milliseconds ago. The last packet sent successfully to the server was 39,180 milliseconds ago.
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
- at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
- at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:581)
- at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:761)
- at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:700)
- at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:1051)
- at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:997)
- at com.mysql.cj.NativeSession.execSQL(NativeSession.java:663)
- at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2033)
- ... 13 common frames omitted
- Caused by: java.net.SocketTimeoutException: Read timed out
- at java.base/java.net.SocketInputStream.socketRead0(Native Method)
- at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
- at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
- at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
- at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:484)
- at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:478)
- at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)
- at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1334)
- at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:977)
- at java.base/java.io.FilterInputStream.read(FilterInputStream.java:133)
- at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64)
- at com.mysql.cj.protocol.a.SimplePacketReader.readHeaderLocal(SimplePacketReader.java:81)
- at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63)
- at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45)
- at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52)
- at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41)
- at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54)
- at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44)
- at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:575)
- ... 19 common frames omitted
- 16:19:07.362 [Druid-ConnectionPool-Create-559126422] ERROR c.a.d.p.DruidDataSource - [run,2781] - create connection SQLException, url: jdbc:mysql://10.150.10.139:3306/tl?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&autoReconnect=true&failOverReadOnly=false, errorCode 0, state 08001
- java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73)
- at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:898)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:823)
- at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:448)
- at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:241)
- at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
- at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1644)
- at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1710)
- at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2779)
- Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
- at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
- at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89)
- at com.mysql.cj.NativeSession.connect(NativeSession.java:120)
- at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:842)
- ... 7 common frames omitted
- Caused by: java.net.ConnectException: Connection timed out: connect
- at java.base/java.net.PlainSocketImpl.connect0(Native Method)
- at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:101)
- at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
- at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
- at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
- at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.base/java.net.Socket.connect(Socket.java:608)
- at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:153)
- at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63)
- ... 9 common frames omitted
- 16:20:14.478 [Druid-ConnectionPool-Create-559126422] ERROR c.a.d.p.DruidDataSource - [run,2781] - create connection SQLException, url: jdbc:mysql://10.150.10.139:3306/tl?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&autoReconnect=true&failOverReadOnly=false, errorCode 0, state 08001
- java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73)
- at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:898)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:823)
- at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:448)
- at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:241)
- at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
- at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1644)
- at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1710)
- at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2779)
- Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
- at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
- at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89)
- at com.mysql.cj.NativeSession.connect(NativeSession.java:120)
- at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:842)
- ... 7 common frames omitted
- Caused by: java.net.ConnectException: Connection timed out: connect
- at java.base/java.net.PlainSocketImpl.connect0(Native Method)
- at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:101)
- at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
- at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
- at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
- at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.base/java.net.Socket.connect(Socket.java:608)
- at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:153)
- at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63)
- ... 9 common frames omitted
- 16:21:22.098 [Druid-ConnectionPool-Create-559126422] ERROR c.a.d.p.DruidDataSource - [run,2781] - create connection SQLException, url: jdbc:mysql://10.150.10.139:3306/tl?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&autoReconnect=true&failOverReadOnly=false, errorCode 0, state 08001
- java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73)
- at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:898)
- at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:823)
- at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:448)
- at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:241)
- at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
- at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1644)
- at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1710)
- at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2779)
- Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
- at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
- at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
- at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:89)
- at com.mysql.cj.NativeSession.connect(NativeSession.java:120)
- at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:842)
- ... 7 common frames omitted
- Caused by: java.net.ConnectException: Connection timed out: connect
- at java.base/java.net.PlainSocketImpl.connect0(Native Method)
- at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:101)
- at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
- at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
- at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
- at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.base/java.net.Socket.connect(Socket.java:608)
- at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:153)
- at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:63)
- ... 9 common frames omitted
- 17:29:55.213 [MQTT Ping: tl2ec10890d1e64fcc8d5718eea24af620] ERROR o.e.p.m.c.i.ClientState - [logToJsr47,210] - tl2ec10890d1e64fcc8d5718eea24af620: Timed out as no write activity, keepAlive=180,000,000,000 lastOutboundActivity=553,819,443,994,700 lastInboundActivity=554,234,406,415,900 time=554,234,406,951,000 lastPing=553,819,443,999,000
- 17:51:38.600 [MQTT Ping: tl433b85097d664fb19bcefcc30d8f456e] ERROR o.e.p.m.c.i.ClientState - [logToJsr47,210] - tl433b85097d664fb19bcefcc30d8f456e: Timed out as no write activity, keepAlive=180,000,000,000 lastOutboundActivity=554,784,700,232,200 lastInboundActivity=555,620,894,437,600 time=555,620,894,547,699 lastPing=0
- 18:14:53.237 [main] ERROR o.s.m.c.s.i.DefaultMagicResourceService - [onApplicationEvent,903] - 启动过程中发生异常
- org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'magicRequestMagicDynamicRegistry': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
- at org.springframework.context.event.ApplicationListenerMethodAdapter.getTargetBean(ApplicationListenerMethodAdapter.java:371)
- at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:336)
- at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:229)
- at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:166)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:391)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.lambda$read$6(DefaultMagicResourceService.java:181)
- at java.base/java.util.HashMap$Values.forEach(HashMap.java:977)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.lambda$read$7(DefaultMagicResourceService.java:179)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.writeLock(DefaultMagicResourceService.java:892)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.read(DefaultMagicResourceService.java:174)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.onApplicationEvent(DefaultMagicResourceService.java:901)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.onApplicationEvent(DefaultMagicResourceService.java:37)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)
- at org.springframework.boot.context.event.EventPublishingRunListener.started(EventPublishingRunListener.java:108)
- at org.springframework.boot.SpringApplicationRunListeners.lambda$started$5(SpringApplicationRunListeners.java:78)
- at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
- at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120)
- at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114)
- at org.springframework.boot.SpringApplicationRunListeners.started(SpringApplicationRunListeners.java:78)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295)
- at com.xjrsoft.XjrSoftApplication.main(XjrSoftApplication.java:19)
- 18:14:53.272 [main] ERROR o.s.b.SpringApplication - [reportFailure,824] - Application run failed
- org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'com.xjrsoft.common.runner.DataAuthRunner': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:673)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:661)
- at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1300)
- at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:748)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295)
- at com.xjrsoft.XjrSoftApplication.main(XjrSoftApplication.java:19)
- 18:49:02.103 [main] ERROR o.s.m.c.s.i.DefaultMagicResourceService - [onApplicationEvent,903] - 启动过程中发生异常
- org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'requestMappingHandlerMapping': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
- at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
- at org.springframework.context.annotation.ContextAnnotationAutowireCandidateResolver$1.getTarget(ContextAnnotationAutowireCandidateResolver.java:95)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping$$EnhancerBySpringCGLIB$$24178daa.getHandlerMethods(<generated>)
- at org.ssssssss.magicapi.utils.Mapping.getHandlerMethods(Mapping.java:73)
- at org.ssssssss.magicapi.core.service.impl.RequestMagicDynamicRegistry.register(RequestMagicDynamicRegistry.java:109)
- at org.ssssssss.magicapi.core.service.AbstractMagicDynamicRegistry.register(AbstractMagicDynamicRegistry.java:53)
- at org.ssssssss.magicapi.core.service.AbstractMagicDynamicRegistry.processEvent(AbstractMagicDynamicRegistry.java:78)
- at org.ssssssss.magicapi.core.service.impl.RequestMagicDynamicRegistry.onFileEvent(RequestMagicDynamicRegistry.java:89)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:344)
- at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:229)
- at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:166)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:391)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.lambda$read$6(DefaultMagicResourceService.java:181)
- at java.base/java.util.HashMap$Values.forEach(HashMap.java:977)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.lambda$read$7(DefaultMagicResourceService.java:179)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.writeLock(DefaultMagicResourceService.java:892)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.read(DefaultMagicResourceService.java:174)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.onApplicationEvent(DefaultMagicResourceService.java:901)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.onApplicationEvent(DefaultMagicResourceService.java:37)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)
- at org.springframework.boot.context.event.EventPublishingRunListener.started(EventPublishingRunListener.java:108)
- at org.springframework.boot.SpringApplicationRunListeners.lambda$started$5(SpringApplicationRunListeners.java:78)
- at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
- at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120)
- at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114)
- at org.springframework.boot.SpringApplicationRunListeners.started(SpringApplicationRunListeners.java:78)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295)
- at com.xjrsoft.XjrSoftApplication.main(XjrSoftApplication.java:19)
- 18:49:02.125 [main] ERROR o.s.b.SpringApplication - [reportFailure,824] - Application run failed
- org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'com.xjrsoft.common.runner.DataAuthRunner': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:673)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:661)
- at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1300)
- at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:748)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295)
- at com.xjrsoft.XjrSoftApplication.main(XjrSoftApplication.java:19)
- 19:15:03.663 [main] ERROR o.s.m.c.s.i.DefaultMagicResourceService - [onApplicationEvent,903] - 启动过程中发生异常
- org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'magicDatabaseBackupService': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
- at org.springframework.context.event.ApplicationListenerMethodAdapter.getTargetBean(ApplicationListenerMethodAdapter.java:371)
- at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:336)
- at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:229)
- at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:166)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:391)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.lambda$read$6(DefaultMagicResourceService.java:181)
- at java.base/java.util.HashMap$Values.forEach(HashMap.java:977)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.lambda$read$7(DefaultMagicResourceService.java:179)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.writeLock(DefaultMagicResourceService.java:892)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.read(DefaultMagicResourceService.java:174)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.onApplicationEvent(DefaultMagicResourceService.java:901)
- at org.ssssssss.magicapi.core.service.impl.DefaultMagicResourceService.onApplicationEvent(DefaultMagicResourceService.java:37)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)
- at org.springframework.boot.context.event.EventPublishingRunListener.started(EventPublishingRunListener.java:108)
- at org.springframework.boot.SpringApplicationRunListeners.lambda$started$5(SpringApplicationRunListeners.java:78)
- at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
- at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120)
- at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114)
- at org.springframework.boot.SpringApplicationRunListeners.started(SpringApplicationRunListeners.java:78)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295)
- at com.xjrsoft.XjrSoftApplication.main(XjrSoftApplication.java:19)
- 19:15:03.702 [main] ERROR o.s.b.SpringApplication - [reportFailure,824] - Application run failed
- org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'com.xjrsoft.common.runner.DataAuthRunner': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:673)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:661)
- at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1300)
- at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:748)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295)
- at com.xjrsoft.XjrSoftApplication.main(XjrSoftApplication.java:19)
- 20:06:53.254 [http-nio-8080-exec-3] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - null
- java.lang.NullPointerException: null
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl.listTextbookSubscriptionExportQuery(TextbookServiceImpl.java:561)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$FastClassBySpringCGLIB$$f35afcd1.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
- at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
- at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$EnhancerBySpringCGLIB$$fb6fc4fe.listTextbookSubscriptionExportQuery(<generated>)
- at com.xjrsoft.module.textbook.controller.TextbookController.textbookSubscriptionExportQuery(TextbookController.java:187)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- 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:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- 20:08:54.548 [http-nio-8080-exec-6] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - null
- java.lang.NullPointerException: null
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl.listTextbookSubscriptionExportQuery(TextbookServiceImpl.java:561)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$FastClassBySpringCGLIB$$f35afcd1.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
- at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
- at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$EnhancerBySpringCGLIB$$fb6fc4fe.listTextbookSubscriptionExportQuery(<generated>)
- at com.xjrsoft.module.textbook.controller.TextbookController.textbookSubscriptionExportQuery(TextbookController.java:187)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- 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:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- 20:09:37.277 [http-nio-8080-exec-1] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - null
- java.lang.NullPointerException: null
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl.listTextbookSubscriptionExportQuery(TextbookServiceImpl.java:561)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$FastClassBySpringCGLIB$$f35afcd1.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
- at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
- at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$EnhancerBySpringCGLIB$$fb6fc4fe.listTextbookSubscriptionExportQuery(<generated>)
- at com.xjrsoft.module.textbook.controller.TextbookController.textbookSubscriptionExportQuery(TextbookController.java:187)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- 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:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
- 20:10:58.402 [http-nio-8080-exec-9] ERROR c.x.c.e.GlobalExceptionHandler - [globalExceptionHandler,34] - null
- java.lang.NullPointerException: null
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl.listTextbookSubscriptionExportQuery(TextbookServiceImpl.java:561)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$FastClassBySpringCGLIB$$f35afcd1.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
- at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
- at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
- at com.xjrsoft.module.textbook.service.impl.TextbookServiceImpl$$EnhancerBySpringCGLIB$$fb6fc4fe.listTextbookSubscriptionExportQuery(<generated>)
- at com.xjrsoft.module.textbook.controller.TextbookController.textbookSubscriptionExportQuery(TextbookController.java:187)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.xjrsoft.common.xss.XssFilter.doFilter(XssFilter.java:28)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at cn.dev33.satoken.filter.SaServletFilter.doFilter(SaServletFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.ssssssss.magicapi.servlet.javaee.MagicJavaEECorsFilter.doFilter(MagicJavaEECorsFilter.java:15)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
- 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:360)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
- at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.base/java.lang.Thread.run(Thread.java:834)
|