java.sql.SQLException: 流已被关闭

GitHub | scofield-hello | 4 months ago
  1. 0

    java.sql.SQLException: Missing defines | Oracle Community

    oracle.com | 11 months ago
    java.sql.SQLException: Missing defines
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.sql.SQLException: Missing defines

    Oracle Community | 7 years ago | Nandagopal.S-Oracle
    java.sql.SQLException: Missing defines

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      流已被关闭

      at oracle.jdbc.driver.LongRawAccessor.getBytes()
    2. Oracle jdbc
      OracleResultSet.getBytes
      1. oracle.jdbc.driver.LongRawAccessor.getBytes(LongRawAccessor.java:162)
      2. oracle.jdbc.driver.OracleResultSetImpl.getBytes(OracleResultSetImpl.java:722)
      3. oracle.jdbc.driver.OracleResultSet.getBytes(OracleResultSet.java:398)
      3 frames
    3. druid
      DruidPooledResultSet.getBytes
      1. com.alibaba.druid.filter.FilterChainImpl.resultSet_getBytes(FilterChainImpl.java:885)
      2. com.alibaba.druid.filter.FilterAdapter.resultSet_getBytes(FilterAdapter.java:1521)
      3. com.alibaba.druid.filter.FilterChainImpl.resultSet_getBytes(FilterChainImpl.java:883)
      4. com.alibaba.druid.filter.stat.StatFilter.resultSet_getBytes(StatFilter.java:953)
      5. com.alibaba.druid.filter.FilterChainImpl.resultSet_getBytes(FilterChainImpl.java:883)
      6. com.alibaba.druid.proxy.jdbc.ResultSetProxyImpl.getBytes(ResultSetProxyImpl.java:341)
      7. com.alibaba.druid.pool.DruidPooledResultSet.getBytes(DruidPooledResultSet.java:339)
      7 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    5. MyBatis
      ResultSetLogger.invoke
      1. org.apache.ibatis.logging.jdbc.ResultSetLogger.invoke(ResultSetLogger.java:68)
      1 frame
    6. com.sun.proxy
      $Proxy107.getBytes
      1. com.sun.proxy.$Proxy107.getBytes(Unknown Source)
      1 frame
    7. MyBatis
      CachingExecutor.query
      1. org.apache.ibatis.type.ByteArrayTypeHandler.getNullableResult(ByteArrayTypeHandler.java:37)
      2. org.apache.ibatis.type.ByteArrayTypeHandler.getNullableResult(ByteArrayTypeHandler.java:26)
      3. org.apache.ibatis.type.BaseTypeHandler.getResult(BaseTypeHandler.java:66)
      4. org.apache.ibatis.executor.resultset.DefaultResultSetHandler.getPropertyMappingValue(DefaultResultSetHandler.java:452)
      5. org.apache.ibatis.executor.resultset.DefaultResultSetHandler.applyPropertyMappings(DefaultResultSetHandler.java:425)
      6. org.apache.ibatis.executor.resultset.DefaultResultSetHandler.getRowValue(DefaultResultSetHandler.java:387)
      7. org.apache.ibatis.executor.resultset.DefaultResultSetHandler.handleRowValuesForSimpleResultMap(DefaultResultSetHandler.java:339)
      8. org.apache.ibatis.executor.resultset.DefaultResultSetHandler.handleRowValues(DefaultResultSetHandler.java:314)
      9. org.apache.ibatis.executor.resultset.DefaultResultSetHandler.handleResultSet(DefaultResultSetHandler.java:287)
      10. org.apache.ibatis.executor.resultset.DefaultResultSetHandler.handleResultSets(DefaultResultSetHandler.java:183)
      11. org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64)
      12. org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79)
      13. org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63)
      14. org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325)
      15. org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
      16. org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
      17. org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:83)
      17 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    9. MyBatis
      Invocation.proceed
      1. org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49)
      1 frame
    10. com.github.pagehelper
      PageHelper.intercept
      1. com.github.pagehelper.SqlUtil._processPage(SqlUtil.java:401)
      2. com.github.pagehelper.SqlUtil.processPage(SqlUtil.java:374)
      3. com.github.pagehelper.PageHelper.intercept(PageHelper.java:255)
      3 frames
    11. MyBatis
      Plugin.invoke
      1. org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
      1 frame
    12. com.sun.proxy
      $Proxy104.query
      1. com.sun.proxy.$Proxy104.query(Unknown Source)
      1 frame
    13. MyBatis
      DefaultSqlSession.selectList
      1. org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:148)
      2. org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:141)
      2 frames
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    15. MyBatis-Spring
      SqlSessionTemplate$SqlSessionInterceptor.invoke
      1. org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:434)
      1 frame
    16. com.sun.proxy
      $Proxy66.selectList
      1. com.sun.proxy.$Proxy66.selectList(Unknown Source)
      1 frame
    17. MyBatis-Spring
      SqlSessionTemplate.selectList
      1. org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:231)
      1 frame
    18. MyBatis
      MapperProxy.invoke
      1. org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:128)
      2. org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:68)
      3. org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
      3 frames
    19. com.sun.proxy
      $Proxy71.selectByExampleWithBLOBs
      1. com.sun.proxy.$Proxy71.selectByExampleWithBLOBs(Unknown Source)
      1 frame
    20. com.bolu.gat
      CzrkController.image
      1. com.bolu.gat.controller.CzrkController.image(CzrkController.java:143)
      1 frame
    21. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    22. Spring
      InvocableHandlerMethod.invokeForRequest
      1. org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
      2. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
      2 frames
    23. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
      2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:832)
      3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:743)
      4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
      5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)
      6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:895)
      7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
      8. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:858)
      8 frames
    24. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
      1 frame
    25. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)
      1 frame
    26. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      1 frame
    27. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    28. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    29. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    30. druid
      WebStatFilter.doFilter
      1. com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123)
      1 frame
    31. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    32. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      2 frames
    33. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    34. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      2 frames
    35. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    36. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      2 frames
    37. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    38. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      2 frames
    39. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    40. Spring Boot
      ErrorPageFilter$1.doFilterInternal
      1. org.springframework.boot.context.web.ErrorPageFilter.doFilter(ErrorPageFilter.java:120)
      2. org.springframework.boot.context.web.ErrorPageFilter.access$000(ErrorPageFilter.java:61)
      3. org.springframework.boot.context.web.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:95)
      3 frames
    41. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      1 frame
    42. Spring Boot
      ErrorPageFilter.doFilter
      1. org.springframework.boot.context.web.ErrorPageFilter.doFilter(ErrorPageFilter.java:113)
      1 frame
    43. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
      10 frames
    44. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
      3 frames
    45. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      2 frames
    46. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    47. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame