org.postgresql.util.PSQLException: ERROR: function year(timestamp without time zone) does not exist

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

,
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 tokugawa69
, 1 year ago
ERROR: function year(timestamp without time zone) does not exist
via openxava by malleblas
, 1 year ago
ERROR: operator does not exist: bigint = character varying   Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts.   Position: 277
via openxava by pombero
, 1 year ago
ERROR: no existe la relación «principal»
via Google Groups by YourSoft, 3 months ago
ERROR: function with OID 63315074 does not exist
via Google Groups by Mike Starov, 2 years ago
ERROR: function function1(bigint) does not exist Hint: No function matches the given name and argument types. You might need to add explicit type casts. Position: 15
via openbravo by toti_wang
, 1 year ago
ERROR: control reached end of function without RETURN
org.postgresql.util.PSQLException: ERROR: function year(timestamp without time zone) does not exist
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1592)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1327)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:192)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:350)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at org.openxava.tab.impl.JDBCTabProvider.getResultSize(JDBCTabProvider.java:326)
at org.openxava.tab.impl.EntityTabDataProvider.getResultSize(EntityTabDataProvider.java:216)
at org.openxava.tab.impl.EntityTab.getResultSize(EntityTab.java:560)
at org.openxava.tab.impl.TableModelBean.getTotalSize(TableModelBean.java:276)
at org.openxava.tab.impl.XTableModelDecoratorBase.getTotalSize(XTableModelDecoratorBase.java:87)
at org.openxava.tab.Tab.getTotalSize(Tab.java:681)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.