Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Sakai JIRA by Brian Caruso, 1 year ago
SQLException in executing SQL statement
via Sakai JIRA by Brian Caruso, 2 years ago
SQLException in executing SQL statement
via JIRA by Eliza Chan, 6 months ago
SQLException in executing SQL statement
java.lang.NullPointerException: 	at com.mchange.v2.c3p0.impl.NewProxyConnection.createStatement(NewProxyConnection.java:183)	at com.hp.hpl.jena.sdb.sql.SDBConnection.execQuery(SDBConnection.java:107)	at com.hp.hpl.jena.sdb.compiler.SDB_QC.exec(SDB_QC.java:60)	at com.hp.hpl.jena.sdb.compiler.OpSQL.exec(OpSQL.java:53)	at com.hp.hpl.jena.sdb.engine.QueryEngineSDB.eval(QueryEngineSDB.java:129)	at com.hp.hpl.jena.sparql.engine.QueryEngineBase.evaluate(QueryEngineBase.java:138)	at com.hp.hpl.jena.sparql.engine.QueryEngineBase.createPlan(QueryEngineBase.java:109)	at com.hp.hpl.jena.sparql.engine.QueryEngineBase.getPlan(QueryEngineBase.java:97)	at com.hp.hpl.jena.sdb.engine.QueryEngineSDB$QueryEngineFactorySDB.create(QueryEngineSDB.java:154)	at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.getPlan(QueryExecutionBase.java:266)	at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.startQueryIterator(QueryExecutionBase.java:243)	at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execResultSet(QueryExecutionBase.java:248)	at com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execSelect(QueryExecutionBase.java:94)	at edu.cornell.mannlib.vitro.webapp.rdfservice.impl.jena.RDFServiceJena.sparqlSelectQuery(RDFServiceJena.java:343)	at edu.cornell.mannlib.vitro.webapp.rdfservice.filter.LanguageFilteringRDFService.sparqlSelectQuery(LanguageFilteringRDFService.java:163)	at edu.cornell.mannlib.vitro.webapp.dao.jena.RDFServiceGraph.execSelect(RDFServiceGraph.java:395)	at edu.cornell.mannlib.vitro.webapp.dao.jena.RDFServiceGraph.find(RDFServiceGraph.java:254)	at edu.cornell.mannlib.vitro.webapp.dao.jena.RDFServiceGraph.find(RDFServiceGraph.java:186)	at com.hp.hpl.jena.graph.compose.MultiUnion.singleGraphFind(MultiUnion.java:175)	at com.hp.hpl.jena.graph.compose.MultiUnion.graphBaseFind(MultiUnion.java:166)	at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:240)	at com.hp.hpl.jena.graph.impl.GraphBase.graphBaseFind(GraphBase.java:260)	at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:257)	at com.hp.hpl.jena.sparql.engine.iterator.QueryIterTriplePattern$TripleMapper.(QueryIterTriplePattern.java:67)	at com.hp.hpl.jena.sparql.engine.iterator.QueryIterTriplePattern.nextStage(QueryIterTriplePattern.java:41)	at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage(QueryIterRepeatApply.java:91)	at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding(QueryIterRepeatApply.java:52)	at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:66)	at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriples.hasNextBinding(QueryIterBlockTriples.java:53)	at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:66)	at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:28)	at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:66)	at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:28)	at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:66)	at com.hp.hpl.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:57)	at com.hp.hpl.jena.sparql.resultset.ResultSetApply.apply(ResultSetApply.java:29)	at com.hp.hpl.jena.sparql.resultset.JSONOutput.format(JSONOutput.java:23)	at com.hp.hpl.jena.query.ResultSetFormatter.outputAsJSON(ResultSetFormatter.java:542)	at edu.cornell.mannlib.vitro.webapp.rdfservice.impl.jena.RDFServiceJena.sparqlSelectQuery(RDFServiceJena.java:353)	at edu.cornell.mannlib.vitro.webapp.rdfservice.filter.LanguageFilteringRDFService.sparqlSelectQuery(LanguageFilteringRDFService.java:163)	at edu.cornell.mannlib.vitro.webapp.dao.jena.RDFServiceGraph.execSelect(RDFServiceGraph.java:395)	at edu.cornell.mannlib.vitro.webapp.dao.jena.RDFServiceGraph.find(RDFServiceGraph.java:254)	at edu.cornell.mannlib.vitro.webapp.dao.jena.RDFServiceGraph.find(RDFServiceGraph.java:186)	at com.hp.hpl.jena.graph.compose.MultiUnion.singleGraphFind(MultiUnion.java:175)	at com.hp.hpl.jena.graph.compose.MultiUnion.graphBaseFind(MultiUnion.java:166)	at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:240)	at com.hp.hpl.jena.graph.compose.Union.graphBaseFind(Union.java:53)	at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:240)	at com.hp.hpl.jena.graph.compose.MultiUnion.singleGraphFind(MultiUnion.java:175)	at com.hp.hpl.jena.graph.compose.MultiUnion.graphBaseFind(MultiUnion.java:166)	at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:240)	at com.hp.hpl.jena.graph.impl.GraphBase.graphBaseFind(GraphBase.java:260)	at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:257)	at com.hp.hpl.jena.rdf.model.impl.ModelCom.listStatements(ModelCom.java:378)	at com.hp.hpl.jena.rdf.model.impl.ModelCom.listStatements(ModelCom.java:383)	at edu.cornell.mannlib.vitro.webapp.utils.jena.URIUtils.hasExistingURI(URIUtils.java:26)	at edu.cornell.mannlib.vitro.webapp.dao.jena.WebappDaoFactoryJena.hasExistingURI(WebappDaoFactoryJena.java:209)	at edu.cornell.mannlib.vitro.webapp.dao.jena.WebappDaoFactoryJena.checkURI(WebappDaoFactoryJena.java:190)	at edu.cornell.mannlib.vitro.webapp.dao.jena.WebappDaoFactoryJena.checkURI(WebappDaoFactoryJena.java:174)	at edu.cornell.mannlib.vitro.webapp.dao.jena.IndividualDaoJena.getUnusedURI(IndividualDaoJena.java:667)	at edu.cornell.mannlib.vitro.webapp.dao.jena.IndividualDaoJena.insertNewIndividual(IndividualDaoJena.java:210)	at edu.cornell.mannlib.vitro.webapp.dao.jena.IndividualDaoJena.insertNewIndividualWebapp(IndividualDaoJena.java:201)	at edu.cornell.mannlib.vitro.webapp.dao.jena.IndividualDaoJena.insertNewIndividual(IndividualDaoJena.java:196)	at edu.cornell.mannlib.vitro.webapp.dao.jena.VClassGroupDaoJena.insertNewVClassGroup(VClassGroupDaoJena.java:213)	at edu.cornell.mannlib.vitro.webapp.dao.jena.VClassGroupDaoJena.insertNewVClassGroup(VClassGroupDaoJena.java:185)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at edu.cornell.mannlib.vedit.controller.OperationController.performEdit(OperationController.java:457)	at edu.cornell.mannlib.vedit.controller.OperationController.doPost(OperationController.java:118)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)	at edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet.service(VitroHttpServlet.java:65)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at edu.cornell.mannlib.vitro.webapp.filters.PageRoutingFilter.doNonDisplayPage(PageRoutingFilter.java:110)	at edu.cornell.mannlib.vitro.webapp.filters.PageRoutingFilter.doFilter(PageRoutingFilter.java:101)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at edu.cornell.mannlib.vitro.webapp.filters.RequestModelsPrep.doFilter(RequestModelsPrep.java:106)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at edu.cornell.mannlib.vitro.webapp.filters.URLRewriterFilter.doFilter(URLRewriterFilter.java:38)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at edu.cornell.mannlib.vitro.webapp.filters.JSessionStripFilter.doFilter(JSessionStripFilter.java:60)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at edu.cornell.mannlib.vitro.webapp.filters.CachingResponseFilter.produceBasicResponse(CachingResponseFilter.java:322)	at edu.cornell.mannlib.vitro.webapp.filters.CachingResponseFilter.doFilter(CachingResponseFilter.java:115)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at edu.cornell.mannlib.vitro.webapp.i18n.selection.LocaleSelectionFilter.doFilter(LocaleSelectionFilter.java:63)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at edu.cornell.mannlib.vitro.webapp.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:25)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at edu.cornell.mannlib.vitro.webapp.filters.SessionTimeoutLimitingFilter.doFilter(SessionTimeoutLimitingFilter.java:39)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at edu.cornell.mannlib.vitro.webapp.filters.StartupStatusDisplayFilter.doFilter(StartupStatusDisplayFilter.java:64)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:724)