Scenario -
- Jena API
- Play framework 2
- Database server - fuseki
- Database - TDB
Problem - I have insert query in module, when I fill information in HTML form I am getting error like [NullPointerException: null]
error points at where I am closing my datasource which is at the bottom of method ds.close();
interesting thing is that when I commented //ds.close();
error shifts to the UpdateAction.parseExecute(query1, graph);
and because of this I am not able to see filled form information.
Most interesting thing is that when I am writing select * where {?a ?b ?n}
on fuseki database server I can see inserted data. Means data is getting stored.
Am I supposed to do any changes in conf/application.conf
file in play framework?, guys your help will be appreciated.
Thanks.