Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#4 ST Datatype Defined in Incorrect Namespace

closed
nobody
5
2007-09-30
2006-12-19
Rob Redmond
No

The ST datatype is currently defined in NHapi.Model.V*; the correct definition would be in NHapi.Model.V*.Datatype

The current definition causes a "System.NullReferenceException trying to set data type of OBX-5" exception to be thrown when an OBX-2 has a value of ST. This is a result of DefaultModelClassFactory.getTypeClass(), which in turn calls DefaultModelClassFactory.findClass(), not finding the ST type; it is trying to call System.Type.GetType("NHapi.Model.V23.Datatype.ST, NHapi.Model.V23")

The equivalent Hapi classes are defined in the corresponding Datatype packages.

Discussion

  • ChadC
    ChadC
    2007-09-30

    Logged In: YES
    user_id=1522633
    Originator: NO

    This was a bug in the .NET 2.0 version of NHapi. It has been fixed in version 2.0.1 on Sept 21, 2007.

     
  • ChadC
    ChadC
    2007-09-30

    • status: open --> closed