[hibernate-dev] org.hibernate.test.annotations.id.IdTest NPE unit test failure on trunk
Scott Marlow
smarlow at redhat.com
Mon Dec 7 19:57:21 EST 2009
Is anyone else seeing a NPE in idTest (31 other tests failed also)
during unit testing?
Caused by: java.lang.NullPointerException
at
org.hibernate.id.MultipleHiLoPerTableGenerator.configure(MultipleHiLoPerTableGenerator.java:227)
at
org.hibernate.id.factory.DefaultIdentifierGeneratorFactory.createIdentifierGenerator(DefaultIdentifierGeneratorFactory.java:110)
at
org.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:177)
at
org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:234)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1,381)
at
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:863)
at
org.hibernate.test.annotations.TestCase.buildSessionFactory(TestCase.java:93)
at org.hibernate.test.annotations.TestCase.setUp(TestCase.java:106)
This appears to be caused by "params.get( IDENTIFIER_NORMALIZER )"
returning null.
Scott
More information about the hibernate-dev
mailing list