I tried to retrieve requirements using a model of my own, and get exactly the 
same error message as Gajendra: "Problem during requirement model loading, the 
requirement models can not be loaded: null". Using Topcased 4.3 under WinXP. 
(topcased 5.0 is not working for me, apparently some resources issue, it keeps 
freezing all the time and gives PermGen space errors now and then).

Any hints helping to solve this issue are highly appreciated.


Rodrigo



________________________________
From: Topcased user list where issues are discussed 
<[email protected]>
To: [email protected]
Sent: Monday, September 12, 2011 10:59 AM
Subject: [Topcased-users] Document generation

Hi Anne,

Thanks for your response, that was quite a silly mistake by me. I corrected it 
and tried again. I got an error

"See details. Problem during requirement model loading, the requirement models 
can not be loaded : null"

Just to be sure if everything was in order, I created a fresh model with fewer 
requirements to test the script. I received the same error.

So, I have two questions for everyone on this list including developers:

1. Does this feature work with SysML models?
2. Are there any complete example models with scripts for extracting 
requirements from the Topcased requirement model?

Have I missed out something which I don't know?

Thanks in advance for your help.

Regards,
Gajendra Kashyap

>  Thanks for your response. However, I did not forget it. Here is my
>  script. Very simple. I don't know if there is a mistake somewhere.
> 
>  <config>
>  <param key=?project? value=?C:\Users\workspace\ProjectName? />
>  <param key=?model?
>  value=?${project}\Models\TextualRequirements\ProjectName.sysml? />
>  <output path=?${project}\Models\GeneratedDocuments\Report.docx? />
>  </config>
> 
> 
>  <context model=?${model}? element=?Project/Specification/Functional
>  requirements/Hydraulic System (ATA 29)? importBundles=?requirement? />
> 
>  <gendoc>
> 
>  [for (cur:requirement::CurrentRequirement | self.getRequirementList ())
>  ] <drop/>
> 
>  [cur.identifier/]
> 
>  <richText>[cur.shortDescription/]</richText>
> 
>  #EndText
> 
>   [/for]
>  </gendoc>
> 
> 
>  Error in the document generation "See details.  The execution of a
>  script failed: Error during generation of Gendoc script :Cannot find
>  operation (getRequirementList()) for the type (Package)".
> 
>  Any ideas??
> 
>  Regards,
>  Gajendra Kashyap
> Hi Gajendra,
> 
> The problem is the name of the attribute : it is not "importBundles"
> but "importedBundles", so the import is not taken into account.
> We will add error messages inside Gendoc2 for invalid attributes.
> 
> Regards,
> Anne
> 



_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users

Reply via email to