I have no idea to fix this problem. Any help?
Please!
Hibernate version:
3.0
Full stack trace of any exception that occurs:
12:11:58,574 INFO [Environment] Hibernate 3.0rc1
12:11:58,579 INFO [Environment] hibernate.properties not found
12:11:58,583 INFO [Environment] using CGLIB reflection optimizer
12:11:58,585 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
12:11:58,586 INFO [Configuration] configuring from resource: /hibernate.cfg.xml
12:11:58,586 INFO [Configuration] Configuration resource: /hibernate.cfg.xml
12:11:58,618 INFO [Configuration] Mapping resource: Requisito.hbm.xml
12:11:58,846 INFO [HbmBinder] Mapping class: app.Requisito -> requisito
12:11:59,118 INFO [Configuration] Mapping resource: Status.hbm.xml
12:11:59,178 INFO [HbmBinder] Mapping class: app.Status -> status
12:11:59,180 INFO [Configuration] Mapping resource: CasoUso.hbm.xml
12:11:59,197 INFO [HbmBinder] Mapping class: app.CasoUso -> caso_uso
12:11:59,198 INFO [Configuration] Mapping resource: Modulo.hbm.xml
12:11:59,218 INFO [HbmBinder] Mapping class: app.Modulo -> modulo
12:11:59,219 INFO [Configuration] Mapping resource: Projeto.hbm.xml
12:11:59,258 INFO [HbmBinder] Mapping class: app.Projeto -> projeto
12:11:59,259 INFO [Configuration] Configured SessionFactory: null
12:11:59,280 INFO [Configuration] processing extends queue
12:11:59,280 INFO [Configuration] processing collection mappings
12:11:59,280 INFO [Configuration] processing association property references
12:11:59,281 INFO [Configuration] processing foreign key constraints
12:11:59,403 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
12:11:59,443 INFO [SettingsFactory] Maximum outer join fetch depth: 2
12:11:59,444 INFO [SettingsFactory] Default batch fetch size: 1
12:11:59,444 INFO [SettingsFactory] Generate SQL with comments: disabled
12:11:59,444 INFO [SettingsFactory] Order SQL updates by primary key: disabled
12:11:59,444 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
12:11:59,453 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
12:11:59,454 INFO [SettingsFactory] Query language substitutions: {}
12:11:59,473 INFO [DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!)
12:11:59,473 INFO [DriverManagerConnectionProvider] Hibernate connection pool size: 20
12:11:59,473 INFO [DriverManagerConnectionProvider] autocommit mode: false
12:11:59,504 INFO [DriverManagerConnectionProvider] using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://192.168.1.202/requisitos
12:11:59,504 INFO [DriverManagerConnectionProvider] connection properties: {user=root, password=pknaju}
12:12:00,618 INFO [SettingsFactory] JDBC batch size: 15
12:12:00,619 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
12:12:00,622 INFO [SettingsFactory] Scrollable result sets: enabled
12:12:00,623 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
12:12:00,635 INFO [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)
12:12:00,646 INFO [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
12:12:00,648 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
12:12:00,648 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
12:12:00,649 INFO [SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider
12:12:00,665 INFO [SettingsFactory] Second-level cache: enabled
12:12:00,666 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
12:12:00,666 INFO [SettingsFactory] Structured second-level cache entries: enabled
12:12:00,666 INFO [SettingsFactory] Query cache: disabled
12:12:00,666 INFO [SettingsFactory] Echoing all SQL to stdout
12:12:00,667 INFO [SettingsFactory] Statistics: disabled
12:12:00,667 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
12:12:00,670 INFO [SettingsFactory] Default entity-mode: pojo
12:12:01,355 INFO [SessionFactoryImpl] building session factory
12:12:01,387 WARN [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/usr/java/jboss-4.0.0RC1/server/default/deploy/Axsys_Requisitos.war/WEB-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
12:12:03,176 ERROR [Engine] ApplicationDispatcher[/Axsys_Requisitos] Servlet.service() for servlet jsp threw exception
javax.faces.el.EvaluationException: java.lang.ExceptionInInitializerError
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
at javax.faces.component.UISelectItems.getValue(UISelectItems.java:110)
at com.sun.faces.util.Util.getSelectItems(Util.java:600)
at com.sun.faces.renderkit.html_basic.MenuRenderer.getOptionNumber(MenuRenderer.java:488)
at com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:465)
at com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:430)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:623)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
at com.sun.faces.taglib.html_basic.SelectOneMenuTag.doEndTag(SelectOneMenuTag.java:505)
at org.apache.jsp.Requisitos_jsp._jspx_meth_h_selectOneMenu_0(Requisitos_jsp.java:403)
at org.apache.jsp.Requisitos_jsp._jspx_meth_h_form_0(Requisitos_jsp.java:226)
at org.apache.jsp.Requisitos_jsp._jspx_meth_f_view_0(Requisitos_jsp.java:172)
at org.apache.jsp.Requisitos_jsp._jspService(Requisitos_jsp.java:137)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:146)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:122)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ExceptionInInitializerError
at dao.SingleSF.<clinit>(SingleSF.java:20)
at dao.ProjetoDAO.<init>(ProjetoDAO.java:23)
at app.Sistema.<init>(Sistema.java:21)
at app.Sistema.getInstancia(Sistema.java:11)
at sis.RequisitoBean.<init>(RequisitoBean.java:35)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at java.beans.Beans.instantiate(Beans.java:204)
at java.beans.Beans.instantiate(Beans.java:48)
at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:203)
at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:256)
at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)
at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
... 60 more
Caused by: org.hibernate.InstantiationException: could not instantiate test objectapp.CasoUso
at org.hibernate.engine.UnsavedValueFactory.instantiate(UnsavedValueFactory.java:25)
at org.hibernate.engine.UnsavedValueFactory.getUnsavedIdentifierValue(UnsavedValueFactory.java:44)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:41)
at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:104)
at org.hibernate.persister.entity.BasicEntityPersister.<init>(BasicEntityPersister.java:398)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:104)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:199)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1043)
at dao.SingleSF.<clinit>(SingleSF.java:14)
... 79 more
12:12:03,182 ERROR [Engine] StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
javax.faces.el.EvaluationException: java.lang.ExceptionInInitializerError
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
at javax.faces.component.UISelectItems.getValue(UISelectItems.java:110)
at com.sun.faces.util.Util.getSelectItems(Util.java:600)
at com.sun.faces.renderkit.html_basic.MenuRenderer.getOptionNumber(MenuRenderer.java:488)
at com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:465)
at com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:430)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:623)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
at com.sun.faces.taglib.html_basic.SelectOneMenuTag.doEndTag(SelectOneMenuTag.java:505)
at org.apache.jsp.Requisitos_jsp._jspx_meth_h_selectOneMenu_0(Requisitos_jsp.java:403)
at org.apache.jsp.Requisitos_jsp._jspx_meth_h_form_0(Requisitos_jsp.java:226)
at org.apache.jsp.Requisitos_jsp._jspx_meth_f_view_0(Requisitos_jsp.java:172)
at org.apache.jsp.Requisitos_jsp._jspService(Requisitos_jsp.java:137)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:146)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:122)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ExceptionInInitializerError
at dao.SingleSF.<clinit>(SingleSF.java:20)
at dao.ProjetoDAO.<init>(ProjetoDAO.java:23)
at app.Sistema.<init>(Sistema.java:21)
at app.Sistema.getInstancia(Sistema.java:11)
at sis.RequisitoBean.<init>(RequisitoBean.java:35)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at java.beans.Beans.instantiate(Beans.java:204)
at java.beans.Beans.instantiate(Beans.java:48)
at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:203)
at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:256)
at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)
at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
... 60 more
Caused by: org.hibernate.InstantiationException: could not instantiate test objectapp.CasoUso
at org.hibernate.engine.UnsavedValueFactory.instantiate(UnsavedValueFactory.java:25)
at org.hibernate.engine.UnsavedValueFactory.getUnsavedIdentifierValue(UnsavedValueFactory.java:44)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:41)
at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:104)
at org.hibernate.persister.entity.BasicEntityPersister.<init>(BasicEntityPersister.java:398)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:104)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:199)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1043)
at dao.SingleSF.<clinit>(SingleSF.java:14)
... 79 more
Name and version of the database you are using:
MySQL 4.0.22
_________________ Plinio Marcos Mendonça
Axsys Soluções em TI
|