[jboss-user] [JBoss Seam] - Re: TestNG entityMnager question
dkane
do-not-reply at jboss.com
Sun Dec 2 11:04:07 EST 2007
Now getting
java.lang.ExceptionInInitializerError
| at org.hibernate.cfg.Configuration.reset(Configuration.java:168)
| at org.hibernate.cfg.AnnotationConfiguration.reset(AnnotationConfiguration.java:211)
| at org.hibernate.cfg.Configuration.<init>(Configuration.java:187)
| at org.hibernate.cfg.Configuration.<init>(Configuration.java:191)
| at org.hibernate.cfg.AnnotationConfiguration.<init>(AnnotationConfiguration.java:87)
| at org.hibernate.ejb.Ejb3Configuration.<clinit>(Ejb3Configuration.java:105)
| at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:119)
| at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
| at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
| at com.avtohouse.test.SimpleSearchCase.simpleSearch(SimpleSearchCase.java:22)
| Caused by: java.lang.NullPointerException
| at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:144)
| at org.hibernate.cfg.Environment.<clinit>(Environment.java:529)
| ... 32 more
| ... Removed 22 stack frames
no idea what is still missing
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109645#4109645
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109645
More information about the jboss-user
mailing list