Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000919AmarilloDeploymentpublic2014-06-18 22:202014-06-18 22:21
ReporterFred 
Assigned ToFred 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformAllOSAllOS VersionAll
Product Version0.1-SNAPSHOT 
Target Version0.1Fixed in Version0.1 
Summary0000919: Stack trace dumped during schema update on app startup
DescriptionThe schema update seemed to fail to complete, even though the app worked as expected. See stack trace and surrounding log context in additional info field.
Additional Information10:03:29.472 [localhost-startStop-1] INFO o.h.tool.hbm2ddl.SchemaUpdate - HHH000228: Running hbm2ddl schema update
10:03:29.472 [localhost-startStop-1] INFO o.h.tool.hbm2ddl.SchemaUpdate - HHH000102: Fetching database metadata
10:03:29.477 [localhost-startStop-1] INFO o.h.tool.hbm2ddl.SchemaUpdate - HHH000396: Updating schema
10:03:29.477 [localhost-startStop-1] DEBUG org.hibernate.cfg.Configuration - Processing hbm.xml files
10:03:29.477 [localhost-startStop-1] DEBUG org.hibernate.cfg.Configuration - Process annotated classes
10:03:29.477 [localhost-startStop-1] DEBUG org.hibernate.cfg.Configuration - Processing fk mappings (*ToOne and JoinedSubclass)
10:03:29.477 [localhost-startStop-1] DEBUG org.hibernate.cfg.Configuration - Processing extends queue
10:03:29.477 [localhost-startStop-1] DEBUG org.hibernate.cfg.Configuration - Processing extends queue
10:03:29.477 [localhost-startStop-1] DEBUG org.hibernate.cfg.Configuration - Processing collection mappings
10:03:29.477 [localhost-startStop-1] DEBUG org.hibernate.cfg.Configuration - Processing native query and ResultSetMapping mappings
10:03:29.477 [localhost-startStop-1] DEBUG org.hibernate.cfg.Configuration - Processing association property references
10:03:29.477 [localhost-startStop-1] DEBUG org.hibernate.cfg.Configuration - Creating tables' unique integer identifiers
10:03:29.477 [localhost-startStop-1] DEBUG org.hibernate.cfg.Configuration - Processing foreign key constraints
10:03:29.483 [localhost-startStop-1] INFO o.h.tool.hbm2ddl.TableMetadata - HHH000261: Table found: ADVERTISEMENTS
10:03:29.483 [localhost-startStop-1] INFO o.h.tool.hbm2ddl.TableMetadata - HHH000037: Columns: [title, short_description, email, full_description, advertisement_id, url]
10:03:29.483 [localhost-startStop-1] INFO o.h.tool.hbm2ddl.TableMetadata - HHH000108: Foreign keys: []
10:03:29.483 [localhost-startStop-1] INFO o.h.tool.hbm2ddl.TableMetadata - HHH000126: Indexes: []
10:03:29.504 [localhost-startStop-1] ERROR o.h.tool.hbm2ddl.SchemaUpdate - HHH000299: Could not complete schema update
java.lang.UnsupportedOperationException: No add column syntax supported by org.hibernate.dialect.SQLiteDialect
    at org.hibernate.dialect.Dialect.getAddColumnString(Dialect.java:2024) ~[hibernate-core-4.3.5.Final.jar:4.3.5.Final]
    at org.hibernate.mapping.Table.sqlAlterStrings(Table.java:389) ~[hibernate-core-4.3.5.Final.jar:4.3.5.Final]
    at org.hibernate.cfg.Configuration.generateSchemaUpdateScriptList(Configuration.java:1209) ~[hibernate-core-4.3.5.Final.jar:4.3.5.Final]
    at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:212) ~[hibernate-core-4.3.5.Final.jar:4.3.5.Final]
    at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:178) ~[hibernate-core-4.3.5.Final.jar:4.3.5.Final]
    at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:522) ~[hibernate-core-4.3.5.Final.jar:4.3.5.Final]
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1857) ~[hibernate-core-4.3.5.Final.jar:4.3.5.Final]
    at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:850) [hibernate-entitymanager-4.3.5.Final.jar:4.3.5.Final]
    at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:843) [hibernate-entitymanager-4.3.5.Final.jar:4.3.5.Final]
    at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:397) [hibernate-core-4.3.5.Final.jar:4.3.5.Final]
    at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:842) [hibernate-entitymanager-4.3.5.Final.jar:4.3.5.Final]
    at org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:75) [hibernate-entitymanager-4.3.5.Final.jar:4.3.5.Final]
    at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:54) [hibernate-entitymanager-4.3.5.Final.jar:4.3.5.Final]
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:55) [hibernate-jpa-2.1-api-1.0.0.Final.jar:1.0.0.Final]
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:39) [hibernate-jpa-2.1-api-1.0.0.Final.jar:1.0.0.Final]
    at com.fredcooke.Amarillo.init(Amarillo.java:23) [Amarillo.class:na]
    at spark.servlet.SparkFilter.init(SparkFilter.java:59) [spark-core-1.1.1.jar:na]
    at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281) [Amarillo-0.1-SNAPSHOT-war-exec.jar:na]
    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262) [Amarillo-0.1-SNAPSHOT-war-exec.jar:na]
    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107) [Amarillo-0.1-SNAPSHOT-war-exec.jar:na]
    at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4656) [Amarillo-0.1-SNAPSHOT-war-exec.jar:na]
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5309) [Amarillo-0.1-SNAPSHOT-war-exec.jar:na]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [Amarillo-0.1-SNAPSHOT-war-exec.jar:na]
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) [Amarillo-0.1-SNAPSHOT-war-exec.jar:na]
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) [Amarillo-0.1-SNAPSHOT-war-exec.jar:na]
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_03]
    at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_03]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_03]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_03]
    at java.lang.Thread.run(Thread.java:722) [na:1.7.0_03]
10:03:29.505 [localhost-startStop-1] DEBUG o.h.internal.NamedQueryRepository - Checking 0 named HQL queries
10:03:29.505 [localhost-startStop-1] DEBUG o.h.internal.NamedQueryRepository - Checking 0 named SQL queries
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (0002804)
Fred (administrator)
2014-06-18 22:21

Fixed in b878299c24e889bea14654a08d80e5242d588889


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker