You are here: PSPad forum > Bug report / Hlášení chyb > Access violation at editor.openFile()

Access violation at editor.openFile()

#1 Access violation at editor.openFile()

Posted by: Jouwee | Date: 2015-09-04 18:49 | IP: IP Logged

Hello!

We have a VBScript that uses "editor.openFile()" and ocasionally it throws a Access Violation. The error is sporadic and we couldn't find a fixed way to simulate it, but it occurs with some frequency, to the point that it is annoying to the developers, as it makes the whole execution unstable, and PSPad has to be restarted.

The code (VBScript) that throws the first access violation is the call to "novo.openFile()" in the following script:

set novo = newEditor()
novo.openFile(fileName)
novo.caretY(linha + 50)

image

The full stack of the error:

Exception description:

Access violation at address in module '.exe'. Read of address .

Exception class: EAccessViolation
Exception address:
----------------------------------------------------------------------------------------------------
Stack list, generated 03/09/2015 16:27:38.
.

Please don't put such logs into the forum.
.
Nobody here is interested on such long logs.
.
.
.

Send them to the Author Jan by mail.
.
For mail address see PSPad > Help > About
.
Also please describe what you have done right before
and how often that error occurs.
.
.
.
Thanks

.
.

----------------------------------------------------------------------------------------------------
Program : C:\PSPAD\PSPad.exe 4.6.0 (2669)
System : Windows 7 Professional x64, Version: 6.1, Build: 1DB1, Service Pack 1
Processor: Intel, Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, 3390 MHz MMX
Display : 1920x1080 pixels, 32 bpp
----------------------------------------------------------------------------------------------------
Active Controls Hierarchy:
TPSSynEdit ""
TfChildEdit ""
----------------------------------------------------------------------------------------------------

Edited 1 time(s). Last edit at 2016-05-29 16:33 by Stefan.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR