poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Micich <josh.mic...@gmail.com>
Subject Re: Concurrency issues in EscherProperties
Date Mon, 22 Jun 2009 17:34:37 GMT
Hello Christopher,

For the most part, POI does not support multi-threaded access to
object instances. This issue is not well addressed in the
documentation, but I guess a simple rule would be that as long as all
threads perform read operations, concurrent access should be
supported.  If you are having concurrency problems, it probably means
that at least one of your threads has changed common data.  The
offending data modification may obvious from the external API, in
which case it's probably best for the client code to manage
synchronization.  On the other hand, the external API methods you are
calling may look 'read only' but have some non-obvious internal
side-effect (like lazy initialisation), and in this case POI should
probably be synchronized internally to manage this.

There is not enough information to diagnose your problem.  The link
you posted is protected.  Please post the relevant stack trace(s)
and/or some sample code the reproduces the bug.


To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message