Symptom
- Connections to databases other than SAP ASE may encounter null pointer exception when checking if a connection to a database is alive using Connection.isAlive() method
- Null pointer exception in calling the isClosed() method in ASEMAP:
java.lang.NullPointerException: while trying to invoke the method com.sybase.jdbc4.jdbc.MdaManager.getMetaDataAccessor(java.lang.String, com.sybase.jdbc4.jdbc.ProtocolContext) of a null object loaded from field com.sybase.jdbc4.jdbc.SybConnection._mda of an object loaded from local variable 'this'
at com.sybase.jdbc4.jdbc.SybConnection.isClosed(SybConnection.java:2131)
at com.sybase.aseaccess.sql.ASEConnection.close(ASEConnection.java:503)
at com.sybase.aseaccess.controller.
at com.sybase.aseaccess.controller.
at com.sybase.ua.plugins.asemap.
at com.sybase.ua.plugins.asemap.
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 sun.reflect.misc.invoke(MethodUtil.java:75)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
... 64 more
Read more...
Environment
- SAP Sybase Software Developers Kit (SDK) 15.7
- SAP Software Developers Kit (SDK) for Adaptive Server Enterprise (ASE) 16.0
- SAP Adaptive Server Enterprise (ASE) 15.7
- jConnect
- JDBC 7.07
- JDBC 16 ( is version JDBC 7.07 )
Product
Keywords
Java, JDBC, JRE, CR785349, CR#785349, 785349 , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.