Opened 18 years ago

Closed 18 years ago

#1598 closed defect (worksforme)

c# module on Mono/Linux: shpdump sample produces runtime exception

Reported by: scottellington@… Owned by: szekerest
Priority: high Milestone:
Component: MapScript-C# Version: 4.6
Severity: normal Keywords:
Cc:

Description

Running the shpdump.exe sample on Mono / Linux produces the following runtime
exception:

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
in <0x00367> ShapeDump:Main (System.String[] args)

It correctly dumps the first shape, but fails on starting the second.

This is Mono 1.1.12.1.  I tried SWIG version 1.3.25 and 1.3.27.

Change History (3)

comment:1 by szekerest, 18 years ago

Owner: changed from sdlime to szekerest
Assigned

comment:2 by sdlime, 18 years ago

Component: MapScriptMapScript-C#

comment:3 by szekerest, 18 years ago

Resolution: worksforme
Status: newclosed
Added make test to invoke the sample apps but could not produce the error.

Note: See TracTickets for help on using tickets.