Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: EXCEPTION_ACCESS_VIOLATION
Topic Summary: Multiple routines looping through baselines seem to have issues.
Created On: 24-Mar-2006 00:56
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 24-Mar-2006 00:56
User is offline View Users Profile Print this message


Scott Covington

Posts: 17
Joined: 29-Nov-2004



Edited: 24-Mar-2006 at 01:04 by Scott Covington
Report this to a Moderator Report this to a Moderator
 24-Mar-2006 09:14
User is offline View Users Profile Print this message


Paul Worrall

Posts: 87
Joined: 30-Sep-2003

It seems to be that you cannot have nested 'for baseline in module' loops operating on the same module. The following code fails on the second iteration of the outer loop.
Report this to a Moderator Report this to a Moderator
 24-Mar-2006 22:41
User is offline View Users Profile Print this message


Scott Covington

Posts: 17
Joined: 29-Nov-2004



Edited: 24-Mar-2006 at 22:45 by Scott Covington
Report this to a Moderator Report this to a Moderator
 27-Mar-2006 10:01
User is offline View Users Profile Print this message


Robert Swan

Posts: 86
Joined: 14-Apr-2005

I think you have a bad example. The error is that DOORS is trying to access something that does not exist.
Baselines are snapshots of a module, you don't have baselines within the baselines.
However when you open a baseline that becomes the current module.

If the inner loop addressed objects the code works quite happily showing the text of the earlier baseline.

If you manually open a baseline, and view the baselines it shows all those those of the latest version, not just its predecessors.


Report this to a Moderator Report this to a Moderator
 28-Mar-2006 00:45
User is offline View Users Profile Print this message


Scott Covington

Posts: 17
Joined: 29-Nov-2004

Report this to a Moderator Report this to a Moderator
 28-Mar-2006 20:12
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

yes, nested baseline loops are a no-no. So are nested link loops. So are other such nested loops.

Yes, main programs should routinely stage their elements inside a Skip list, THEN parse through the skip list. They don't thus confliect with library functions that also have such loops. Attached find a sample DXL with some nuances.

- Louie
Report this to a Moderator Report this to a Moderator
 30-Mar-2006 22:36
User is offline View Users Profile Print this message


Dale Reed

Posts: 11
Joined: 13-Sep-2002

Scott,

Try this.

pragma runLim, 0
Module currentModule = current Module
Baseline baseline
Module baselineModule


for baseline in currentModule do {
baselineModule = load (currentModule, baseline, false)
showDeletedObjects (true)
print (major baseline) "." (minor baseline) " " (suffix baseline) "\n"
}
close (baselineModule)
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.