Ticket #2122 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

Attempt to dereference null GDALProgressFunc error in SWIG C#

Reported by: tamas Assigned to: tamas
Priority: high Milestone: 1.5.1
Component: CSharpBindings Version: 1.5.0 betas/RCs
Severity: normal Keywords:
Cc:

Description

The method Dataset.BuildOverviews?(string resampling, int[] overviewlist) generates the exception: "Attempt to dereference null GDALProgressFunc".

It seems the recently added callback support have broken some of the existing functions at the SWIG C# interface. In order to make this callback stuff work some typemaps should also be added that I've originally planned to implement later. But as looking into the code since the problem is critical and it seems quite an easy to implement this, I'll commit a fix in the SVN trunk and the branch 5.0

Change History

12/28/07 20:51:23 changed by tamas

Applied the fix in trunk and branch 1-5 (r13458 , r13459)

12/30/07 20:13:43 changed by tamas

  • status changed from new to closed.
  • resolution set to fixed.

Closing upon positive user feedback