ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paras Shah (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATIS-326) I am accessing Ibatis sql map with Ms-Access database and calling it using jsp application. It gives me the null pointer exception
Date Thu, 20 Jul 2006 05:44:13 GMT
I am accessing Ibatis sql map with Ms-Access database and calling it using jsp application.
It gives me the null pointer exception
----------------------------------------------------------------------------------------------------------------------------------

                 Key: IBATIS-326
                 URL: http://issues.apache.org/jira/browse/IBATIS-326
             Project: iBatis for Java
          Issue Type: Bug
          Components: SQL Maps
         Environment: Windows XP, Weblogic server, connection pool , Ms-Access database, P4,
512 MB ram
            Reporter: Paras Shah
            Priority: Critical


i am using connection pool configured in weblogic server in my xml file. Also i am using result
map and a simple query in sql maps xml file. I am accessing the sql map using jsp. I am getting
the following error. Please help me to resolve it.

java.lang.NullPointerException
	at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.endTransaction(SqlMapExecutorDelegate.java:776)
	at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.endTransaction(SqlMapSessionImpl.java:137)
	at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.endTransaction(SqlMapClientImpl.java:115)
	at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.autoEndTransaction(SqlMapExecutorDelegate.java:860)
	at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:568)
	at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:536)
	at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMapSessionImpl.java:93)
	at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(SqlMapClientImpl.java:70)
	at jsp_servlet.__testdb._jspService(__testdb.java:152)
	at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
	at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:526)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
	at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message