hibernate - print all exception locations in java -
i have exception in java/gwt/hibernate. exception printed in console in form:
org.hibernate.exception.sqlgrammarexception: not execute query @ org.hibernate.exception.sqlstateconverter.convert(sqlstateconverter.java:67) @ ... caused by: com.mysql.jdbc.exceptions.jdbc4.mysqlsyntaxerrorexception: unknown column 'this_.address' in 'field list' @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ ... . . ... **35 more**
is there way or parameter can set in jvm these 35 more exceptions printed? since closer code causing problem, think can helpful!
thanks!
here full stack:
severe: unknown column 'this_.address' in 'field list' org.hibernate.exception.sqlgrammarexception: not execute query @ org.hibernate.exception.sqlstateconverter.convert(sqlstateconverter.java:67) @ org.hibernate.exception.jdbcexceptionhelper.convert(jdbcexceptionhelper.java:43) @ org.hibernate.loader.loader.dolist(loader.java:2223) @ org.hibernate.loader.loader.listignorequerycache(loader.java:2104) @ org.hibernate.loader.loader.list(loader.java:2099) @ org.hibernate.loader.criteria.criterialoader.list(criterialoader.java:94) @ org.hibernate.impl.sessionimpl.list(sessionimpl.java:1569) @ org.hibernate.impl.criteriaimpl.list(criteriaimpl.java:283) @ org.fx.idp.tracking.app.server.epcis.data.agg.epcisdatafetcher.getretailerlist(epcisdatafetcher.java:340) @ org.fx.idp.tracking.app.server.epcis.data.agg.epcisdataaggregator.getretailers(epcisdataaggregator.java:524) @ org.fx.idp.tracking.app.server.repositoryserviceimpl.getretailerlist(repositoryserviceimpl.java:89) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ com.google.gwt.user.server.rpc.rpc.invokeandencoderesponse(rpc.java:569) @ com.google.gwt.user.server.rpc.remoteserviceservlet.processcall(remoteserviceservlet.java:208) @ com.google.gwt.user.server.rpc.remoteserviceservlet.processpost(remoteserviceservlet.java:248) @ com.google.gwt.user.server.rpc.abstractremoteserviceservlet.dopost(abstractremoteserviceservlet.java:62) @ javax.servlet.http.httpservlet.service(httpservlet.java:637) @ javax.servlet.http.httpservlet.service(httpservlet.java:717) @ org.mortbay.jetty.servlet.servletholder.handle(servletholder.java:487) @ org.mortbay.jetty.servlet.servlethandler.handle(servlethandler.java:362) @ org.mortbay.jetty.security.securityhandler.handle(securityhandler.java:216) @ org.mortbay.jetty.servlet.sessionhandler.handle(sessionhandler.java:181) @ org.mortbay.jetty.handler.contexthandler.handle(contexthandler.java:729) @ org.mortbay.jetty.webapp.webappcontext.handle(webappcontext.java:405) @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) @ org.mortbay.jetty.handler.requestloghandler.handle(requestloghandler.java:49) @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) @ org.mortbay.jetty.server.handle(server.java:324) @ org.mortbay.jetty.httpconnection.handlerequest(httpconnection.java:505) @ org.mortbay.jetty.httpconnection$requesthandler.content(httpconnection.java:843) @ org.mortbay.jetty.httpparser.parsenext(httpparser.java:647) @ org.mortbay.jetty.httpparser.parseavailable(httpparser.java:211) @ org.mortbay.jetty.httpconnection.handle(httpconnection.java:380) @ org.mortbay.io.nio.selectchannelendpoint.run(selectchannelendpoint.java:395) @ org.mortbay.thread.queuedthreadpool$poolthread.run(queuedthreadpool.java:488) caused by: com.mysql.jdbc.exceptions.jdbc4.mysqlsyntaxerrorexception: unknown column 'this_.address' in 'field list' @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:39) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:27) @ java.lang.reflect.constructor.newinstance(constructor.java:513) @ com.mysql.jdbc.util.handlenewinstance(util.java:409) @ com.mysql.jdbc.util.getinstance(util.java:384) @ com.mysql.jdbc.sqlerror.createsqlexception(sqlerror.java:1054) @ com.mysql.jdbc.mysqlio.checkerrorpacket(mysqlio.java:3562) @ com.mysql.jdbc.mysqlio.checkerrorpacket(mysqlio.java:3494) @ com.mysql.jdbc.mysqlio.sendcommand(mysqlio.java:1960) @ com.mysql.jdbc.mysqlio.sqlquerydirect(mysqlio.java:2114) @ com.mysql.jdbc.connectionimpl.execsql(connectionimpl.java:2696) @ com.mysql.jdbc.preparedstatement.executeinternal(preparedstatement.java:2105) @ com.mysql.jdbc.preparedstatement.executequery(preparedstatement.java:2264) @ com.mchange.v2.c3p0.impl.newproxypreparedstatement.executequery(newproxypreparedstatement.java:116) @ org.hibernate.jdbc.abstractbatcher.getresultset(abstractbatcher.java:186) @ org.hibernate.loader.loader.getresultset(loader.java:1787) @ org.hibernate.loader.loader.doquery(loader.java:674) @ org.hibernate.loader.loader.doqueryandinitializenonlazycollections(loader.java:236) @ org.hibernate.loader.loader.dolist(loader.java:2220) ... 35 more org.hibernate.exception.sqlgrammarexception: not execute query @ org.hibernate.exception.sqlstateconverter.convert(sqlstateconverter.java:67) @ org.hibernate.exception.jdbcexceptionhelper.convert(jdbcexceptionhelper.java:43) @ org.hibernate.loader.loader.dolist(loader.java:2223) @ org.hibernate.loader.loader.listignorequerycache(loader.java:2104) @ org.hibernate.loader.loader.list(loader.java:2099) @ org.hibernate.loader.criteria.criterialoader.list(criterialoader.java:94) @ org.hibernate.impl.sessionimpl.list(sessionimpl.java:1569) @ org.hibernate.impl.criteriaimpl.list(criteriaimpl.java:283) @ org.fx.idp.tracking.app.server.epcis.data.agg.epcisdatafetcher.getretailerlist(epcisdatafetcher.java:340) @ org.fx.idp.tracking.app.server.epcis.data.agg.epcisdataaggregator.getretailers(epcisdataaggregator.java:524) @ org.fx.idp.tracking.app.server.repositoryserviceimpl.getretailerlist(repositoryserviceimpl.java:89) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ com.google.gwt.user.server.rpc.rpc.invokeandencoderesponse(rpc.java:569) @ com.google.gwt.user.server.rpc.remoteserviceservlet.processcall(remoteserviceservlet.java:208) @ com.google.gwt.user.server.rpc.remoteserviceservlet.processpost(remoteserviceservlet.java:248) @ com.google.gwt.user.server.rpc.abstractremoteserviceservlet.dopost(abstractremoteserviceservlet.java:62) @ javax.servlet.http.httpservlet.service(httpservlet.java:637) @ javax.servlet.http.httpservlet.service(httpservlet.java:717) @ org.mortbay.jetty.servlet.servletholder.handle(servletholder.java:487) @ org.mortbay.jetty.servlet.servlethandler.handle(servlethandler.java:362) @ org.mortbay.jetty.security.securityhandler.handle(securityhandler.java:216) @ org.mortbay.jetty.servlet.sessionhandler.handle(sessionhandler.java:181) @ org.mortbay.jetty.handler.contexthandler.handle(contexthandler.java:729) @ org.mortbay.jetty.webapp.webappcontext.handle(webappcontext.java:405) @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) @ org.mortbay.jetty.handler.requestloghandler.handle(requestloghandler.java:49) @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) @ org.mortbay.jetty.server.handle(server.java:324) @ org.mortbay.jetty.httpconnection.handlerequest(httpconnection.java:505) @ org.mortbay.jetty.httpconnection$requesthandler.content(httpconnection.java:843) @ org.mortbay.jetty.httpparser.parsenext(httpparser.java:647) @ org.mortbay.jetty.httpparser.parseavailable(httpparser.java:211) @ org.mortbay.jetty.httpconnection.handle(httpconnection.java:380) @ org.mortbay.io.nio.selectchannelendpoint.run(selectchannelendpoint.java:395) @ org.mortbay.thread.queuedthreadpool$poolthread.run(queuedthreadpool.java:488) caused by: com.mysql.jdbc.exceptions.jdbc4.mysqlsyntaxerrorexception: unknown column 'this_.address' in 'field list' @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:39) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:27) @ java.lang.reflect.constructor.newinstance(constructor.java:513) @ com.mysql.jdbc.util.handlenewinstance(util.java:409) @ com.mysql.jdbc.util.getinstance(util.java:384) @ com.mysql.jdbc.sqlerror.createsqlexception(sqlerror.java:1054) @ com.mysql.jdbc.mysqlio.checkerrorpacket(mysqlio.java:3562) @ com.mysql.jdbc.mysqlio.checkerrorpacket(mysqlio.java:3494) @ com.mysql.jdbc.mysqlio.sendcommand(mysqlio.java:1960) @ com.mysql.jdbc.mysqlio.sqlquerydirect(mysqlio.java:2114) @ com.mysql.jdbc.connectionimpl.execsql(connectionimpl.java:2696) @ com.mysql.jdbc.preparedstatement.executeinternal(preparedstatement.java:2105) @ com.mysql.jdbc.preparedstatement.executequery(preparedstatement.java:2264) @ com.mchange.v2.c3p0.impl.newproxypreparedstatement.executequery(newproxypreparedstatement.java:116) @ org.hibernate.jdbc.abstractbatcher.getresultset(abstractbatcher.java:186) @ org.hibernate.loader.loader.getresultset(loader.java:1787) @ org.hibernate.loader.loader.doquery(loader.java:674) @ org.hibernate.loader.loader.doqueryandinitializenonlazycollections(loader.java:236) @ org.hibernate.loader.loader.dolist(loader.java:2220) ... 35 more org.hibernate.exception.sqlgrammarexception: not execute query @ org.hibernate.exception.sqlstateconverter.convert(sqlstateconverter.java:67) @ org.hibernate.exception.jdbcexceptionhelper.convert(jdbcexceptionhelper.java:43) @ org.hibernate.loader.loader.dolist(loader.java:2223) @ org.hibernate.loader.loader.listignorequerycache(loader.java:2104) @ org.hibernate.loader.loader.list(loader.java:2099) @ org.hibernate.loader.criteria.criterialoader.list(criterialoader.java:94) @ org.hibernate.impl.sessionimpl.list(sessionimpl.java:1569) @ org.hibernate.impl.criteriaimpl.list(criteriaimpl.java:283) @ org.fx.idp.tracking.app.server.epcis.data.agg.epcisdatafetcher.getretailerlist(epcisdatafetcher.java:340) @ org.fx.idp.tracking.app.server.epcis.data.agg.epcisdataaggregator.getretailers(epcisdataaggregator.java:524) @ org.fx.idp.tracking.app.server.repositoryserviceimpl.getretailerlist(repositoryserviceimpl.java:89) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ com.google.gwt.user.server.rpc.rpc.invokeandencoderesponse(rpc.java:569) @ com.google.gwt.user.server.rpc.remoteserviceservlet.processcall(remoteserviceservlet.java:208) @ com.google.gwt.user.server.rpc.remoteserviceservlet.processpost(remoteserviceservlet.java:248) @ com.google.gwt.user.server.rpc.abstractremoteserviceservlet.dopost(abstractremoteserviceservlet.java:62) @ javax.servlet.http.httpservlet.service(httpservlet.java:637) @ javax.servlet.http.httpservlet.service(httpservlet.java:717) @ org.mortbay.jetty.servlet.servletholder.handle(servletholder.java:487) @ org.mortbay.jetty.servlet.servlethandler.handle(servlethandler.java:362) @ org.mortbay.jetty.security.securityhandler.handle(securityhandler.java:216) @ org.mortbay.jetty.servlet.sessionhandler.handle(sessionhandler.java:181) @ org.mortbay.jetty.handler.contexthandler.handle(contexthandler.java:729) @ org.mortbay.jetty.webapp.webappcontext.handle(webappcontext.java:405) @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) @ org.mortbay.jetty.handler.requestloghandler.handle(requestloghandler.java:49) @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) @ org.mortbay.jetty.server.handle(server.java:324) @ org.mortbay.jetty.httpconnection.handlerequest(httpconnection.java:505) @ org.mortbay.jetty.httpconnection$requesthandler.content(httpconnection.java:843) @ org.mortbay.jetty.httpparser.parsenext(httpparser.java:647) @ org.mortbay.jetty.httpparser.parseavailable(httpparser.java:211) @ org.mortbay.jetty.httpconnection.handle(httpconnection.java:380) @ org.mortbay.io.nio.selectchannelendpoint.run(selectchannelendpoint.java:395) @ org.mortbay.thread.queuedthreadpool$poolthread.run(queuedthreadpool.java:488) caused by: com.mysql.jdbc.exceptions.jdbc4.mysqlsyntaxerrorexception: unknown column 'this_.address' in 'field list' @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:39) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:27) @ java.lang.reflect.constructor.newinstance(constructor.java:513) @ com.mysql.jdbc.util.handlenewinstance(util.java:409) @ com.mysql.jdbc.util.getinstance(util.java:384) @ com.mysql.jdbc.sqlerror.createsqlexception(sqlerror.java:1054) @ com.mysql.jdbc.mysqlio.checkerrorpacket(mysqlio.java:3562) @ com.mysql.jdbc.mysqlio.checkerrorpacket(mysqlio.java:3494) @ com.mysql.jdbc.mysqlio.sendcommand(mysqlio.java:1960) @ com.mysql.jdbc.mysqlio.sqlquerydirect(mysqlio.java:2114) @ com.mysql.jdbc.connectionimpl.execsql(connectionimpl.java:2696) @ com.mysql.jdbc.preparedstatement.executeinternal(preparedstatement.java:2105) @ com.mysql.jdbc.preparedstatement.executequery(preparedstatement.java:2264) @ com.mchange.v2.c3p0.impl.newproxypreparedstatement.executequery(newproxypreparedstatement.java:116) @ org.hibernate.jdbc.abstractbatcher.getresultset(abstractbatcher.java:186) @ org.hibernate.loader.loader.getresultset(loader.java:1787) @ org.hibernate.loader.loader.doquery(loader.java:674) @ org.hibernate.loader.loader.doqueryandinitializenonlazycollections(loader.java:236) @ org.hibernate.loader.loader.dolist(loader.java:2220) ... 35 more org.hibernate.exception.sqlgrammarexception: not execute query @ org.hibernate.exception.sqlstateconverter.convert(sqlstateconverter.java:67) @ org.hibernate.exception.jdbcexceptionhelper.convert(jdbcexceptionhelper.java:43) @ org.hibernate.loader.loader.dolist(loader.java:2223) @ org.hibernate.loader.loader.listignorequerycache(loader.java:2104) @ org.hibernate.loader.loader.list(loader.java:2099) @ org.hibernate.loader.criteria.criterialoader.list(criterialoader.java:94) @ org.hibernate.impl.sessionimpl.list(sessionimpl.java:1569) @ org.hibernate.impl.criteriaimpl.list(criteriaimpl.java:283) @ org.fx.idp.tracking.app.server.epcis.data.agg.epcisdatafetcher.getretailerlist(epcisdatafetcher.java:340) @ org.fx.idp.tracking.app.server.epcis.data.agg.epcisdataaggregator.getretailers(epcisdataaggregator.java:524) @ org.fx.idp.tracking.app.server.repositoryserviceimpl.getretailerlist(repositoryserviceimpl.java:89) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ com.google.gwt.user.server.rpc.rpc.invokeandencoderesponse(rpc.java:569) @ com.google.gwt.user.server.rpc.remoteserviceservlet.processcall(remoteserviceservlet.java:208) @ com.google.gwt.user.server.rpc.remoteserviceservlet.processpost(remoteserviceservlet.java:248) @ com.google.gwt.user.server.rpc.abstractremoteserviceservlet.dopost(abstractremoteserviceservlet.java:62) @ javax.servlet.http.httpservlet.service(httpservlet.java:637) @ javax.servlet.http.httpservlet.service(httpservlet.java:717) @ org.mortbay.jetty.servlet.servletholder.handle(servletholder.java:487) @ org.mortbay.jetty.servlet.servlethandler.handle(servlethandler.java:362) @ org.mortbay.jetty.security.securityhandler.handle(securityhandler.java:216) @ org.mortbay.jetty.servlet.sessionhandler.handle(sessionhandler.java:181) @ org.mortbay.jetty.handler.contexthandler.handle(contexthandler.java:729) @ org.mortbay.jetty.webapp.webappcontext.handle(webappcontext.java:405) @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) @ org.mortbay.jetty.handler.requestloghandler.handle(requestloghandler.java:49) @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) @ org.mortbay.jetty.server.handle(server.java:324) @ org.mortbay.jetty.httpconnection.handlerequest(httpconnection.java:505) @ org.mortbay.jetty.httpconnection$requesthandler.content(httpconnection.java:843) @ org.mortbay.jetty.httpparser.parsenext(httpparser.java:647) @ org.mortbay.jetty.httpparser.parseavailable(httpparser.java:211) @ org.mortbay.jetty.httpconnection.handle(httpconnection.java:380) @ org.mortbay.io.nio.selectchannelendpoint.run(selectchannelendpoint.java:395) @ org.mortbay.thread.queuedthreadpool$poolthread.run(queuedthreadpool.java:488) caused by: com.mysql.jdbc.exceptions.jdbc4.mysqlsyntaxerrorexception: unknown column 'this_.address' in 'field list' @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:39) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:27) @ java.lang.reflect.constructor.newinstance(constructor.java:513) @ com.mysql.jdbc.util.handlenewinstance(util.java:409) @ com.mysql.jdbc.util.getinstance(util.java:384) @ com.mysql.jdbc.sqlerror.createsqlexception(sqlerror.java:1054) @ com.mysql.jdbc.mysqlio.checkerrorpacket(mysqlio.java:3562) @ com.mysql.jdbc.mysqlio.checkerrorpacket(mysqlio.java:3494) @ com.mysql.jdbc.mysqlio.sendcommand(mysqlio.java:1960) @ com.mysql.jdbc.mysqlio.sqlquerydirect(mysqlio.java:2114) @ com.mysql.jdbc.connectionimpl.execsql(connectionimpl.java:2696) @ com.mysql.jdbc.preparedstatement.executeinternal(preparedstatement.java:2105) @ com.mysql.jdbc.preparedstatement.executequery(preparedstatement.java:2264) @ com.mchange.v2.c3p0.impl.newproxypreparedstatement.executequery(newproxypreparedstatement.java:116) @ org.hibernate.jdbc.abstractbatcher.getresultset(abstractbatcher.java:186) @ org.hibernate.loader.loader.getresultset(loader.java:1787) @ org.hibernate.loader.loader.doquery(loader.java:674) @ org.hibernate.loader.loader.doqueryandinitializenonlazycollections(loader.java:236) @ org.hibernate.loader.loader.dolist(loader.java:2220) ... 35 more org.hibernate.exception.sqlgrammarexception: not execute query @ org.hibernate.exception.sqlstateconverter.convert(sqlstateconverter.java:67) @ org.hibernate.exception.jdbcexceptionhelper.convert(jdbcexceptionhelper.java:43) @ org.hibernate.loader.loader.dolist(loader.java:2223) @ org.hibernate.loader.loader.listignorequerycache(loader.java:2104) @ org.hibernate.loader.loader.list(loader.java:2099) @ org.hibernate.loader.criteria.criterialoader.list(criterialoader.java:94) @ org.hibernate.impl.sessionimpl.list(sessionimpl.java:1569) @ org.hibernate.impl.criteriaimpl.list(criteriaimpl.java:283) @ org.fx.idp.tracking.app.server.epcis.data.agg.epcisdatafetcher.getretailerlist(epcisdatafetcher.java:340) @ org.fx.idp.tracking.app.server.epcis.data.agg.epcisdataaggregator.getretailers(epcisdataaggregator.java:524) @ org.fx.idp.tracking.app.server.repositoryserviceimpl.getretailerlist(repositoryserviceimpl.java:89) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ com.google.gwt.user.server.rpc.rpc.invokeandencoderesponse(rpc.java:569) @ com.google.gwt.user.server.rpc.remoteserviceservlet.processcall(remoteserviceservlet.java:208) @ com.google.gwt.user.server.rpc.remoteserviceservlet.processpost(remoteserviceservlet.java:248) @ com.google.gwt.user.server.rpc.abstractremoteserviceservlet.dopost(abstractremoteserviceservlet.java:62) @ javax.servlet.http.httpservlet.service(httpservlet.java:637) @ javax.servlet.http.httpservlet.service(httpservlet.java:717) @ org.mortbay.jetty.servlet.servletholder.handle(servletholder.java:487) @ org.mortbay.jetty.servlet.servlethandler.handle(servlethandler.java:362) @ org.mortbay.jetty.security.securityhandler.handle(securityhandler.java:216) @ org.mortbay.jetty.servlet.sessionhandler.handle(sessionhandler.java:181) @ org.mortbay.jetty.handler.contexthandler.handle(contexthandler.java:729) @ org.mortbay.jetty.webapp.webappcontext.handle(webappcontext.java:405) @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) @ org.mortbay.jetty.handler.requestloghandler.handle(requestloghandler.java:49) @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) @ org.mortbay.jetty.server.handle(server.java:324) @ org.mortbay.jetty.httpconnection.handlerequest(httpconnection.java:505) @ org.mortbay.jetty.httpconnection$requesthandler.content(httpconnection.java:843) @ org.mortbay.jetty.httpparser.parsenext(httpparser.java:647) @ org.mortbay.jetty.httpparser.parseavailable(httpparser.java:211) @ org.mortbay.jetty.httpconnection.handle(httpconnection.java:380) @ org.mortbay.io.nio.selectchannelendpoint.run(selectchannelendpoint.java:395) @ org.mortbay.thread.queuedthreadpool$poolthread.run(queuedthreadpool.java:488) caused by: com.mysql.jdbc.exceptions.jdbc4.mysqlsyntaxerrorexception: unknown column 'this_.address' in 'field list' @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:39) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:27) @ java.lang.reflect.constructor.newinstance(constructor.java:513) @ com.mysql.jdbc.util.handlenewinstance(util.java:409) @ com.mysql.jdbc.util.getinstance(util.java:384) @ com.mysql.jdbc.sqlerror.createsqlexception(sqlerror.java:1054) @ com.mysql.jdbc.mysqlio.checkerrorpacket(mysqlio.java:3562) @ com.mysql.jdbc.mysqlio.checkerrorpacket(mysqlio.java:3494) @ com.mysql.jdbc.mysqlio.sendcommand(mysqlio.java:1960) @ com.mysql.jdbc.mysqlio.sqlquerydirect(mysqlio.java:2114) @ com.mysql.jdbc.connectionimpl.execsql(connectionimpl.java:2696) @ com.mysql.jdbc.preparedstatement.executeinternal(preparedstatement.java:2105) @ com.mysql.jdbc.preparedstatement.executequery(preparedstatement.java:2264) @ com.mchange.v2.c3p0.impl.newproxypreparedstatement.executequery(newproxypreparedstatement.java:116) @ org.hibernate.jdbc.abstractbatcher.getresultset(abstractbatcher.java:186) @ org.hibernate.loader.loader.getresultset(loader.java:1787) @ org.hibernate.loader.loader.doquery(loader.java:674) @ org.hibernate.loader.loader.doqueryandinitializenonlazycollections(loader.java:236) @ org.hibernate.loader.loader.dolist(loader.java:2220) ... 35 more
the "35 more" should appear elsewhere in printed stack trace. java runtime truncates printed stack trace because additional lines redundant, since they're printed higher in output.
can post full stack trace output? if can, can confirm case.
edit: op added full stack trace, i'm adding additional commentary.
there appear 2 stack traces posted above. i'm considering following portion, comprises single stack trace:
org.hibernate.exception.sqlgrammarexception: not execute query @ org.hibernate.exception.sqlstateconverter.convert(sqlstateconverter.java:67) @ org.hibernate.exception.jdbcexceptionhelper.convert(jdbcexceptionhelper.java:43) @ org.hibernate.loader.loader.dolist(loader.java:2223) @ org.hibernate.loader.loader.listignorequerycache(loader.java:2104) @ org.hibernate.loader.loader.list(loader.java:2099) @ org.hibernate.loader.criteria.criterialoader.list(criterialoader.java:94) @ org.hibernate.impl.sessionimpl.list(sessionimpl.java:1569) @ org.hibernate.impl.criteriaimpl.list(criteriaimpl.java:283) @ org.fx.idp.tracking.app.server.epcis.data.agg.epcisdatafetcher.getretailerlist(epcisdatafetcher.java:340) @ org.fx.idp.tracking.app.server.epcis.data.agg.epcisdataaggregator.getretailers(epcisdataaggregator.java:524) @ org.fx.idp.tracking.app.server.repositoryserviceimpl.getretailerlist(repositoryserviceimpl.java:89) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ com.google.gwt.user.server.rpc.rpc.invokeandencoderesponse(rpc.java:569) @ com.google.gwt.user.server.rpc.remoteserviceservlet.processcall(remoteserviceservlet.java:208) @ com.google.gwt.user.server.rpc.remoteserviceservlet.processpost(remoteserviceservlet.java:248) @ com.google.gwt.user.server.rpc.abstractremoteserviceservlet.dopost(abstractremoteserviceservlet.java:62) @ javax.servlet.http.httpservlet.service(httpservlet.java:637) @ javax.servlet.http.httpservlet.service(httpservlet.java:717) @ org.mortbay.jetty.servlet.servletholder.handle(servletholder.java:487) @ org.mortbay.jetty.servlet.servlethandler.handle(servlethandler.java:362) @ org.mortbay.jetty.security.securityhandler.handle(securityhandler.java:216) @ org.mortbay.jetty.servlet.sessionhandler.handle(sessionhandler.java:181) @ org.mortbay.jetty.handler.contexthandler.handle(contexthandler.java:729) @ org.mortbay.jetty.webapp.webappcontext.handle(webappcontext.java:405) @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) @ org.mortbay.jetty.handler.requestloghandler.handle(requestloghandler.java:49) @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) @ org.mortbay.jetty.server.handle(server.java:324) @ org.mortbay.jetty.httpconnection.handlerequest(httpconnection.java:505) @ org.mortbay.jetty.httpconnection$requesthandler.content(httpconnection.java:843) @ org.mortbay.jetty.httpparser.parsenext(httpparser.java:647) @ org.mortbay.jetty.httpparser.parseavailable(httpparser.java:211) @ org.mortbay.jetty.httpconnection.handle(httpconnection.java:380) @ org.mortbay.io.nio.selectchannelendpoint.run(selectchannelendpoint.java:395) @ org.mortbay.thread.queuedthreadpool$poolthread.run(queuedthreadpool.java:488) caused by: com.mysql.jdbc.exceptions.jdbc4.mysqlsyntaxerrorexception: unknown column 'this_.address' in 'field list' @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:39) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:27) @ java.lang.reflect.constructor.newinstance(constructor.java:513) @ com.mysql.jdbc.util.handlenewinstance(util.java:409) @ com.mysql.jdbc.util.getinstance(util.java:384) @ com.mysql.jdbc.sqlerror.createsqlexception(sqlerror.java:1054) @ com.mysql.jdbc.mysqlio.checkerrorpacket(mysqlio.java:3562) @ com.mysql.jdbc.mysqlio.checkerrorpacket(mysqlio.java:3494) @ com.mysql.jdbc.mysqlio.sendcommand(mysqlio.java:1960) @ com.mysql.jdbc.mysqlio.sqlquerydirect(mysqlio.java:2114) @ com.mysql.jdbc.connectionimpl.execsql(connectionimpl.java:2696) @ com.mysql.jdbc.preparedstatement.executeinternal(preparedstatement.java:2105) @ com.mysql.jdbc.preparedstatement.executequery(preparedstatement.java:2264) @ com.mchange.v2.c3p0.impl.newproxypreparedstatement.executequery(newproxypreparedstatement.java:116) @ org.hibernate.jdbc.abstractbatcher.getresultset(abstractbatcher.java:186) @ org.hibernate.loader.loader.getresultset(loader.java:1787) @ org.hibernate.loader.loader.doquery(loader.java:674) @ org.hibernate.loader.loader.doqueryandinitializenonlazycollections(loader.java:236) @ org.hibernate.loader.loader.dolist(loader.java:2220) ... 35 more
if @ last line in bottom stack trace (right above "35 more"), you'll find line:
@ org.hibernate.loader.loader.dolist(loader.java:2220)
if above "caused by" line, we'll find similar line -- presumably line within related try
/catch
block -- highlighted below >>>
:
org.hibernate.exception.sqlgrammarexception: not execute query @ org.hibernate.exception.sqlstateconverter.convert(sqlstateconverter.java:67) @ org.hibernate.exception.jdbcexceptionhelper.convert(jdbcexceptionhelper.java:43) >>> @ org.hibernate.loader.loader.dolist(loader.java:2223) @ org.hibernate.loader.loader.listignorequerycache(loader.java:2104) @ org.hibernate.loader.loader.list(loader.java:2099)
the portion below line in top-level stack trace (i.e., above "caused by" line) 35 lines long:
org.hibernate.exception.sqlgrammarexception: not execute query @ org.hibernate.exception.sqlstateconverter.convert(sqlstateconverter.java:67) @ org.hibernate.exception.jdbcexceptionhelper.convert(jdbcexceptionhelper.java:43) 0 @ org.hibernate.loader.loader.dolist(loader.java:2223) 1 @ org.hibernate.loader.loader.listignorequerycache(loader.java:2104) 2 @ org.hibernate.loader.loader.list(loader.java:2099) 3 @ org.hibernate.loader.criteria.criterialoader.list(criterialoader.java:94) 4 @ org.hibernate.impl.sessionimpl.list(sessionimpl.java:1569) 5 @ org.hibernate.impl.criteriaimpl.list(criteriaimpl.java:283) 6 @ org.fx.idp.tracking.app.server.epcis.data.agg.epcisdatafetcher.getretailerlist(epcisdatafetcher.java:340) 7 @ org.fx.idp.tracking.app.server.epcis.data.agg.epcisdataaggregator.getretailers(epcisdataaggregator.java:524) 8 @ org.fx.idp.tracking.app.server.repositoryserviceimpl.getretailerlist(repositoryserviceimpl.java:89) 9 @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) 10 @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) 11 @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) 12 @ java.lang.reflect.method.invoke(method.java:597) 13 @ com.google.gwt.user.server.rpc.rpc.invokeandencoderesponse(rpc.java:569) 14 @ com.google.gwt.user.server.rpc.remoteserviceservlet.processcall(remoteserviceservlet.java:208) 15 @ com.google.gwt.user.server.rpc.remoteserviceservlet.processpost(remoteserviceservlet.java:248) 16 @ com.google.gwt.user.server.rpc.abstractremoteserviceservlet.dopost(abstractremoteserviceservlet.java:62) 17 @ javax.servlet.http.httpservlet.service(httpservlet.java:637) 18 @ javax.servlet.http.httpservlet.service(httpservlet.java:717) 19 @ org.mortbay.jetty.servlet.servletholder.handle(servletholder.java:487) 20 @ org.mortbay.jetty.servlet.servlethandler.handle(servlethandler.java:362) 21 @ org.mortbay.jetty.security.securityhandler.handle(securityhandler.java:216) 22 @ org.mortbay.jetty.servlet.sessionhandler.handle(sessionhandler.java:181) 23 @ org.mortbay.jetty.handler.contexthandler.handle(contexthandler.java:729) 24 @ org.mortbay.jetty.webapp.webappcontext.handle(webappcontext.java:405) 25 @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) 26 @ org.mortbay.jetty.handler.requestloghandler.handle(requestloghandler.java:49) 27 @ org.mortbay.jetty.handler.handlerwrapper.handle(handlerwrapper.java:152) 28 @ org.mortbay.jetty.server.handle(server.java:324) 29 @ org.mortbay.jetty.httpconnection.handlerequest(httpconnection.java:505) 30 @ org.mortbay.jetty.httpconnection$requesthandler.content(httpconnection.java:843) 31 @ org.mortbay.jetty.httpparser.parsenext(httpparser.java:647) 32 @ org.mortbay.jetty.httpparser.parseavailable(httpparser.java:211) 33 @ org.mortbay.jetty.httpconnection.handle(httpconnection.java:380) 34 @ org.mortbay.io.nio.selectchannelendpoint.run(selectchannelendpoint.java:395) 35 @ org.mortbay.thread.queuedthreadpool$poolthread.run(queuedthreadpool.java:488)
those "missing" 35 lines indicated "35 more" @ bottom of stack trace.
Comments
Post a Comment