Ticket #2943 (closed defect: invalid)
Bug and fix: GDAL java bandings
| Reported by: | xxcool | Owned by: | rouault |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | JavaBindings | Version: | 1.6.0 |
| Severity: | normal | Keywords: | |
| Cc: | warmerdam |
Description
when try to test gdal java bandings with GDALtest , 3 bugs appear: ERROR 10: Pointer 'hObject' is NULL in 'GDALGetDescription'. ERROR 10: Pointer 'hObject' is NULL in 'GDALGetDescription'. ERROR 10: Pointer 'hObject' is NULL in 'GDALGetMetadata'.
I fixed them by change the decoration of swigCPtr in the MajorObject? to protected, and delete the declaration of swigCPtr in the Dataset. Hope it's useful to the guy who meet this problem.
Change History
Note: See
TracTickets for help on using
tickets.
