openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "roger.keays" <roger.ke...@ninthavenue.com.au>
Subject problems building 0.9.7
Date Thu, 12 Apr 2007 02:55:07 GMT

A couple of observations:

 1) the 0.9.7-incubating-RC1 branch has 0.9.8-incubating in the pom
 2) I get test errors building the 0.9.7-incubating branch (see below)
 3) I can't build with jdk1.6

The test errors are:

testGetReference(org.apache.openjpa.persistence.inheritance.TestSharedMappedSuperclassIdValue)

Time elapsed: 0.126 sec  <<< ERROR!
java.lang.NoSuchFieldError: pcFlags
        at
org.apache.openjpa.persistence.inheritance.MappedSuperclassL2.pcNewInstance(MappedSuperclassL2.java)
        at
org.apache.openjpa.enhance.PCRegistry.newInstance(PCRegistry.java:108)
        at
org.apache.openjpa.meta.ClassMetaData.resolveMeta(ClassMetaData.java:1685)
        at
org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1567)
        at
org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:656)
        at
org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepository.java:556)
        at
org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:481)
        at
org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:285)
        at
org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepository.java:521)
        at
org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:481)
        at
org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:285)
        at
org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2375)
        at
org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2228)
        at
org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1007)
        at
org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:538)
        at
org.apache.openjpa.persistence.inheritance.TestSharedMappedSuperclassIdValue.setUp(TestSharedMappedSuperclassIdValue.java:47)
        at junit.framework.TestCase.runBare(TestCase.java:125)

testFind(org.apache.openjpa.persistence.inheritance.TestSharedMappedSuperclassIdValue) 
Time elapsed: 0.291 sec  <<< ERROR!
java.lang.NoSuchFieldError: pcFlags
        at
org.apache.openjpa.persistence.inheritance.MappedSuperclassL2.pcNewInstance(MappedSuperclassL2.java)
        at
org.apache.openjpa.enhance.PCRegistry.newInstance(PCRegistry.java:108)
        at
org.apache.openjpa.meta.ClassMetaData.resolveMeta(ClassMetaData.java:1685)
        at
org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1567)
        at
org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:656)
        at
org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepository.java:556)
        at
org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:481)
        at
org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:285)
        at
org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepository.java:521)
        at
org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:481)
        at
org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:285)
        at
org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2375)
        at
org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2228)
        at
org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1007)
        at
org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:538)
        at
org.apache.openjpa.persistence.inheritance.TestSharedMappedSuperclassIdValue.setUp(TestSharedMappedSuperclassIdValue.java:47)
        at junit.framework.TestCase.runBare(TestCase.java:125)

testPersist(org.apache.openjpa.persistence.inheritance.TestMultipleMappedSuperclassHierarchy)

Time elapsed: 0.17 sec  <<< ERROR!
<0.0.0 fatal general error>
org.apache.openjpa.persistence.PersistenceException: null
        at
org.apache.openjpa.jdbc.meta.Discriminator.assertStrategy(Discriminator.java:406)
        at
org.apache.openjpa.jdbc.meta.Discriminator.select(Discriminator.java:382)
        at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.selectBaseMappings(JDBCStoreManager.java:1017)
        at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.select(JDBCStoreManager.java:882)
        at
org.apache.openjpa.jdbc.sql.SelectImpl.select(SelectImpl.java:794)
        at
org.apache.openjpa.jdbc.sql.SelectImpl.selectIdentifier(SelectImpl.java:842)
        at
org.apache.openjpa.jdbc.sql.SelectImpl.selectIdentifier(SelectImpl.java:836)
        at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.select(SelectConstructor.java:263)
        at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeBulkOperation(JDBCStoreQuery.java:467)
        at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeDelete(JDBCStoreQuery.java:420)
        at
org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.executeDelete(ExpressionStoreQuery.java:679)
        at org.apache.openjpa.kernel.QueryImpl.delete(QueryImpl.java:1000)
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:793)
        at org.apache.openjpa.kernel.QueryImpl.deleteAll(QueryImpl.java:858)
        at org.apache.openjpa.kernel.QueryImpl.deleteAll(QueryImpl.java:854)
        at
org.apache.openjpa.kernel.DelegatingQuery.deleteAll(DelegatingQuery.java:538)
        at
org.apache.openjpa.persistence.QueryImpl.executeUpdate(QueryImpl.java:315)
        at
org.apache.openjpa.persistence.test.PersistenceTestCase.clear(PersistenceTestCase.java:151)
        at
org.apache.openjpa.persistence.test.PersistenceTestCase.clear(PersistenceTestCase.java:134)
        at
org.apache.openjpa.persistence.test.SingleEMFTestCase.tearDown(SingleEMFTestCase.java:48)
        at junit.framework.TestCase.runBare(TestCase.java:130)


JDK 1.6 gives me:

[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

/home/roger/ninthavenue/src/vendor/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/Utils.java:[201,22]
sun.misc.Perf is Sun proprietary API and may be removed in a future release

/home/roger/ninthavenue/src/vendor/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingConnection.java:[43,7]
org.apache.openjpa.lib.jdbc.DelegatingConnection is not abstract and does
not override abstract method
createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection

/home/roger/ninthavenue/src/vendor/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingPreparedStatement.java:[48,7]
org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement is not abstract and
does not override abstract method setNClob(int,java.io.Reader) in
java.sql.PreparedStatement

/home/roger/ninthavenue/src/vendor/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingStatement.java:[34,7]
org.apache.openjpa.lib.jdbc.DelegatingStatement is not abstract and does not
override abstract method isPoolable() in java.sql.Statement

/home/roger/ninthavenue/src/vendor/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingDatabaseMetaData.java:[28,7]
org.apache.openjpa.lib.jdbc.DelegatingDatabaseMetaData is not abstract and
does not override abstract method
getFunctionColumns(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
in java.sql.DatabaseMetaData

/home/roger/ninthavenue/src/vendor/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingCallableStatement.java:[46,7]
org.apache.openjpa.lib.jdbc.DelegatingCallableStatement is not abstract and
does not override abstract method setNClob(java.lang.String,java.io.Reader)
in java.sql.CallableStatement

/home/roger/ninthavenue/src/vendor/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingDataSource.java:[32,7]
org.apache.openjpa.lib.jdbc.DelegatingDataSource is not abstract and does
not override abstract method isWrapperFor(java.lang.Class) in
java.sql.Wrapper

/home/roger/ninthavenue/src/vendor/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/jdbc/DelegatingResultSet.java:[47,7]
org.apache.openjpa.lib.jdbc.DelegatingResultSet is not abstract and does not
override abstract method updateNClob(java.lang.String,java.io.Reader) in
java.sql.ResultSet

/home/roger/ninthavenue/src/vendor/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/Utils.java:[205,28]
sun.misc.Perf is Sun proprietary API and may be removed in a future release

/home/roger/ninthavenue/src/vendor/openjpa/trunk/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/concurrent/Utils.java:[208,39]
sun.misc.Perf is Sun proprietary API and may be removed in a
-- 
View this message in context: http://www.nabble.com/problems-building-0.9.7-tf3563107.html#a9952136
Sent from the open-jpa-dev mailing list archive at Nabble.com.


Mime
View raw message