Version 2 (modified by 13 years ago) (diff) | ,
---|
- rendering ftl forms : selections from error : . When regenerating & first run ..ok . after db change problem reappears.
- Method public java.lang.String org.molgenis.framework.ui.SimpleScreenModel.render() throws org.molgenis.framework.ui.html.HtmlInputException threw an exception when invoked on org.molgenis.framework.ui.FormModel@5515c974
The problematic instruction: - ==> ${screen.render()} [on line 15, column 17 in Layout.ftl]
in user-directive layout [on line 119, column 9 in MenuView.ftl]
- Method public java.lang.String org.molgenis.framework.ui.SimpleScreenModel.render() throws org.molgenis.framework.ui.html.HtmlInputException threw an exception when invoked on org.molgenis.framework.ui.FormModel@5515c974
- Trying JPA on catalogue :
14:24:05,985 ERROR FrontController:76 - [PersistenceUnit: molgenis] Unable to build EntityManagerFactory
org.molgenis.framework.db.DatabaseException: [PersistenceUnit: molgenis] Unable to build EntityManagerFactory
at org.molgenis.framework.server.MolgenisFrontController .getSecuredDatabase(MolgenisFrontController.java:157 )
at org.molgenis.framework.server.MolgenisFrontController .handleRequest(MolgenisFrontController.java:115 )
at org.molgenis.framework.server.MolgenisFrontController .service(MolgenisFrontController.java:71 )
at javax.servlet.http.HttpServlet .service(HttpServlet.java:717 )
at org.apache.catalina.core.ApplicationFilterChain .internalDoFilter(ApplicationFilterChain.java:290 )
at org.apache.catalina.core.ApplicationFilterChain .doFilter(ApplicationFilterChain.java:206 )
at org.apache.catalina.core.StandardWrapperValve .invoke(StandardWrapperValve.java:233 )
at org.apache.catalina.core.StandardContextValve .invoke(StandardContextValve.java:191 )
at org.apache.catalina.core.StandardHostValve .invoke(StandardHostValve.java:127 )
at org.apache.catalina.valves.ErrorReportValve .invoke(ErrorReportValve.java:102 )
at org.apache.catalina.core.StandardEngineValve .invoke(StandardEngineValve.java:109 )
at org.apache.catalina.connector.CoyoteAdapter .service(CoyoteAdapter.java:298 )
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852 )
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588 )
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489 )
at java.lang.Thread.run(Thread.java:680 )
Caused by: org.molgenis.framework.db.DatabaseException: [PersistenceUnit: molgenis] Unable to build EntityManagerFactory
at app.DatabaseFactory .createJpaDatabase(DatabaseFactory.java:45 )
at app.DatabaseFactory .create(DatabaseFactory.java:84 )
at app.servlet.FrontController .createDatabase(FrontController.java:95 )
at org.molgenis.framework.server.MolgenisFrontController .getSecuredDatabase(MolgenisFrontController.java:147 )
... 15 more
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: molgenis] Unable to build EntityManagerFactory
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915 )
at org.hibernate.ejb.HibernatePersistence .createEntityManagerFactory(HibernatePersistence.java:57 )
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:48 )
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:32 )
at org.molgenis.framework.db.jpa.JpaDatabase $EMFactory.addEntityManagerFactory(JpaDatabase.java:58 )
at org.molgenis.framework.db.jpa.JpaDatabase $EMFactory.<init>(JpaDatabase.java:41 )
at org.molgenis.framework.db.jpa.JpaDatabase $EMFactory.createEntityManager(JpaDatabase.java:83 )
at app.JpaDatabase .<init>(JpaDatabase.java:84 )
at app.DatabaseFactory .createJpaDatabase(DatabaseFactory.java:43 )
... 18 more
Caused by: org.hibernate.HibernateException: Wrong column type in LLcatalogue.Category for column description. Found: text, expected: longtext
at org.hibernate.mapping.Table.validateColumns(Table.java:283 )
at org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1343 )
at org.hibernate.tool.hbm2ddl.SchemaValidator .validate(SchemaValidator.java:139 )
at org.hibernate.impl.SessionFactoryImpl .<init>(SessionFactoryImpl.java:378 )
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1872 )
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906 )
... 26 more