Skip to content

Instantly share code, notes, and snippets.

@mattwigway
Created July 5, 2012 18:54
Show Gist options
  • Save mattwigway/3055688 to your computer and use it in GitHub Desktop.
Save mattwigway/3055688 to your computer and use it in GitHub Desktop.
@6b0h075f4
Internal Server Error (500) for request GET /admin
Oops: ExceptionInInitializerError
An unexpected error occured caused by exception ExceptionInInitializerError: null
play.exceptions.UnexpectedException: Unexpected Error
at play.Invoker$Invocation.onException(Invoker.java:244)
at play.Invoker$Invocation.run(Invoker.java:286)
at Invocation.HTTP Request(Play!)
Caused by: java.lang.ExceptionInInitializerError
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at org.hibernate.type.TypeFactory.custom(TypeFactory.java:182)
at org.hibernate.type.TypeFactory.custom(TypeFactory.java:174)
at org.hibernate.type.TypeFactory.byClass(TypeFactory.java:99)
at org.hibernate.type.TypeResolver.heuristicType(TypeResolver.java:170)
at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:297)
at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:290)
at org.hibernate.mapping.Property.isValid(Property.java:217)
at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:464)
at org.hibernate.mapping.RootClass.validate(RootClass.java:235)
at org.hibernate.cfg.Configuration.validate(Configuration.java:1332)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1835)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:902)
at play.db.jpa.JPAPlugin.onApplicationStart(JPAPlugin.java:240)
at play.plugins.PluginCollection.onApplicationStart(PluginCollection.java:480)
at play.Play.start(Play.java:515)
at play.Play.detectChanges(Play.java:618)
at play.Invoker$Invocation.init(Invoker.java:198)
... 1 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:571)
at java.util.ArrayList.get(ArrayList.java:349)
at org.hibernatespatial.HBSpatialExtension.forceConfigure(HBSpatialExtension.java:159)
at org.hibernatespatial.HBSpatialExtension.configure(HBSpatialExtension.java:151)
at org.hibernatespatial.HBSpatialExtension.getDefaultSpatialDialect(HBSpatialExtension.java:200)
at org.hibernatespatial.GeometryUserType.configure(GeometryUserType.java:65)
at org.hibernatespatial.GeometryUserType.initialize(GeometryUserType.java:82)
at org.hibernatespatial.GeometryUserType.sqlTypes(GeometryUserType.java:233)
at org.hibernate.type.CustomType.<init>(CustomType.java:70)
at org.hibernate.type.CustomType.<init>(CustomType.java:64)
at org.hibernatespatial.GeometryUserType.<clinit>(GeometryUserType.java:61)
... 20 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment