pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Luca Ferrari <fluca1978@infinito.it>
To: pgsql-jdbc@postgresql.org
Subject: java.io.EOFException
Date: Thu, 6 Dec 2007 09:16:43 +0100
Message-ID: <200712060916.43274.fluca1978@infinito.it> (raw)

Hi all,
from a couple of days my application is launching, not every time, an 
EOFException while querying the database. Since it never happened before, and 
the code that queries the database didn't change, is there something I should 
worry about with the server/driver configuration?

Thanks,
Luca


ERROR - Caught SQL exception in query execution 
org.postgresql.util.PSQLException: Si è verificato un errore di I/O nella 
spedizione di dati al server.
	at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:217)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:351)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:255)
	at g2.database.Database.query(Database.java:401)
	at g2.database.mapping.Person.refreshSkills(Person.java:463)
	at g2.database.mapping.Person.refresh(Person.java:339)
	at g2.database.mapping.Person.loadAll(Person.java:1906)
	at g2.gui.workers.PersonSwingWorker.doInBackground(PersonSwingWorker.java:90)
	at g2.gui.workers.TreeSwingWorker.doInBackground(TreeSwingWorker.java:1)
	at javax.swing.SwingWorker$1.call(SwingWorker.java:278)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at javax.swing.SwingWorker.run(SwingWorker.java:317)
	at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.EOFException
	at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:257)
	at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1165)
	at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:191)
	... 16 more
ERROR - Query SQL string: SELECT DISTINCT skillPK, skillID, skill_description 
FROM vw_j_role_skill WHERE rolePK IN (SELECT rolePK FROM j_person_role WHERE 
personPK=?)  AND skillPK NOT IN (SELECT skillPK FROM j_person_skill WHERE 
personPK=?)
ERROR - Exception caught while refreshing a person 
g2.database.DatabaseException: Si è verificato un errore di I/O nella 
spedizione di dati al server.
	at g2.database.Database.query(Database.java:409)
	at g2.database.mapping.Person.refreshSkills(Person.java:463)
	at g2.database.mapping.Person.refresh(Person.java:339)
	at g2.database.mapping.Person.loadAll(Person.java:1906)
	at g2.gui.workers.PersonSwingWorker.doInBackground(PersonSwingWorker.java:90)
	at g2.gui.workers.TreeSwingWorker.doInBackground(TreeSwingWorker.java:1)
	at javax.swing.SwingWorker$1.call(SwingWorker.java:278)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at javax.swing.SwingWorker.run(SwingWorker.java:317)
	at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)



view thread (2+ messages)  latest in thread

Message-ID: <200712060916.43274.fluca1978@infinito.it>
Permalink:  ../200712060916.43274.fluca1978@infinito.it/
Also on:    postgresql.org/message-id/200712060916.43274.fluca1978@infinito.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: fluca1978@infinito.it
  Subject: Re: java.io.EOFException
  In-Reply-To: <200712060916.43274.fluca1978@infinito.it>
  References: <200712060916.43274.fluca1978@infinito.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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