java.io.EOFException - Mailing list pgsql-jdbc
From | Luca Ferrari |
---|---|
Subject | java.io.EOFException |
Date | |
Msg-id | 200712060916.43274.fluca1978@infinito.it Whole thread Raw |
Responses |
Re: java.io.EOFException
|
List | 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)
pgsql-jdbc by date: