Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Try downgrading PostgresSQL server to 9.5 or update your PostgresSQL driver to 9.4-1211 with the following command: <postgresql.version>9.4.1211</postgresql.version>

Solutions on the web

via openxava by jegomez
, 1 year ago
org.hibernate.exception.SQLGrammarException: could not execute statement
via openxava by jegomez
, 1 year ago
org.hibernate.exception.SQLGrammarException: could not execute statement
via openxava by m3rg
, 1 year ago
org.hibernate.exception.SQLGrammarException: could not execute statement
via developpez.net by Unknown author, 2 years ago
org.hibernate.exception.JDBCConnectionException: could not extract ResultSet
via openxava by ramos
, 5 months ago
org.hibernate.exception.GenericJDBCException: Could not open connection
via Stack Overflow by user3136123
, 1 year ago
org.hibernate.exception.GenericJDBCException: could not insert: [com.transaction.hibernate.model.NonTlf]
org.postgresql.util.PSQLException: ERROR: la restricción «fk_epb795x3nd3wsla4rvo2sl6cl» para la relación «documentocontable» ya existe	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2198)	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1927)	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:562)	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:420)	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:366)	at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)	at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)	at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:208)	at org.hibernate.engine.query.spi.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:211)	at org.hibernate.internal.SessionImpl.executeNativeUpdate(SessionImpl.java:1346)	at org.hibernate.internal.SQLQueryImpl.executeUpdate(SQLQueryImpl.java:389)	at org.hibernate.jpa.internal.QueryImpl.internalExecuteUpdate(QueryImpl.java:371)	at org.hibernate.jpa.spi.AbstractQueryImpl.executeUpdate(AbstractQueryImpl.java:78)	at org.openxava.tools.SchemaTool.execute(SchemaTool.java:116)	at org.openxava.tools.SchemaTool.generateSchema(SchemaTool.java:57)	at com.openxava.naviox.impl.DB.createDB(DB.java:141)	at com.openxava.naviox.impl.DB.createTenancy(DB.java:56)	at com.openxava.naviox.actions.CreateNewOrganizationAction.execute(CreateNewOrganizationAction.java:34)	at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:494)	at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:402)	at org.openxava.controller.ModuleManager.execute(ModuleManager.java:359)	at org.apache.jsp.xava.execute_jsp._jspService(execute_jsp.java:196)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)	at org.openxava.web.servlets.Servlets.getURIAsStream(Servlets.java:66)	at org.openxava.web.dwr.Module.getURIAsStream(Module.java:202)	at org.openxava.web.dwr.Module.request(Module.java:61)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)	at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)	at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)	at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)	at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)	at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)	at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Thread.java:745)