Error List

Error List for the ‘JAVA-JRE’ Category

NoSuchObjectException: no such object in table

Applies to:
NA

Description:
Occurs while using remote method calls.

Cause:
a. Server objects must be getting unregistered somehow.
b. If the breakpoints stop the errors, it’s definitely a race condition.


JAVA-JRE , , , ,

NoSuchElementException

Applies to:
NA

Description:
Occurs while iterating over collection.

Cause:
Wrong iterating logic.

JAVA-JRE

ArithmeticException

Applies to:
NA

Description:
Thrown when an exceptional arithmetic condition has occurred

Cause:
Exceptional arithmetic condition has occurred, usually division by zero occurred.

JAVA-JRE

ArrayStoreException

Applies to:
NA

Description:
Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects

Cause:
You have tried to store the wrong type of object into an array of objects. For example, the following code generates an ArrayStoreException:

Object x[] = new String[3];
x[0] = new Integer(0);

JAVA-JRE , , , , , ,

BufferOverflowException

Applies to:
NA

Description:
Unchecked exception thrown when a relative put operation reaches the target buffer’s limit.

Cause:
You have used buffer operation but reached the target buffer’s limit. In other words it is thrown when you have tried to write elements to a buffer, but there is not enough remaining space in the buffer.

JAVA-JRE

BufferUnderflowException

Applies to:
NA

Description:
Unchecked exception thrown when a relative get operation reaches the source buffer’s limit.

Cause:
You have used buffer operation but reached the target buffer’s limit. In other words it is thrown when you have tried to read elements from a buffer, but there is not enough remaining space in the buffer.

JAVA-JRE , , ,

CannotRedoException

Applies to:
NA

Description:
Thrown when an UndoableEdit is told to redo() and can’t.

Cause:
You have tried to redo() on UndoableEdit.

JAVA-JRE

CannotUndoException

Applies to:
NA

Description:
Thrown when an UndoableEdit is told to undo() and can’t.

Cause:
You have tried to undo() on UndoableEdit.

JAVA-JRE

ClassCastException

Applies to:
NA

Description:
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.

Cause:
You have tried to perform cast with invalid types of objects. For example, the following code generates a ClassCastException:

Object x = new Integer(0);
System.out.println((String)x);


JAVA-JRE , ,

ConcurrentModificationException

Applies to:
NA

Description:
This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible.

Cause:
Usually it is thrown when one thread tried to modify a Collection while another thread was iterating over it. In general, the results of the iteration are undefined under these circumstances.

JAVA-JRE , , , , ,