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: Weird Error.....
Created On: 16-Oct-2008 20:38
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.
 16-Oct-2008 20:38
User is offline View Users Profile Print this message


Kyle Clements

Posts: 6
Joined: 12-Sep-2008

I'm probably just looking over something simple, so it should be easy but i'm not familiar with the findplaintext() function and not sure if my parameters are correct.
Basically, this is where in my code an error occurs:

s = "" o.compToReview "" //These both are strings
string sub = "" competency ""
if (s != null && sub != null){ //This gets rid of null strings
if (findPlainText(s, sub, null, null, false, false)){ <--------Error!

S= string, Sub = substring to check for, nulls return values, falses are for "reverse" and "matchcase"
Error Occurs whenever I encounter this "findplaintext" line


Thanks in advance,
Kyle
Report this to a Moderator Report this to a Moderator
 16-Oct-2008 21:02
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Your problem is that you're using nulls for memory locations that DOORS is trying to write the offset and length values to.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
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.