Status: New
Owner: ----
Labels: Priority-Medium

New issue 135 by joaosavio: NullPointerExceptions - CommonLogger.legacyLogger is not thread-safe
http://code.google.com/p/jain-sip/issues/detail?id=135

I've been running load tests using jain-sip and I've found a concurrence problem on CommonLogger. Running lots of instances of SipStackImpl causes NullPointerExceptions on loggers.

If I comment 723 line of SipStackImpl (https://code.google.com/p/jain-sip/source/browse/src/gov/nist/javax/sip/SipStackImpl.java):

// CommonLogger.legacyLogger = stackLogger;

the problem is solved.

Doing a quick analysis, we can verify that the variable
CommonLogger.legacyLogger
is not thread safe


What version of the product are you using? On what operating system?
- Jain-sip-ri version 1.2.170
- Windows 7 64 bits

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to