Re: java.sql.SQLRuntimeException: Cannot store DataSet instance to WeakHashMap



Harri Pesonen <fuerte@xxxxxx> writes:

I get the following error (sometimes) when I use DataSet<sometype>
with Derby 10.2.1.0 and JDK6 b98:

I forgot to mention that what you're seeing is a bug in JDK6 b98 (not Derby). I
think it is being worked on, but I don't know which build it will be
fixed in, or when that build will be available for download :(

java.sql.SQLRuntimeException: Cannot store DataSet instance to WeakHashMap
at com.sun.sql.QueryObject.registerDataSet(QueryObject.java:1306)
at com.sun.sql.QueryObject.getQueryImpl(QueryObject.java:767)
at com.sun.sql.QueryObject.access$000(QueryObject.java:26)
at com.sun.sql.QueryObject$1.run(QueryObject.java:229)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.sql.QueryObject.invoke(QueryObject.java:224)

....


--
dt

.



Relevant Pages