SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    May 2004
    Posts
    46
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    UNHANDLED EXCEPTION VIOLATION

    I keep getting an "Unhandled Exception Violation" error when I execute my scripts, complaining that the script does not have write permissions to itself. Winrunner then generates a Dr Watson message and then terminates. I've tried copying and pasting the script to a new one to eliminate any potential problems associated with the directory of the script however problem still exists. Tried re-installing and running on different machines but no luck. Using Windows NT. Does anyone have any suggestions or ideas on how to overcome this problem?....Help very much appreciated!!!

  2. #2
    Junior Member
    Join Date
    Aug 2004
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: UNHANDLED EXCEPTION VIOLATION

    What version of WinRunner?

    Network drive or local drive?

    Are you doing anything interesting such as accessing a database, datatable or file?

    Was this working up until now, or has it never worked?

  3. #3
    Member
    Join Date
    May 2004
    Posts
    46
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: UNHANDLED EXCEPTION VIOLATION

    Using Version 7.6

    The scripts are stored on a network drive, however I can usually execute them at least once without the error appearing. Scripts are not doing anything too complicated within a Powerbuilder application. Everything was working fine for about 2 months up until yesterday...please help!...

  4. #4
    Member
    Join Date
    Feb 2004
    Location
    India
    Posts
    61
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: UNHANDLED EXCEPTION VIOLATION

    Is the Dr.Watson error message appearing only when you are working with WR ? or with any other applications also?

    If it is the case try to reinstall the OS.

  5. #5
    Moderator
    Join Date
    Mar 2000
    Location
    Orange County, CA
    Posts
    3,187
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: UNHANDLED EXCEPTION VIOLATION

    We had the same issue on a few systems here once we started developing more compiled modules instead of standard record and playback scripting.

    We found the issue was with using arrays defined as static. Once we set the define statement to have the arrays defined as auto, we haven't experienced the problem since.

    Just something to think about if your script are utilizing arrays at all.
    Insanity: doing the same thing over and over again and expecting different results

  6. #6
    Member
    Join Date
    May 2004
    Posts
    46
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: UNHANDLED EXCEPTION VIOLATION

    I am only using one large compiled module and the only arrays I am using are defined as auto.

  7. #7
    SQA Knight
    Join Date
    Jun 2002
    Location
    Cupertino, CA, USA
    Posts
    2,164
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: UNHANDLED EXCEPTION VIOLATION

    Check your hard drive space on the network drive.
    Is the Dr. Watson always appearing at the same point in the scripts? Are you using file_ or ddt_ functions?

  8. #8
    Member
    Join Date
    May 2004
    Posts
    46
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: UNHANDLED EXCEPTION VIOLATION

    The Dr Watson error only appears after the Unhandled Exception error, which happens usually as soon as a script is run but for random scripts. Plenty of space on the hard drive and no file or ddt functions are used which rules out file permission problems. Thanks

  9. #9
    Member
    Join Date
    Aug 2003
    Location
    india
    Posts
    50
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: UNHANDLED EXCEPTION VIOLATION

    Hi
    I too facing similar problem. my scripts are on TD server (8.0) and i am running them onmy pc with WR (7.6).

    It is giving some permission message and unhandled exception and closing the script and winrunner too. this is happening only when i am opening a data table but some time it was working fine, it still works fine if i do not use ddt_ commands but i need to use a excel file from local machine

    Pls suggest what to do ?

  10. #10
    Member
    Join Date
    May 2004
    Posts
    46
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: UNHANDLED EXCEPTION VIOLATION

    My problem no longer exists - think this was due to the fact that I was running via winrunner and copying a version of the script that already had a lock file created. Thus everytime it ran - it would complain that the file was open and it couldnt have access to it. Double check that lock files are not present when executing your scripts!

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 8.82%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 01:09 PM.

Copyright BetaSoft Inc.