stack trace starting when it tries to parse(?) the Eventgiftbundleelement mapping file - as an aside, these debug message are based on log4j settings - which file am i to edit to change the 'level' of information?
as i have said, if i remove the single META element from composite-id, this error does not happen - as you can see, this also stops the entire processing - i have 10 other hbm files to process after this one - and if i remove the META tag it continues processing, until it hits another class that has a META tag in a composite-id
2004-03-03 09:31:50,426 DEBUG [TP-Processor3] cfg.Configuration (Configuration.java:933) - null<-org.dom4
j.tree.DefaultAttribute@1071521 [Attribute: name resource value "com/lupinex/pate/db/Eventgiftbundleelement.h
bm.xml"]
2004-03-03 09:31:50,428 INFO [TP-Processor3] cfg.Configuration (Configuration.java:287) - Mapping resour
ce: com/lupinex/pate/db/Eventgiftbundleelement.hbm.xml
2004-03-03 09:31:50,461 DEBUG [TP-Processor3] util.DTDEntityResolver (DTDEntityResolver.java:20) - trying
to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
2004-03-03 09:31:50,463 DEBUG [TP-Processor3] util.DTDEntityResolver (DTDEntityResolver.java:29) - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
2004-03-03 09:31:50,481 INFO [TP-Processor3] cfg.Binder ( Binder.java:196) - Mapping class: com.
lupinex.pate.db.Eventgiftbundleelement -> eventgiftbundleelement
2004-03-03 09:31:50,494 ERROR [TP-Processor3] cfg.Configuration (Configuration.java:276) - Could not conf
igure datastore from input stream
java.lang.NullPointerException
at net.sf.hibernate.util.StringHelper.qualify(StringHelper.java:239)
at net.sf.hibernate.cfg.Binder.bindComponent(Binder.java:734)
at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:263)
at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1173)
at net.sf.hibernate.cfg.Configuration.add(Configuration.java:245)
at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:268)
at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:291)
at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:935)
at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:890)
at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:826)
at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:812)
at com.lupinex.pate.util.PateSessionFactory.currentSession(PateSessionFactory.java:20)
at com.lupinex.pate.db.PersonFactory.<init>(PersonFactory.java:29)
at com.lupinex.pate.action.authentAction.isAuthenticated(authentAction.java:36)
at com.lupinex.pate.action.authentAction.execute(authentAction.java:64)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:509)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:324)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
2004-03-03 09:31:50,509 INFO [TP-Processor3] cfg.Configuration (Configuration.java:287) - Mapping resour
ce: com/lupinex/pate/db/Eventgiftbundleelement.hbm.xml
2004-03-03 09:31:50,524 DEBUG [TP-Processor3] util.DTDEntityResolver (DTDEntityResolver.java:20) - trying
to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
2004-03-03 09:31:50,526 DEBUG [TP-Processor3] util.DTDEntityResolver (DTDEntityResolver.java:29) - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
2004-03-03 09:31:50,559 ERROR [TP-Processor3] cfg.Configuration (Configuration.java:248) - Could not comp
ile the mapping document
net.sf.hibernate.MappingException: duplicate import: Eventgiftbundleelement
at net.sf.hibernate.cfg.Mappings.addImport(Mappings.java:68)
at net.sf.hibernate.cfg.Binder.bindClass(Binder.java:117)
at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:183)
at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1173)
at net.sf.hibernate.cfg.Configuration.add(Configuration.java:245)
at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:268)
at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:291)
at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:938)
at net.sf.hibernate.cfg.Configuration.doConfigure(Configuration.java:890)
at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:826)
at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:812)
at com.lupinex.pate.util.PateSessionFactory.currentSession(PateSessionFactory.java:20)
at com.lupinex.pate.db.PersonFactory.<init>(PersonFactory.java:29)
at com.lupinex.pate.action.authentAction.isAuthenticated(authentAction.java:36)
at com.lupinex.pate.action.authentAction.execute(authentAction.java:64)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:509)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:324)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
2004-03-03 09:31:50,572 ERROR [TP-Processor3] db.PersonFactory (PersonFactory.java:31) - Failed to get t
he current session from com.lupinex.pate.db.PersonFactory