Reputation: 21128
I have the problem, that in my multithreading application, the SQL Anywhere 12 driver throws NullReferenceExceptions. The Exception is always thrown at different points, but always during opening a connection. There are a maximum of 5 open connections. The stack trace is the following:
I have no idea why this happens.
Does anyone else has similar problems? Currently i have no idea.
EDIT:
The error is not really reproducible, because some times the app runs correct for two hours or a day and some times only 10min.
Upvotes: 1
Views: 107
Reputation:
Well, the SAConnectionPoolManager were not thread safe when multiple threads are trying to allocate/close multiple connection pools. This was fixed (so they say) in version 16.0.0.1431 and 12.0.1.3851.
Upvotes: 1