I get a null reference exception when add new elements to a CompartmentShape on JuneSDK -

i'm working with the JunSDK and i had troubles when i trying to use a compartment shape.

I have a domain class that inherit from another ones abstract classes. There has a relation with another one and it's mapped to a comparment shape. So, when i ran the project, i could see the comparment shape and edit it's properties, but when i try to add a new element to the comparment i got an null reference exception :S. Also if i try to add via the domain explorer Vs simply hungs.

thanks!.
-jes




Answer this question

I get a null reference exception when add new elements to a CompartmentShape on JuneSDK -

  • ChristophEgger

    thanks Steve i couldn't clearly reproduce the bug but, i see that Alan did publish more known issues and this issue is there.

    more known issues: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=455187&SiteID=1



  • unreal

    I tried to repro this by unfolding a Class Diagram template, setting the DomainClass ModelClass to abstract, defining a new subclass of ModelClass called TestClass, and pointing the ModelClass toolbox tool at TestClass. This works fine.

    Does your domain model show any errors when you run Validate All in the DSL designer

    Steve Cook [MSFT]


  • I get a null reference exception when add new elements to a CompartmentShape on JuneSDK -