Menu

#114 Exception raised during ICapeUtilities::Initialize on DWSIM PP

4.0
closed
Initialize (1)
2016-06-18
2016-04-15
Michel PONS
No

I am plugging the DWSIM Property Package Manager in COFE. Within the Initialize method on the chosen Property Package (IAPWS-IF97 Steam Tables) an excepton is raised:
PropertyPackage <iapws-if97 steam="" tables=""> : Call to Initialize
COLTT <iapws-if97 steam="" tables=""> : Windows error code returned is: 0x80070057 - not known
COLTT <iapws-if97 steam="" tables=""> : Getting error details from IErrorInfo interface:
COLTT <iapws-if97 steam="" tables=""> : Call to GetSource
GetSource returns:
Interface : mscorlib
COLTT <iapws-if97 steam="" tables=""> : Return from GetSource - Succeeded
COLTT <iapws-if97 steam="" tables=""> : Call to GetDescription
GetDescription returns:
Description : An item with the same key has already been added.
COLTT <iapws-if97 steam="" tables=""> : Return from GetDescription - Succeeded
PropertyPackage <iapws-if97 steam="" tables=""> : Error returned from Initialize - 0x80070057</iapws-if97></iapws-if97></iapws-if97></iapws-if97></iapws-if97></iapws-if97></iapws-if97></iapws-if97>

The exeception is not a CAPE-OPEN one. It should be. What kind of error is this?

1 Attachments

Discussion

  • Michel PONS

    Michel PONS - 2016-04-15
    • Version: 4.0 --> 3.7
     
  • Daniel Medeiros

    Daniel Medeiros - 2016-06-18
    • status: open --> closed
    • assigned_to: Daniel Medeiros
    • Version: 3.7 --> 4.0
     
  • Daniel Medeiros

    Daniel Medeiros - 2016-06-18

    Fixed in 4.0 Preview 1.