Created
October 15, 2015 15:50
-
-
Save tristandostaler/f7fca9fbc3189786d2df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Initial SessionFactory creation failed.org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister | |
oct. 15, 2015 11:46:33 AM org.apache.catalina.core.StandardWrapperValve invoke | |
GRAVE: Servlet.service() for servlet [action] in context with path [/LOG660-E3-LA2] threw exception [L''exécution de la servlet a lancé une exception] with root cause | |
java.lang.NullPointerException | |
at ca.etsmtl.log660.bean.Adresse.getId(Adresse.java:26) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | |
at java.lang.reflect.Method.invoke(Unknown Source) | |
at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:164) | |
at org.hibernate.engine.internal.UnsavedValueFactory.getUnsavedIdentifierValue(UnsavedValueFactory.java:68) | |
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:75) | |
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:145) | |
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:507) | |
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:146) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) | |
at java.lang.reflect.Constructor.newInstance(Unknown Source) | |
at org.hibernate.persister.internal.PersisterFactoryImpl.create(PersisterFactoryImpl.java:163) | |
at org.hibernate.persister.internal.PersisterFactoryImpl.createEntityPersister(PersisterFactoryImpl.java:135) | |
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:385) | |
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1769) | |
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1840) | |
at ca.etsmtl.log660.HibernateUtil.<clinit>(HibernateUtil.java:17) | |
at ca.etsmtl.log660.facade.Connexion.<init>(Connexion.java:20) | |
at ca.etsmtl.log660.web.ConnectionAction.directive(ConnectionAction.java:24) | |
at ca.etsmtl.log660.web.AbstractAction.execute(AbstractAction.java:19) | |
at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58) | |
at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67) | |
at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51) | |
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191) | |
at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305) | |
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191) | |
at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283) | |
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) | |
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) | |
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) | |
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) | |
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) | |
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) | |
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) | |
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) | |
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) | |
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) | |
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) | |
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) | |
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) | |
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) | |
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) | |
at java.lang.Thread.run(Unknown Source) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment