db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruben Fonseca <rubenfons...@di.uminho.pt>
Subject Re: Store very large Strings
Date Fri, 13 Apr 2007 14:44:27 GMT
On Fri, 2007-04-13 at 07:33 -0700, Bryan Pendleton wrote:
> > Caused by: java.sql.SQLException: An IOException was thrown when reading a 'java.sql.String'
from an InputStream.
> > 	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
> > 	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
> > 	... 14 more
> 
> I wonder if there is more information in the exception chain.
> Can you modify your code to use the technique suggested here:
> http://www.nabble.com/Re%3A-Failed-to-start-database-p8652256.html
> to gather any additional information from the exception chain?

New trace :)

java.sql.SQLException: An IOException was thrown when reading a 'java.sql.String' from an
InputStream.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedResultSet.noStateChangeException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedResultSet.getString(Unknown Source)
	at org.pt.um.di.gepl.model.DBFile.<init>(DBFile.java:45)
	at org.pt.um.di.gepl.gui.SVGNodeGraph.buildDepGraph(SVGNodeGraph.java:51)
	at org.pt.um.di.gepl.gui.listeners.FileClickListener.handleEvent(FileClickListener.java:57)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1097)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3238)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2905)
	at org.pt.um.di.gepl.gui.Gui.loop(Gui.java:117)
	at org.pt.um.di.gepl.gui.Gui.main(Gui.java:126)
Caused by: java.sql.SQLException: An IOException was thrown when reading a 'java.sql.String'
from an InputStream.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
	... 14 more
java.sql.SQLException: Java exception: 'ERROR 40XD0: Container has been closed.: java.io.IOException'.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedResultSet.noStateChangeException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedResultSet.getString(Unknown Source)
	at org.pt.um.di.gepl.model.DBFile.<init>(DBFile.java:45)
	at org.pt.um.di.gepl.gui.SVGNodeGraph.buildDepGraph(SVGNodeGraph.java:51)
	at org.pt.um.di.gepl.gui.listeners.FileClickListener.handleEvent(FileClickListener.java:57)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1097)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3238)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2905)
	at org.pt.um.di.gepl.gui.Gui.loop(Gui.java:117)
	at org.pt.um.di.gepl.gui.Gui.main(Gui.java:126)
Caused by: java.sql.SQLException: Java exception: 'ERROR 40XD0: Container has been closed.:
java.io.IOException'.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
	... 17 more
java.sql.SQLException: An IOException was thrown when reading a 'java.sql.String' from an
InputStream.
java.sql.SQLException: Java exception: 'ERROR 40XD0: Container has been closed.: java.io.IOException'.
java.lang.NullPointerException
	at java.io.StringReader.<init>(StringReader.java:33)
	at org.pt.um.di.gepl.gui.SVGNodeGraph.createSVGNode(SVGNodeGraph.java:118)
	at org.pt.um.di.gepl.gui.SVGNodeGraph.buildDepGraph(SVGNodeGraph.java:53)
	at org.pt.um.di.gepl.gui.listeners.FileClickListener.handleEvent(FileClickListener.java:57)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1097)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3238)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2905)
	at org.pt.um.di.gepl.gui.Gui.loop(Gui.java:117)
	at org.pt.um.di.gepl.gui.Gui.main(Gui.java:126)

Thanks

> 
> thanks,
> 
> bryan
> 


Mime
View raw message