10-31-05 10:45 PM
[ http://issues.apache.org/jira/browse/JDO-104?page=all ]
Michelle Caisse closed JDO-104:
-------------------------------
> Value is outside the range for the data type DOUBLE
> ---------------------------------------------------
>
> Key: JDO-104
> URL: http://issues.apache.org/jira/browse/JDO-104
> Project: JDO
> Type: Bug
> Components: tck20
> Reporter: Michelle Caisse
> Assignee: Michelle Caisse
>
> value = 4.9E-324
> Seven tests affected:
> org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections
> org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections
> org.apache.jdo.tck.models.fieldtypes.TestHashSetCollections
> org.apache.jdo.tck.models.fieldtypes.TestLinkedListCollections
> org.apache.jdo.tck.models.fieldtypes.TestListCollections
> org.apache.jdo.tck.models.fieldtypes.TestSetCollections
> org.apache.jdo.tck.models.fieldtypes.TestVectorCollections
> test(org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections)javax.j
do.JDODataStoreException: Cannot set Object parameter: value = 4.9E-324
> at org.jpox.store.rdbms.mapping.DoubleRDBMSMapping.setObject(DoubleRDBMSM
apping.java:233)
> at org.jpox.store.mapping.SingleFieldMapping.setObject(SingleFieldMapping
.java:235)
> at org.jpox.store.rdbms.scostore.AbstractCollectionStore.populateElementI
nStatement(AbstractCollectionStore.java:333)
> at org.jpox.store.rdbms.scostore.AbstractListStore.internalAdd(AbstractLi
stStore.java:1615)
> at org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListSto
re.java:333)
> at org.jpox.store.mapping.ListMapping.postUpdate(ListMapping.java:269)
> at org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.java:
266)
> at org.jpox.store.rdbms.table.ClassTable.update(ClassTable.java:1810)
> at org.jpox.store.StoreManager.update(StoreManager.java:710)
> at org.jpox.state.StateManagerImpl.flush(StateManagerImpl.java:4069)
> at org.jpox.AbstractPersistenceManager.flush(AbstractPersistenceManager.j
ava:2917)
> at org.jpox.NonmanagedTransaction.commit(NonmanagedTransaction.java:431)
> at org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections.runTest(
TestArrayListCollections.java:105)
> at org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections.test(Tes
tArrayListCollections.java:69)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
> at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:197)
> at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128
)
> at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)
> NestedThrowablesStackTrace:
> ERROR 22003: The resulting value is outside the range for the data type DO
UBLE.
> at org.apache.derby.iapi.error.StandardException.newException(StandardExc
eption.java)
> at org.apache.derby.iapi.types.NumberDataType.normalizeDOUBLE(NumberDataT
ype.java)
> at org.apache.derby.iapi.types.SQLDouble.setValue(SQLDouble.java)
> at org.apache.derby.impl.jdbc.EmbedPreparedStatement.setDouble(EmbedPrepa
redStatement.java)
> at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.setDouble(NewProxyP
reparedStatement.java:206)
> at org.jpox.store.rdbms.mapping.DoubleRDBMSMapping.setObject(DoubleRDBMSM
apping.java:228)
> at org.jpox.store.mapping.SingleFieldMapping.setObject(SingleFieldMapping
.java:235)
> at org.jpox.store.rdbms.scostore.AbstractCollectionStore.populateElementI
nStatement(AbstractCollectionStore.java:333)
> at org.jpox.store.rdbms.scostore.AbstractListStore.internalAdd(AbstractLi
stStore.java:1615)
> at org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListSto
re.java:333)
> at org.jpox.store.mapping.ListMapping.postUpdate(ListMapping.java:269)
> at org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.java:
266)
> at org.jpox.store.rdbms.table.ClassTable.update(ClassTable.java:1810)
> at org.jpox.store.StoreManager.update(StoreManager.java:710)
> at org.jpox.state.StateManagerImpl.flush(StateManagerImpl.java:4069)
> at org.jpox.AbstractPersistenceManager.flush(AbstractPersistenceManager.j
ava:2917)
> at org.jpox.NonmanagedTransaction.commit(NonmanagedTransaction.java:431)
> at org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections.runTest(
TestArrayListCollections.java:105)
> at org.apache.jdo.tck.models.fieldtypes.TestArrayListCollections.test(Tes
tArrayListCollections.java:69)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
> at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:197)
> at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128
)
> at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[ Post a follow-up to this message ]
|