[Insight-users] Re: Insight-users Digest, Vol 28, Issue 69

MX dammyxxx at web.de
Sat Aug 26 14:41:05 EDT 2006


Hi Luis,
I don't think that's the problem, because just
before I set the MetaDataDictionaryArray I check its size
and the values I changed. And they were still intact.
If the DictionaryArray would be a null pointer it would crash there.
Or do I have to set up the SeriesWriter in a special way to take the Array.

I tried it in this way:
Take the MetaDataDictionary from the SeriesReader,
change the values you mentioned,
and give it back to the SeriesWriter,

Thanks,
Martin


>Hi Mx,
>
>That error message doesn't seem to be related to the actual content of
>the tags in the MetaDictionary.
>
>It is rather likely that you are using a pointer to a MetaDictionary
>object without having allocated the actual object for it.
>
>Please add a break point to line 48 of
>
>               Code/Common/itkMetaDataDictionary.cxx:48
>
>and check the values of the pointers:
>
>            m_Dictionary
>            old.m_Dictionary
>
>
>It is quite likely that one of them is a NULL pointer,
>or a pointer to a deleted object.
>
>
>Please let us know what you find.
>
>
>
>    Thanks
>
>
>
>       Luis
>
>
>  
>



More information about the Insight-users mailing list