Results 1 to 3 of 3

Thread: uncaught exception: AjxException

  1. #1
    Join Date
    Jan 2007
    Posts
    4
    Rep Power
    8

    Default uncaught exception: AjxException

    Hi, I have firefox with firebug instaled, in my first zimlet i have an error and i dont know how i can fix it. The error uncaught exception: AjxException appears in the firebug window and the zimlet dont work, i check the opt/zimbra/log/httpd_access.log but nothing. The zimlet call a perl script in my server in the port 7780, the script work fine in the server.

    the error appear when the OK button is pressed.

    The zimlet is attached.

    Any idea?
    Attached Files Attached Files

  2. #2
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by jmardones View Post
    Hi, I have firefox with firebug instaled, in my first zimlet i have an error and i dont know how i can fix it. The error uncaught exception: AjxException appears in the firebug window and the zimlet dont work, i check the opt/zimbra/log/httpd_access.log but nothing. The zimlet call a perl script in my server in the port 7780, the script work fine in the server.

    the error appear when the OK button is pressed.

    The zimlet is attached.

    Any idea?
    Take a look at the stack when the exception is thrown, or set a breakpoint in Firefox on where AjxException is instantiated, and see if you can figure out what the exception is over.

  3. #3
    Join Date
    Jan 2007
    Posts
    4
    Rep Power
    8

    Default

    i found the problem, when the code:
    AjxRpc.invoke(reqParam, url, reqHeader, new AjxCallback(this,
    this._resultCallback))

    is executed the AjxException is launched, i dont found where is the documentation about the AjxRpc.invoke function.

    the parameters are:
    var myserver = location.host;
    var url = 'http://' + myserver + ':7780/cgi-bin/jentek.pl';
    var run = AjxStringUtil.urlEncode(rut);
    var numero = AjxStringUtil.urlEncode(number);
    var pass = AjxStringUtil.urlEncode(password);
    var reqParam = 'rut=' + run + '&numero=' + numero + '&password=' + pass;
    var reqHeader = {"Content-Type":"application/x-www-form-urlencoded"};


    any links to documentation or ideas for fix the problem.

Similar Threads

  1. zmprov mc default zimbraFeatureNotebookEnabled TRUE
    By nbhanji in forum Installation
    Replies: 11
    Last Post: 04-29-2008, 10:39 AM
  2. Regarding Exception Message
    By Sbhingarkar in forum Developers
    Replies: 1
    Last Post: 01-22-2008, 12:52 PM
  3. Zimbra Mobile fails with Java Exception
    By JasonChase in forum Zimbra Mobile
    Replies: 7
    Last Post: 01-21-2008, 06:25 PM
  4. Error loading on Mac OS X 10.4.10 server PPC
    By qprcanada in forum Installation
    Replies: 7
    Last Post: 10-26-2007, 06:25 AM
  5. zmtrainsa exception
    By ldotc in forum Administrators
    Replies: 9
    Last Post: 05-21-2006, 06:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •