deanhiller / databus

time series data in cassandra with visualization(NREL's opensource databus project)
Other
53 stars 21 forks source link

Saving Table description causes a crash #10

Closed hopcroft closed 10 years ago

hopcroft commented 11 years ago

In the web interface, adding a description to a Table and clicking the "Save" button causes a crash. Output from play is below.

(I'm guessing this will be addressed in the upcoming "My Databus" re-write) [Priority: 7 medium]

@6em5fo27c Internal Server Error (500) for request POST /old/groups/models.SecureSchema_%24%24_javassist_21@328908cd/savetable

Oops: RuntimeException An unexpected error occured caused by exception RuntimeException: java.lang.InstantiationException

play.exceptions.UnexpectedException: Unexpected Error at play.mvc.ActionInvoker.invoke(ActionInvoker.java:294) ~[play-1.2.x-1.1.0-2002-6-gbed17df.jar:na] at Invocation.HTTP Request(Play!) ~[na:na] Caused by: java.lang.RuntimeException: java.lang.InstantiationException at com.alvazan.play.NoSqlModel.create(NoSqlModel.java:41) ~[playorm.jar:na] at com.alvazan.play.NoSqlPlugin.bind(NoSqlPlugin.java:46) ~[playorm.jar:na] at play.plugins.PluginCollection.bind(PluginCollection.java:587) ~[play-1.2.x-1.1.0-2002-6-gbed17df.jar:na] at play.data.binding.Binder.bind(Binder.java:112) ~[play-1.2.x-1.1.0-2002-6-gbed17df.jar:na] at play.mvc.ActionInvoker.getActionMethodArgs(ActionInvoker.java:682) ~[play-1.2.x-1.1.0-2002-6-gbed17df.jar:na] at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:514) ~[play-1.2.x-1.1.0-2002-6-gbed17df.jar:na] at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:509) ~[play-1.2.x-1.1.0-2002-6-gbed17df.jar:na] at play.mvc.ActionInvoker.invoke(ActionInvoker.java:187) ~[play-1.2.x-1.1.0-2002-6-gbed17df.jar:na] ... 1 common frames omitted Caused by: java.lang.InstantiationException: null at com.alvazan.play.NoSqlModel.create(NoSqlModel.java:38) ~[playorm.jar:na] ... 8 common frames omitted

deanhiller commented 11 years ago

oh, gotcha, I can reproduce this one. I mistook it as database not table. This is a quick fix we need to implement. When I get back from vacation, I will try to go through all your bugs as you have a bunch of quick ones I can fix in your list of issues.

deanhiller commented 10 years ago

This is fixed...click on any database, click on the table, edit description and save now works here.