Skip site navigation (1) Skip section navigation (2)

java.io.EOFException

From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: java.io.EOFException
Date: 2007-12-06 08:16:43
Message-ID: 200712060916.43274.fluca1978@infinito.it (view raw or flat)
Thread:
Lists: pgsql-jdbc
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)

Responses

pgsql-jdbc by date

Next:From: Kris JurkaDate: 2007-12-06 09:39:03
Subject: Re: BatchUpdate exception
Previous:From: Henry B. HotzDate: 2007-12-06 07:45:38
Subject: Re: JDBC and GSSAPI/Krb5

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group