This project is read-only.


Failures on parallel access


I get a lot of errors at parallel call of BasicCoordinateTransform.Transform. it can be fixed by making the _geoCoord local.


FObermaier wrote Sep 1, 2012 at 8:48 PM

Andreas2 wrote Sep 26, 2012 at 1:40 PM

You forgot to initialize the geoCoord. NullReferenceExceptions are thrown.

FObermaier wrote Oct 5, 2012 at 2:31 PM

As far as I can see _geoCoord is initialized with new ProjCoordinate(0, 0)
Could you provide a TestCase please?

Andreas2 wrote Oct 10, 2012 at 2:22 PM

The _geoCoord is (or was) initialized. But you are now using the local geoCoord which is set to null. TestCase is any use of BasicCoordinateTransform.Transform in the current public trunk. (commit 76924)
see line 113

110 public Coordinate Transform(Coordinate src, Coordinate tgt)
111 {
112 // NOTE: this method may be called many times, so needs to be as efficient as possible
113 Coordinate geoCoord = null;
114 if (_doInverseProjection)

sebasbaumh wrote Oct 16, 2012 at 3:14 PM

Latest trunk still had the problem with NullReferenceException.
I created a patch (id 13050) to fix it.

wrote Feb 14, 2013 at 3:52 AM

wrote May 16, 2013 at 8:57 AM

wrote May 16, 2013 at 8:57 AM

wrote Jun 14, 2013 at 8:00 AM