[saba_lms_dev] Re: Error while issuing putParam

  • From: "Ian Cabell" <cabell@xxxxxxxxxxxxxxxxxx>
  • To: saba_lms_dev@xxxxxxxxxxxxx
  • Date: Wed, 20 Feb 2002 11:00:15 -0500

The "General Error (9998)" is the most frustrating and least helpful error
I've seen.  In fact, getting it doesn't help you determine what caused it
hardly at all.  The only information to get from it is that there is a
"NullPointerException".  This is usually caused by trying to get
something[i] where there isn't anything.

The best things to do in this case are to:
a) look in the jrun/jsm-default/sabaDebug.txt file to see if you can get
more information.
b) liberally sprinkle your code with Debug.Trace("") commands that tell you
what your variables are.  For instance:
        for (i = 0; i < length; i++) {
                Debug.Trace( "i: " + i + " and value[i]: " + value[i] );
                ...
        }
will give you some indications.

Hope that helps!

Thanks,
--Ian
____________________________________
Ian Cabell
Systems and Web Development
http://Learn.us.nortel.com/
BPO IT - PricewaterhouseCoopers
* cabell@xxxxxxxxxxxxxxxxxx
* ESN 222.5767
* Ext 615.432.5767
____________________________________


-----Original Message-----
From: Mohideen Buhari [mailto:mohideen@xxxxxxxxx]
Sent: Wednesday, February 20, 2002 1:31 AM
To: Saba Developers List; Stefano Tempesta; Stefano Tempesta
Subject: [saba_lms_dev] Error while issuing putParam


Hi All,

I am facing a problem issuing a putparam on the Saba LMS (3.3.3.1). The 
lms sends back a response in the form an error page which has been 
attached for your reference.

Can anybody tell me the cases in which such an error page is thrown. I 
thought that the "error" keyword under [core] would identify whether my 
command was successful or not.

What is it that I am missing or doing wrong, to get to this error page.

Please help.....

Thanks and Regards
Mohideen


-- Attached file included as plaintext by Listar --
-- File: sabaerr.txt

<!-- Copyright © 1997-2000 Saba Software, Inc. All rights reserved -->
<!-- Page name: /common/error/sabaerr.saba -->


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Saba error number 99998</title>

<!-- ********** Start of JavaScript ********** -->
<SCRIPT LANGUAGE="JavaScript">
<!--

        // ===============================================================
        // submits the form
        // ===============================================================
        function showAlert() 
        {
                message = "(99998) A system error occurred. Please try
again. If the situation persists, please contact the site
administrator.\njava.lang.NullPointerException";
                alert(message);
                // get a "top is read-only" error:
                // top.location = "/index.html";
                // document.theForm.submit();
                history.back();
        }
        
//-->
</SCRIPT>
<!-- **********  End of JavaScript  ********** -->

</head>

<body bgcolor="#ffffff" onLoad="showAlert();"> 

<form name="theForm" method="post" action="SabaWeb" target="_top">
        <input type=hidden name="ssp" value="">
</form>

<strong><small><font face="arial,sans-serif,helvetica"> General Error<br>
                An error was encountered. Please try again. If the situation
persists, please contact the site administrator.                <p>
        (99998) A system error occurred. Please try again. If the situation
persists, please contact the site
administrator.\njava.lang.NullPointerException
</font></small></strong>
</body>
</html>


This email was sent to you from the "Saba LMS Developers" list.
To unsubscribe, please send an email to saba_lms_dev-request@xxxxxxxxxxxxx
with the subject "unsubscribe".

This email was sent to you from the "Saba LMS Developers" list.
To unsubscribe, please send an email to saba_lms_dev-request@xxxxxxxxxxxxx
with the subject "unsubscribe".

Other related posts: