Java Design Rules For Concurrent Server Software Development
We all take it for granted that computers can do more than one thing at a time. It’s become second nature to work on a spreadsheet while downloading files, managing the print queue and streaming audio. Even single applications are expected to juggle multiple tasks. For instance, your spreadsheet must still respond to mouse events no matter how... [Read more of this review]
How do I fix – NullPointerException ?
According to Sun, this error is thrown when an application attempts to use null in a case where an object is required. For instance, the following code will generate this error:
y.yourMethod(); where y is null
In fact the following occasions will generate this fault:
Calling the instance method of a null object.
Accessing or modifying the field of... [Read more of this review]
How do I fix – NoClassDefFoundError ?
This error is thrown up if the Java Virtual Machine or a ClassLoader instance loads a class definition when the class could not be found. This could be part of a normal method call or when creating a new instance using the new expression. It could also be due to not setting up your classpath correctly (also check that JAVA_HOME is set right).
In fact,... [Read more of this review]
Read more posts from Software Quality