RE: [Arsperl-users] ars_CreateEntry crashing perl
Brought to you by:
jeffmurphy
|
From: Mark V. <Mar...@ev...> - 2005-09-26 19:08:15
|
Sam, Do you receive any values in $ars_errstr and %ars_errhash? Mark Vaughan Programmer III =20 Direct: +1 303 802 2426 Cell: +1 303 601 4434 Fax: +1 303 802 1420 mar...@ev... Evolving Systems, Inc.=20 9777 Pyramid Court, Suite 100, Englewood, CO USA 80112 www.evolving.com -----Original Message----- From: ars...@ar... [mailto:ars...@ar...] On Behalf Of Sam Vanderhyden Sent: Thursday, September 22, 2005 6:43 PM To: ars...@ar... Subject: [Arsperl-users] ars_CreateEntry crashing perl I am using activestate perl 5.8.3 build 809 on Windows 2k, with=20 ARSystem 6.03.00. I have installed ARSPerl-1.84 windows binary=20 distribution available on the site. I am trying to insert multiple entries into a form in using the=20 following code: my $c =3D ars_Login("ohio", "Demo", "", undef, undef, 6777, 0); %f =3D ars_GetFieldTable($c, "HPD:HelpDesk"); my $id =3D ars_CreateEntry($c, "HPD:HelpDesk", $f{'Summary'}, "Perl Test ticket #1",=09 $f{'Description'}, "his is the description", $f{'Category'},"Software", $f{'Type'}, "Other", $f{'Item'}, "Drivers", $f{'Case Type'}, "Incident", $f{'Priority'}, "Low", $f{'Requester Login Name+'}, "Demo", $f{'Requester Name+'}, "Demo", $f{'Source'}, "Phone"); print "TICKET ID: $id\r\n"; $id =3D ars_CreateEntry($c, "HPD:HelpDesk", $f{'Summary'}, "Perl Test ticket #2", $f{'Description'}, "his is the description", $f{'Category'},"Software", $f{'Type'}, "Other", $f{'Item'}, "Drivers", $f{'Case Type'}, "Incident", $f{'Priority'}, "Low", $f{'Requester Login Name+'}, "Demo", $f{'Requester Name+'}, "Demo", $f{'Source'}, "Phone"); print "TICKET ID: $id\r\n"; When I run the above script, I get an application error dialog for=20 perl.exe which states "The instruction "0x77fcb861" referenced memory=20 at "0x015cd4a0". The memory cannot be "written"." The dialog comes up=20 after the two IDs are printed out, and if I use Remedy User to view the=20= tickets, they are indeed created. If I remove the code to create the=20 second ticket, the whole thing works fine. Does ARSPerl work under activestate perl? Is there something I can do=20 to get around this problem? -Sam ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server.=20 Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users This e-mail and any attachments may be confidential and/or legally privil= eged. If you have received this e-mail and you are not a named addressee,= please inform Evolving Systems TIS at ti...@ev... and then delete t= he e-mail from your system. If you are not a named addressee you must not= use, disclose, distribute, copy, print or rely on this e-mail. To ensure= regulatory compliance and for the protection of our clients and business= , Evolving Systems may monitor and read e-mails sent to and from its serv= ers. Although Evolving Systems routinely screens for viruses, addressees = should scan this e-mail and any attachments for viruses. Evolving Systems= makes no representation or warranty as to the absence of viruses in this= e-mail or any attachments.=20 Registered Office: 9777 Mt. Pyramid Ct Suite 100, Englewood, CO 80112 |