java.sql.SQLException: connection holder is null

HTTP Status 500 - 

--------------------------------------------------------------------------------

type Exception report

message 

description The server encountered an internal error that prevented it from fulfilling this request.

exception 

java.lang.reflect.UndeclaredThrowableException
	com.sun.proxy.$Proxy13.getBySite(Unknown Source)
	in.wenwen.handler.IndexHandler.before(IndexHandler.java:40)
	org.jiucheng.web.filter.DispatcherFilter.doFilter(DispatcherFilter.java:55)
	org.jiucheng.web.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:34)


root cause 

org.jiucheng.aop.AopException: java.lang.reflect.UndeclaredThrowableException
	org.jiucheng.aop.MethodInvocation.proceed(MethodInvocation.java:60)
	org.jiucheng.orm.interceptor.Close.invoke(Close.java:18)
	org.jiucheng.aop.AopProxy.result(AopProxy.java:50)
	org.jiucheng.aop.AopProxy.invoke(AopProxy.java:39)
	com.sun.proxy.$Proxy13.getBySite(Unknown Source)
	in.wenwen.handler.IndexHandler.before(IndexHandler.java:40)
	org.jiucheng.web.filter.DispatcherFilter.doFilter(DispatcherFilter.java:55)
	org.jiucheng.web.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:34)


root cause 

java.lang.reflect.UndeclaredThrowableException
	com.sun.proxy.$Proxy8.list(Unknown Source)
	org.jiucheng.plugin.db.BaseServiceImpl.list(BaseServiceImpl.java:41)
	in.wenwen.service.impl.DomainServiceImpl.getBySite(DomainServiceImpl.java:20)
	sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jiucheng.aop.MethodInvocation.proceed(MethodInvocation.java:54)
	org.jiucheng.orm.interceptor.Close.invoke(Close.java:18)
	org.jiucheng.aop.AopProxy.result(AopProxy.java:50)
	org.jiucheng.aop.AopProxy.invoke(AopProxy.java:39)
	com.sun.proxy.$Proxy13.getBySite(Unknown Source)
	in.wenwen.handler.IndexHandler.before(IndexHandler.java:40)
	org.jiucheng.web.filter.DispatcherFilter.doFilter(DispatcherFilter.java:55)
	org.jiucheng.web.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:34)


root cause 

org.jiucheng.aop.AopException: org.jiucheng.orm.DataAccessException: java.sql.SQLException: connection holder is null
	org.jiucheng.aop.MethodInvocation.proceed(MethodInvocation.java:60)
	org.jiucheng.aop.AopProxy.invoke(AopProxy.java:41)
	com.sun.proxy.$Proxy8.list(Unknown Source)
	org.jiucheng.plugin.db.BaseServiceImpl.list(BaseServiceImpl.java:41)
	in.wenwen.service.impl.DomainServiceImpl.getBySite(DomainServiceImpl.java:20)
	sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jiucheng.aop.MethodInvocation.proceed(MethodInvocation.java:54)
	org.jiucheng.orm.interceptor.Close.invoke(Close.java:18)
	org.jiucheng.aop.AopProxy.result(AopProxy.java:50)
	org.jiucheng.aop.AopProxy.invoke(AopProxy.java:39)
	com.sun.proxy.$Proxy13.getBySite(Unknown Source)
	in.wenwen.handler.IndexHandler.before(IndexHandler.java:40)
	org.jiucheng.web.filter.DispatcherFilter.doFilter(DispatcherFilter.java:55)
	org.jiucheng.web.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:34)


root cause 

org.jiucheng.orm.DataAccessException: java.sql.SQLException: connection holder is null
	org.jiucheng.orm.util.JdbcUtil.getResultSet(JdbcUtil.java:181)
	org.jiucheng.orm.util.EntityUtil.list(EntityUtil.java:63)
	org.jiucheng.plugin.db.BaseDaoImpl.list(BaseDaoImpl.java:44)
	sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jiucheng.aop.MethodInvocation.proceed(MethodInvocation.java:54)
	org.jiucheng.aop.AopProxy.invoke(AopProxy.java:41)
	com.sun.proxy.$Proxy8.list(Unknown Source)
	org.jiucheng.plugin.db.BaseServiceImpl.list(BaseServiceImpl.java:41)
	in.wenwen.service.impl.DomainServiceImpl.getBySite(DomainServiceImpl.java:20)
	sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jiucheng.aop.MethodInvocation.proceed(MethodInvocation.java:54)
	org.jiucheng.orm.interceptor.Close.invoke(Close.java:18)
	org.jiucheng.aop.AopProxy.result(AopProxy.java:50)
	org.jiucheng.aop.AopProxy.invoke(AopProxy.java:39)
	com.sun.proxy.$Proxy13.getBySite(Unknown Source)
	in.wenwen.handler.IndexHandler.before(IndexHandler.java:40)
	org.jiucheng.web.filter.DispatcherFilter.doFilter(DispatcherFilter.java:55)
	org.jiucheng.web.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:34)


root cause 

java.sql.SQLException: connection holder is null
	com.alibaba.druid.pool.DruidPooledConnection.checkStateInternal(DruidPooledConnection.java:1109)
	com.alibaba.druid.pool.DruidPooledConnection.checkState(DruidPooledConnection.java:1100)
	com.alibaba.druid.pool.DruidPooledConnection.prepareStatement(DruidPooledConnection.java:305)
	org.jiucheng.orm.util.JdbcUtil.getResultSet(JdbcUtil.java:173)
	org.jiucheng.orm.util.EntityUtil.list(EntityUtil.java:63)
	org.jiucheng.plugin.db.BaseDaoImpl.list(BaseDaoImpl.java:44)
	sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jiucheng.aop.MethodInvocation.proceed(MethodInvocation.java:54)
	org.jiucheng.aop.AopProxy.invoke(AopProxy.java:41)
	com.sun.proxy.$Proxy8.list(Unknown Source)
	org.jiucheng.plugin.db.BaseServiceImpl.list(BaseServiceImpl.java:41)
	in.wenwen.service.impl.DomainServiceImpl.getBySite(DomainServiceImpl.java:20)
	sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	java.lang.reflect.Method.invoke(Method.java:606)
	org.jiucheng.aop.MethodInvocation.proceed(MethodInvocation.java:54)
	org.jiucheng.orm.interceptor.Close.invoke(Close.java:18)
	org.jiucheng.aop.AopProxy.result(AopProxy.java:50)
	org.jiucheng.aop.AopProxy.invoke(AopProxy.java:39)
	com.sun.proxy.$Proxy13.getBySite(Unknown Source)
	in.wenwen.handler.IndexHandler.before(IndexHandler.java:40)
	org.jiucheng.web.filter.DispatcherFilter.doFilter(DispatcherFilter.java:55)
	org.jiucheng.web.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:34)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.44 logs.


--------------------------------------------------------------------------------

Apache Tomcat/6.0.44

评论

  1. 多用户博客系统正式上线,测试随机头像。

  2. 前台看上去很舒服,32个赞!

  3. 我经常在www.pls173.com网站买魔兽美服金币,服务态度好,代练基本上是立即就开始了,金币发货快,秒发。下次买嗨来这里。

发表评论

电子邮件地址不会被公开。 必填项已用*标注

点击更换