Previous | Next | (P-PDF) JavaScript
Topic: Acrobat 5 crashes - asked on Adobe forum
Conf: (P-PDF) JavaScript, Msg: 28230
From: CCJ
Date: 10/6/2001 11:20 AM
Hi
When I use Acrobat 5 (full) on a Win 98 box and click
on a bookmark which uses JavaScript, Acrobat crashes.
The original document was created in Acrobat 4 and has
no problem when run in 4. My error message is:
ACROBAT caused an invalid page fault in module
ESCRIPT.API at 017f:238447cb.
Registers: EAX=023e69c0 CS=017f EIP=238447cb
EFLGS=00010246 EBX=208a32ec SS=0187 ESP=00b3f1c4
EBP=00b3f1dc ECX=208a2e9c DS=0187 ESI=00000001 FS=2e9f
EDX=208a32f4 ES=0187 EDI=00000000 GS=0000 Bytes at
CS:EIP: 8b 06 8b 48 08 8b 40 0c 3b c8 76 02 8b c1 83 f8 Stack dump: 023e5df0 238059ae 023e6988 00000001
00000000 023e5df0 00b3f1f4 2380518e 023e5df0 00000001 208a2e9c 208a32f8 00b3f294 2082189c 023e5df0 208a2e9c
The JavaScript on the form
function ToAccount() { var l = getField
"newaccounts"); var v = l.insertItemAt(account[0]
[1],account[0][0],0) }
The JavaScript in the Bookmark
var account = new Array(); account[0] = new Array
("4193","The Green Bottle Brewery"); ToAccount
(account);
Help appreciated CCJ