pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Error on setAutoCommit with 9.4.1207
4+ messages / 3 participants
[nested] [flat]

* Error on setAutoCommit with 9.4.1207
@ 2016-01-13 11:04  Enrico Olivelli - Diennea <enrico.olivelli@diennea.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Enrico Olivelli - Diennea @ 2016-01-13 11:04 UTC (permalink / raw)
  To: pgsql-jdbc

Hi,
after an upgrade to 9.4.1207 we get sometimes in this error:

java.util.NoSuchElementException
                at java.util.ArrayDeque.removeFirst(ArrayDeque.java:280)
                at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1841)
                at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:173)
                at org.postgresql.jdbc.PgConnection.executeTransactionCommand(PgConnection.java:732)
                at org.postgresql.jdbc.PgConnection.commit(PgConnection.java:745)
                at org.postgresql.jdbc.PgConnection.setAutoCommit(PgConnection.java:715)

Could it be a 1207 regression ? on previuos version the error never occours


Enrico Olivelli
Software Development Manager @Diennea
Tel.: (+39) 0546 066100 - Int. 925
Viale G.Marconi 30/14 - 48018 Faenza (RA)

MagNews - E-mail Marketing Solutions
http://www.magnews.it<http://www.magnews.it/;
Diennea - Digital Marketing Solutions
http://www.diennea.com<http://www.diennea.com/;


________________________________
Iscriviti alla nostra newsletter per rimanere aggiornato su digital ed email marketing! http://www.magnews.it/newsletter/

The information in this email is confidential and may be legally privileged. If you are not the intended recipient please notify the sender immediately and destroy this email. Any unauthorized, direct or indirect, disclosure, copying, storage, distribution or other use is strictly forbidden.

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Error on setAutoCommit with 9.4.1207
@ 2016-01-13 11:15  Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  parent: Enrico Olivelli - Diennea <enrico.olivelli@diennea.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Vladimir Sitnikov @ 2016-01-13 11:15 UTC (permalink / raw)
  To: Enrico Olivelli - Diennea <enrico.olivelli@diennea.com>; +Cc: pgsql-jdbc

Can you provide a testcase?

Vladimir


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Error on setAutoCommit with 9.4.1207
@ 2016-01-13 11:34  Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  parent: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Vladimir Sitnikov @ 2016-01-13 11:34 UTC (permalink / raw)
  To: Enrico Olivelli - Diennea <enrico.olivelli@diennea.com>; +Cc: pgsql-jdbc

‎Can you add -Dloglevel=2 to make the driver print detailed trace?

It would help.

Vladimir



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Error on setAutoCommit with 9.4.1207
@ 2016-01-13 12:18  Dave Cramer <pg@fastcrypt.com>
  parent: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Dave Cramer @ 2016-01-13 12:18 UTC (permalink / raw)
  To: Enrico Olivelli - Diennea <enrico.olivelli@diennea.com>; +Cc: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>; pgsql-jdbc

You have to call DriverManager.setLogWriter and it will be written to there

Dave Cramer

davec@postgresintl.com
www.postgresintl.com

On 13 January 2016 at 07:07, Enrico Olivelli - Diennea <
enrico.olivelli@diennea.com> wrote:

> To which logger the info will be printed ?
>
> -----Messaggio originale-----
> Da: pgsql-jdbc-owner@postgresql.org [mailto:
> pgsql-jdbc-owner@postgresql.org] Per conto di Vladimir Sitnikov
> Inviato: mercoledì 13 gennaio 2016 12:34
> A: Enrico Olivelli - Diennea <enrico.olivelli@diennea.com>
> Cc: pgsql-jdbc@postgresql.org
> Oggetto: Re: [JDBC] Error on setAutoCommit with 9.4.1207
>
> ‎Can you add -Dloglevel=2 to make the driver print detailed trace?
>
> It would help.
>
> Vladimir
>
>
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make
> changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>
> Iscriviti alla nostra newsletter per rimanere aggiornato su digital ed
> email marketing! http://www.magnews.it/newsletter/
>
> The information in this email is confidential and may be legally
> privileged. If you are not the intended recipient please notify the sender
> immediately and destroy this email. Any unauthorized, direct or indirect,
> disclosure, copying, storage, distribution or other use is strictly
> forbidden.
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2016-01-13 12:18 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-01-13 11:04 Error on setAutoCommit with 9.4.1207 Enrico Olivelli - Diennea <enrico.olivelli@diennea.com>
2016-01-13 11:15 ` Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
2016-01-13 11:34   ` Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
2016-01-13 12:18     ` Dave Cramer <pg@fastcrypt.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox