51Testing软件测试论坛

标题: 关联时报 Error -- memory violation : Exception ACCESS_VIOLATION received. [打印本页]

作者: Myayiba    时间: 2012-7-13 13:27
标题: 关联时报 Error -- memory violation : Exception ACCESS_VIOLATION received.
红色部分是我做的关联  
不知道为什么总会报这个错误
最下面一段蓝色是我用firebug获取到的信息  也就是做关联左右取值的依据

下面这部分代码是点击某个链接以后生成的   儿要关联的rid也是在点击这个链接后才拿到的
我尝试过把关联分别放在每段web_url前面    前面两个会报Error -- memory violation : Exception ACCESS_VIOLATION received.这个错误

放到后面的话就会报找No match found for the requested parameter
我感觉放在后面应该是不对的  可是我不知道为什么会报这个错误

对了报 memory violation 错误同时还会有另外一个错误
web_url("ToeflExam_Summary") highest severity level was "ERROR", 1067 body bytes, 247 header bytes          [MsgId: MMSG-26388]
好像是最高严重级别的错误  
谁能帮我分析一下

web_reg_save_param("rid"
                "LB=rating\":{\"ID\":",
                "RB=\"",
                LAST);


web_url("WritingAnswer",
                "URL=http://dev2.pearl.1gai.cn/Task/WritingAnswer?sid={sid}",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://dev2.pearl.1gai.cn/student/StuCourse",
                "Snapshot=t14.inf",
                "Mode=HTML",
                LAST);
       

        web_url("ToeflExam_RateWaiting",
                "URL=http://dev2.pearl.1gai.cn/Examination/ToeflExam_RateWaiting?_=1342061668430",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://dev2.pearl.1gai.cn/Task/WritingAnswer?sid={sid}",
                "Snapshot=t15.inf",
                "Mode=HTML",
                LAST);
               


        web_url("ToeflExam_Summary",
                "URL=http://dev2.pearl.1gai.cn/Examination/ToeflExam_Summary?_=1342061668449",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://dev2.pearl.1gai.cn/Task/WritingAnswer?sid={sid}",
                "Snapshot=t16.inf",
                "Mode=HTML",
                LAST);

       

        web_url("ToeflExam_HasUnsubmitted",
                "URL=http://dev2.pearl.1gai.cn/Examination/ToeflExam_HasUnsubmitted?_=1342061668454",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://dev2.pearl.1gai.cn/Task/WritingAnswer?sid={sid}",
                "Snapshot=t17.inf",
                "Mode=HTML",
                EXTRARES,
                "Url=../ExaminationComm/Get?rid=2", "Referer=http://dev2.pearl.1gai.cn/Task/WritingAnswer?sid={sid}", ENDITEM,
                LAST);

       

        web_url("ToeflExam_Timeup",
                "URL=http://dev2.pearl.1gai.cn/Examination/ToeflExam_Timeup?_=1342061668441",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://dev2.pearl.1gai.cn/Task/WritingAnswer?sid={sid}",
                "Snapshot=t18.inf",
                "Mode=HTML",
                LAST);
       
        web_url("ToeflExam_SubmitWaiting",
                "URL=http://dev2.pearl.1gai.cn/Examination/ToeflExam_SubmitWaiting?_=1342061668459",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://dev2.pearl.1gai.cn/Task/WritingAnswer?sid={sid}",
                "Snapshot=t19.inf",
                "Mode=HTML",
                LAST);

{"state":2000,"rating":{"ID":21,"NumId":"000021","Answer":"","TimeUsed":0,"WordsCount":null,"SentencesCount":null,"WordsPerSentenceCount":null}}
作者: 云层    时间: 2012-7-13 13:36
Error -- memory violation : Exception ACCESS_VIOLATION received
这个错误是内存错误,重启下试试就好了好像,和你怎么写没啥关系应该
作者: Myayiba    时间: 2012-7-13 14:14
重启过 还是会报  我又重新录了一个脚本  就没有了  但是会报找不到参数  郁闷




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2