[hibernate-dev] The mail hudson job for Core fails

Strong Liu stliu at redhat.com
Tue Jun 8 22:33:28 EDT 2010


here is the stacetrace, an envers test fails. and since this, the downstream testsuite job will not be triggered.

------------------

Error Message

Unable to build EntityManagerFactory
Stacktrace

javax.persistence.PersistenceException: Unable to build EntityManagerFactory
	at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:896)
	at org.hibernate.envers.test.AbstractEntityTest.init(AbstractEntityTest.java:94)
	at org.hibernate.envers.test.AbstractEntityTest.init(AbstractEntityTest.java:82)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398)
	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145)
	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:82)
	at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:167)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
	at org.testng.TestRunner.runWorkers(TestRunner.java:712)
	at org.testng.TestRunner.privateRun(TestRunner.java:582)
	at org.testng.TestRunner.run(TestRunner.java:477)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
	at org.testng.SuiteRunner.run(SuiteRunner.java:198)
	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:821)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:788)
	at org.testng.TestNG.run(TestNG.java:708)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:74)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: org.hibernate.MappingException: Unable to instantiate custom type: org.hibernate.type.EnumType
	at org.hibernate.type.TypeFactory.custom(TypeFactory.java:187)
	at org.hibernate.type.TypeFactory.custom(TypeFactory.java:174)
	at org.hibernate.type.TypeFactory.byClass(TypeFactory.java:99)
	at org.hibernate.type.TypeResolver.heuristicType(TypeResolver.java:130)
	at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:297)
	at org.hibernate.mapping.Column.getSqlTypeCode(Column.java:164)
	at org.hibernate.mapping.Column.getSqlType(Column.java:208)
	at org.hibernate.mapping.Table.sqlTemporaryTableCreateString(Table.java:371)
	at org.hibernate.mapping.PersistentClass.prepareTemporaryTables(PersistentClass.java:765)
	at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:287)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1390)
	at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:956)
	at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:887)
	... 31 more
Caused by: java.lang.NullPointerException
	at org.hibernate.type.EnumType.setParameterValues(EnumType.java:200)
	at org.hibernate.type.TypeFactory.injectParameters(TypeFactory.java:127)
	at org.hibernate.type.TypeFactory.custom(TypeFactory.java:183)
	... 43 more
Caused by: org.hibernate.MappingException: Unable to instantiate custom type: org.hibernate.type.EnumType
	at org.hibernate.type.TypeFactory.custom(TypeFactory.java:187)
	at org.hibernate.type.TypeFactory.custom(TypeFactory.java:174)
	at org.hibernate.type.TypeFactory.byClass(TypeFactory.java:99)
	at org.hibernate.type.TypeResolver.heuristicType(TypeResolver.java:130)
	at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:297)
	at org.hibernate.mapping.Column.getSqlTypeCode(Column.java:164)
	at org.hibernate.mapping.Column.getSqlType(Column.java:208)
	at org.hibernate.mapping.Table.sqlTemporaryTableCreateString(Table.java:371)
	at org.hibernate.mapping.PersistentClass.prepareTemporaryTables(PersistentClass.java:765)
	at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:287)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1390)
	at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:956)
	at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:887)
	... 31 more
Caused by: java.lang.NullPointerException
	at org.hibernate.type.EnumType.setParameterValues(EnumType.java:200)
	at org.hibernate.type.TypeFactory.injectParameters(TypeFactory.java:127)
	at org.hibernate.type.TypeFactory.custom(TypeFactory.java:183)
	... 43 more


-------------------------
Best Regards,

Strong Liu <stliu at redhat.com>



On Jun 9, 2010, at 10:21 AM, Steve Ebersole wrote:

> What exactly failed?  There is no workspace and running the builds
> (core, testing, testsuite) locally succeed.
> 
> On Wed, 2010-06-09 at 09:40 +0800, Strong Liu wrote:
>> http://hudson.jboss.org/hudson/view/hibernate/job/hibernate-core-trunk/
>> 
>> -------------------------
>> Best Regards,
>> 
>> Strong Liu <stliu at redhat.com>
>> 
>> 
>> 
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
> 
> -- 
> Steve Ebersole <steve at hibernate.org>
> http://hibernate.org
> 




More information about the hibernate-dev mailing list