Skip to Content
avatar image
Former Member

OData error - ConnectionPool.makeRoomForNewConnection

Hi,

We have sometimes problems with OData Service producing thousands of diagnostics messages:

java.lang.NullPointerException: while trying to invoke the method java.util.TreeSet.remove(java.lang.Object) of a null object loaded from a local variable at slot 6
at com.sybase.odata.producer.database.ConnectionPool.makeRoomForNewConnection(ConnectionPool.java:234)
at com.sybase.odata.producer.database.ConnectionPool.getConnection(ConnectionPool.java:112)
at com.sybase.odata.producer.database.JDBCSource.getConnection(JDBCSource.java:130)
at com.sybase.odata.producer.handler.AbstractHandler.authenticateAndGetConnection(AbstractHandler.java:1103)
at com.sybase.odata.producer.handler.AbstractHandler.handleRequest(AbstractHandler.java:580)
at com.sybase.odata.producer.servlets.SAPSybaseODataServlet.doPost(SAPSybaseODataServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
at com.sybase.odata.producer.servlets.SAPSybaseODataServlet.service(SAPSybaseODataServlet.java:389)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:800)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:497)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:620)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:540)
at java.lang.Thread.run(Thread.java:812)

After restart of OData service works everything fine.

The Server is MS AZURE Server. We are using about 6 different servers with same configuration. But only two of them have this problem. This happens after a uptime of about 4 hours. On one server we have increased memory from 7 to 14 GB and got no more errors. Another has already 14 GB.

Any suggestions?

Regards

Miro

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers