Question:

What Are runtime errors caused by???

by  |  earlier

0 LIKES UnLike

I keep getting these messages can anyone help?

A runtime error has occurred. Do you wish to debug?

Line: 646

Error:Object expected

...and...

A runtime error has occurred. Do you wish to debug?

Line:1167

Error: Document. Forms. Login form. Elements is null or not an object.

Please help

Ten points for a good answer!

Thanks in advance x*x

 Tags:

   Report

3 ANSWERS


  1. Run time errors are when you don't send sufficient data to a particular function or method.

    This means something windows was expecting wasn't there, If you are not a programmer and you are receiving these errors, it means you are using a pretty useless piece of software.


  2. Runtime errors are caused by bugs in the programming...which is why it is asking if you want to debug i t.

    Not really much more that can be done to help, without knowing more about the program, whether or  not you wrote it or you want to fix it even.

    Both of these kinds of errors are something that I would only expect to see out of a program in development though...


  3. Sounds like you are encountering an error at runtime that isn't picked up at compile time.  Given the "null or not an object" message, I'm guessing the code is trying to work with an object that hasn't been initialized.

    Example:

    Foo foo = null;

    System.out.println("Getting foo value: " + foo.getValue());

    In this case, foo has been defined, but not initialized and the error would be detected at runtime.

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.