Hello, |
Re: Error message R6025: pure virtual function call Regards, Mathias Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS |
Re: Error message R6025: pure virtual function call Mathias Mamsch - Wed Mar 16 06:01:28 EDT 2011 Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS |
Re: Error message R6025: pure virtual function call Mathias Mamsch - Wed Mar 16 06:01:28 EDT 2011 Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS I am using Doors 9.2, Windows 7 Thanks, Hardik Shah |
Re: Error message R6025: pure virtual function call SystemAdmin - Fri Aug 19 06:45:43 EDT 2011 |
Re: Error message R6025: pure virtual function call Mathias Mamsch - Fri Aug 19 07:34:20 EDT 2011 It can be get,create,update, iterating history,set filter any one of this, but all this operation I am doing now also but that issue is not came now. infect this issue is faced only once from last one year. Thanks, Hardik Shah |
Re: Error message R6025: pure virtual function call SystemAdmin - Fri Aug 19 08:47:31 EDT 2011
I had reproduced this error.
Module moduleVar = edit("/Project1/Module1",false)
Object objectVar = object(330, moduleVar)
delete objectVar
flushDeletions()
Project projectVar= getParentProject(moduleVar)
string resultVar = "\"" uniqueID(projectVar) "_" uniqueID(moduleVar) "_" objectVar."Absolute Number" "\""
|
Re: Error message R6025: pure virtual function call SystemAdmin - Wed Sep 07 06:13:31 EDT 2011
I had reproduced this error.
Module moduleVar = edit("/Project1/Module1",false)
Object objectVar = object(330, moduleVar)
delete objectVar
flushDeletions()
Project projectVar= getParentProject(moduleVar)
string resultVar = "\"" uniqueID(projectVar) "_" uniqueID(moduleVar) "_" objectVar."Absolute Number" "\""
I would also like to point out that the "object(AbsNo, Module)" command only finds objects that are currently displayed and may not find your object. Also, "delete(Object)" only works on currently UNDELETED objects, so if the object is deleted you must first undelete it.
OK, "Gone" is a bit hard to because if you fail to save the module it will be there next time. |
Re: Error message R6025: pure virtual function call
I have begun to get this error as well, but in a different scenario.
void goToTarget ( DBE TargetGoToButton ) {
Object o
Module m, mm
string targetModName, cmtModName
int abstgt,abscurr
o = getTargetObject()
if ( o == null ){
ack "no target object"
} else {
m = module ( o )
targetModName = fullName ( m )
cmtModName = fullName ( CmtMod )
if ( targetModName == null )
ack "error with path to target module"
else {
mm = read ( targetModName, true, true )
abstgt = o."Absolute Number"
abscurr = CurObj."Absolute Number"
gotoObject ( abstgt, mm )
gotoObject ( abscurr, CmtMod )
}
}
}
|
Re: Error message R6025: pure virtual function call emily_butt - Tue Feb 14 08:38:16 EST 2012
I have begun to get this error as well, but in a different scenario.
void goToTarget ( DBE TargetGoToButton ) {
Object o
Module m, mm
string targetModName, cmtModName
int abstgt,abscurr
o = getTargetObject()
if ( o == null ){
ack "no target object"
} else {
m = module ( o )
targetModName = fullName ( m )
cmtModName = fullName ( CmtMod )
if ( targetModName == null )
ack "error with path to target module"
else {
mm = read ( targetModName, true, true )
abstgt = o."Absolute Number"
abscurr = CurObj."Absolute Number"
gotoObject ( abstgt, mm )
gotoObject ( abscurr, CmtMod )
}
}
}
Perhaps you pre-store all the "Object" handles of the link targets and displays on the dialog, and when they select one "getTargetObject" retrieves that handle. If you are saying you have a problem if you display the links, close the target module, and then the user selects one and "getTargetObject" returns an "Object" handle, yes that handle is non-null but also is corrupted, and surely there are will be errors down the road. If so, I would: [A] "block" the dialog strongly discouraging casual closing of the module [B] in this function, check of that module is still open, and if not open it and re-display the dialog. This is tricky since you have corruption if you display, and the user then closes and re-opens the module; in which case it "is" open but the handles are still corrupted. [C] Somehow remember the AbsNo of the target objects so when they select one and the module is closed, you open the module and re-acquire the Object handle in question; or better yet just "gotoObject(AbsNo, NewModuleHandle)" I think I like [C]. write function "int getTargetObject()"; remember the fullName of the target module, then:
-Louie |
Re: Error message R6025: pure virtual function call llandale - Tue Feb 14 10:47:34 EST 2012
Perhaps you pre-store all the "Object" handles of the link targets and displays on the dialog, and when they select one "getTargetObject" retrieves that handle. If you are saying you have a problem if you display the links, close the target module, and then the user selects one and "getTargetObject" returns an "Object" handle, yes that handle is non-null but also is corrupted, and surely there are will be errors down the road. If so, I would: [A] "block" the dialog strongly discouraging casual closing of the module [B] in this function, check of that module is still open, and if not open it and re-display the dialog. This is tricky since you have corruption if you display, and the user then closes and re-opens the module; in which case it "is" open but the handles are still corrupted. [C] Somehow remember the AbsNo of the target objects so when they select one and the module is closed, you open the module and re-acquire the Object handle in question; or better yet just "gotoObject(AbsNo, NewModuleHandle)" I think I like [C]. write function "int getTargetObject()"; remember the fullName of the target module, then:
-Louie Cache objects in a skip list, then try to extract their attribute values from that skip list AFTER closing the source module (where the objects came from). When I moved the 'close module' line below the code that extracts attribute values from the skip list, the error went away. |
Re: Error message R6025: pure virtual function call Thosicus - Wed Mar 07 14:02:20 EST 2012 -Louie |
Re: Error message R6025: pure virtual function call When I got this error message, I had a script that used the "print" statement and tried to close(module) the module. It was a multi-baseline/module script and I guess the print statement opened the dialog in that module and disallowed the use of closing the module. I was using the "print" statements to find bugs. When I got rid of the print statements the module was able to close just fine. |