STARIONGROUP / COMET-IME-Community-Edition

The Concurrent Design Desktop Application and Excel Integration compliant with ECSS-E-TM-10-25 Annex A and Annex C
https://www.stariongroup.eu
Other
22 stars 5 forks source link

Initial problem in opening model after creating and immediately deleting specific multirelationship in specific model #1159

Open MartinFijneman opened 2 years ago

MartinFijneman commented 2 years ago

Prerequisites

Description

model name: Space Demo Copy with 5 iterations - version 2 model shortname: SD_COPY_2

Not able to open engineering model anymore after creating and deleting specific multirelationship after initial closing of model.

problem seems to occur with specific model and testing steps, but is reproducible for me (with the items given below).

need to disconnect from server and reconnect, then it is possible to open the model again.

(Note: issue noticed while testing #850 )

Steps to Reproduce

image

Solution: Timeboxed!

Logs

Error message in the IME log browser:

Error

System.NullReferenceException: Object reference not set to an instance of an object.
   at CDP4Common.Helpers.PocoThingFactory.Get[T](ConcurrentDictionary`2 cache, CacheKey key)
   at CDP4Common.Helpers.PocoThingFactory.Get[T](ConcurrentDictionary`2 cache, Guid itemIid, Nullable`1 iterationId)
   at CDP4Common.Helpers.PocoThingFactory.TryGet[T](ConcurrentDictionary`2 cache, Guid itemIid, Nullable`1 iterationId, T& thing)
   at CDP4Common.Helpers.PocoThingFactory.ResolveList[T](List`1 list, IEnumerable`1 guidList, Nullable`1 iterationId, ConcurrentDictionary`2 cache)
   at CDP4Common.SiteDirectoryData.Category.ResolveProperties(Thing dtoThing)
   at CDP4Common.Helpers.PocoThingFactory.ResolveDependencies(IEnumerable`1 dtoThings, ConcurrentDictionary`2 cache)
   at CDP4Dal.Assembler.<Synchronize>d__15.MoveNext()  

### System Configuration
<!-- Tell us about the environment where you are experiencing the bug -->

- COMET version:
  - [X] COMET-IME: 9.3.0 RC1
  - [ ] Other: 
  -
- Web Services:
  - [ ] CDP4/COMET Web Services version: 
  - [ ] OCDT WSP version: 
- Environment (Operating system, version and so on):
  - [ ] Microsoft Excel (32/64 bit): 
  - [ ] Windows OS (32/64 bit): 
  - [ ] Additional information: