on 2011 Sep 07 9:56 AM
Hi,
We have an application using Sybase ASA 7 and we access the database from a Java JDBC connection. Occassionally we see a Null Pointer Exception being kicked out by the JDBC driver reporting something about a TDS error. The following is what is reported but we have no idea where to start looking. It is having a significant effect on our application:
java.lang.NullPointerException: Aug 31 09:43:51 2011: at com.sybase.timedio.InStreamMgr.moreData(InStreamMgr.java) Aug 31 09:43:51 2011: at com.sybase.timedio.Dbio.doRead(Dbio.java) Aug 31 09:43:51 2011: at com.sybase.timedio.InStreamMgr.readIfOwner(InStreamMgr.java) Aug 31 09:43:51 2011: at com.sybase.timedio.InStreamMgr.doRead(InStreamMgr.java) Aug 31 09:43:51 2011: at com.sybase.tds.TdsProtocolContext.getChunk(TdsProtocolContext.java) Aug 31 09:43:51 2011: at com.sybase.tds.PduInputFormatter.readPacket(PduInputFormatter.java) Aug 31 09:43:51 2011: at com.sybase.tds.PduInputFormatter.read(PduInputFormatter.java) Aug 31 09:43:51 2011: at com.sybase.tds.TdsInputStream.read(TdsInputStream.java) Aug 31 09:43:51 2011: at com.sybase.tds.TdsInputStream.readUnsignedByte(TdsInputStream.java) Aug 31 09:43:51 2011: at com.sybase.tds.Tds.nextResult(Tds.java) Aug 31 09:43:51 2011: at com.sybase.jdbc.ResultGetter.nextResult(ResultGetter.java) Aug 31 09:43:51 2011: at com.sybase.jdbc.SybStatement.nextResult(SybStatement.java) Aug 31 09:43:51 2011: at com.sybase.jdbc.SybStatement.queryLoop(SybStatement.java) Aug 31 09:43:51 2011: at com.sybase.jdbc.SybCallableStatement.executeQuery(SybCallableStatement.java) Aug 31 09:43:51 2011: at com.sybase.jdbc.SybConnection.isClosed(SybConnection.java) Aug 31 09:43:51 2011: at powersoft.powerj.db.java_sql.Transaction.isConnected(Transaction.java) Aug 31 09:43:51 2011: at digtrack.digtrackpkg.TicketBean.getTicket(TicketBean.java) Aug 31 09:43:51 2011: at digtrack.digtrackpkg._sk_digtrackpkg_Ticket.invoke(_sk_digtrackpkg_Ticket.java:308)
Has anyone ever run into this before? It doesn't look like anything in our code that causes this. We call the DB out of a Java Jaguar (gulp) component.
User | Count |
---|---|
66 | |
11 | |
10 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.