java.sql.SQLException: Got a null connection


Solutions on the web

Solution icon of oraclecommunity
via Oracle Community by Venuy2k, 1 year ago
Got a null connection

Solution icon of oraclecommunity
The connection does not exist.

Solution icon of web
via theserverside.com by Unknown author, 1 year ago
[IBM][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect

Solution icon of googlegroups
via Google Groups by Jeff Bannister, 1 year ago
Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=(ERROR=( CODE=12505)(EMFI=4))))

Solution icon of oraclecommunity
via Oracle Community by 607984, 1 year ago
Sunopsis TimeOut : Connection to jdbc:as400://nlaai01;translate binary=true; date format=iso : SNPM

Solution icon of oraclecommunity
via Oracle Community by 585010, 1 year ago
Sunopsis TimeOut : Connection to jdbc:as400://nlaai01;translate binary=true; date format=iso : SNPM

Solution icon of web
via gmane.org by Unknown author, 1 year ago
Single-Sign-On is only supported on Windows. Please specify a user name.

Solution icon of web
via gmane.org by Unknown author, 1 year ago
Single-Sign-On is only supported on Windows. Please specify a user name.

Solution icon of oraclecommunity
via Oracle Community by 501198, 1 year ago
Attempt to set a parameter name that does not occur in the SQL: DateOfBirth

Solution icon of googlegroups
via Google Groups by Kevin J. Grittner, 1 year ago
JZ0SI: A static function escape convertsql_bit was used which is not supported by this server.

Stack trace

java.sql.SQLException: Got a null connection
	at java.lang.Throwable.<init>(Throwable.java:67)
	at java.sql.SQLException.<init>(SQLException.java:101)
	at java.sql.SQLException.<init>(SQLException.java:71)
	at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(tcDataBase.java:694)
	at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(tcDataBase.java:271)
	at com.thortech.xl.dataobj.tcDataBase.readStatement(tcDataBase.java:221)
	at com.thortech.xl.dataobj.tcDataBase.getError(tcDataBase.java:700)
	at com.thortech.xl.dataobj.tcDataObj.handleError(tcDataObj.java:1197)
	at com.thortech.xl.dataobj.tcDataObj.handleError(tcDataObj.java:1151)
	at com.thortech.xl.dataobj.tcDataObj.isInsertPermissible(tcDataObj.java:1828)
	at com.thortech.xl.dataobj.tcDataObj.eventPreInsert(tcDataObj.java:2144)
	at com.thortech.xl.dataobj.tcSDK.eventPreInsert(tcSDK.java:132)
	at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:578)
	at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
	at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2905)
	at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(tcDataObjectBase.java:177)
	at com.thortech.xl.ejb.databeansimpl.tcSDKBean.save(tcSDKBean.java:99)
	at com.thortech.xl.ejb.interfaces.tcSDKEJB.savex(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
	at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
	at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:102)
	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
	at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
	at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
	at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:102)
	at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	at $Proxy337.savex(Unknown Source)
	at com.thortech.xl.ejb.interfaces.tcSDK_hxpdpf_tcSDKRemoteImpl.savex(tcSDK_hxpdpf_tcSDKRemoteImpl.java:2294)
	at com.thortech.xl.ejb.interfaces.tcSDK_hxpdpf_tcSDKRemoteImpl_WLSkel.invoke(Unknown Source)
	at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
	at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
	at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
	at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.