Hello
I am new to hibernate and always get the following error:
[java] 03.06.2004 16:21:59 net.sf.hibernate.cfg.Environment <clinit>
[java] INFO: Hibernate 2.1.2
[java] 03.06.2004 16:21:59 net.sf.hibernate.cfg.Environment <clinit>
[java] INFO: hibernate.properties not found
[java] 03.06.2004 16:21:59 net.sf.hibernate.cfg.Environment <clinit>
[java] INFO: using CGLIB reflection optimizer
[java] 03.06.2004 16:21:59 net.sf.hibernate.cfg.Configuration configure
[java] INFO: configuring from file: Logging.hbm.xml
[java] %%%% Error Creating SessionFactory %%%%
[java] java.lang.NullPointerException
[java] at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:958)
[java] at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:928)
[java] at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:890)
[java] at de.scheller.flex.logging.db.HibernateSession.loadClasses(HibernateSession.java:73)
[java] at de.scheller.flex.logging.db.HibernateSession.currentSession(HibernateSession.java:33)
[java] at de.scheller.flex.core.ServerStarter.initialize(ServerStarter.java:118)
[java] at de.scheller.flex.core.ServerStarter.main(ServerStarter.java:53)
[java] Exception in thread "main" java.lang.NullPointerException
[java] at de.scheller.flex.logging.db.HibernateSession.currentSession(HibernateSession.java:41)
[java] at de.scheller.flex.core.ServerStarter.initialize(ServerStarter.java:118)
[java] at de.scheller.flex.core.ServerStarter.main(ServerStarter.java:53)
the code for HibernateSession is taken from
http://www.systemmobile.com/articles/In ... rnate.html which also the was the foundation of my tries. any ideas?