Home » Archives for Sotirios-Efstathios Maneas » Page 6

Author Archives: Sotirios-Efstathios Maneas

Sotirios-Efstathios (Stathis) Maneas is a PhD student at the Department of Computer Science at the University of Toronto. His main interests include distributed systems, storage systems, file systems, and operating systems.

java.util.concurrentmodificationexception – How to handle Concurrent Modification Exception

The java.util.concurrentmodificationexception is a RuntimeException that may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible. An example of not permissible behavior is when a thread tries to modify the internal structure of a Collection, while another thread is iterating over it. In general, the results of the iteration are undefined. ...

Read More »

java.lang.reflect.invocationtargetexception – How to handle Invocation Target Exception

Reflection is commonly used by programs which require the ability to examine or modify the runtime behavior of applications running in the Java Virtual Machine. The reflection layer wraps any thrown exception as an InvocationTargetException. In this way, it is clear whether the exception was actually caused by a failure in the reflection call, or a failure within the method ...

Read More »

java.lang.arrayindexoutofboundsexception – How to handle Array Index Out Of Bounds Exception

In this post, we feature a comprehensive Example on How to handle Array Index Out Of Bounds Exception. Java supports the creation and manipulation of arrays, as a data structure. A bunch of Java data structures are implemented using arrays to store and expand their data. Thus, arrays are massively used in programming, as they provide a very fast and ...

Read More »

Java offline installer – How to install Java in Linux

In this tutorial we will show you how to install the latest Java version in a Linux machine, using the Java offline installer. The Java offline installer is an executable file that contains all necessary files required for a complete installation. An internet connection is required, in order for the offline installer to be downloaded. Once the installer is downloaded, ...

Read More »

Java offline installer – How to install Java in Windows

In this tutorial we will show you how to install the latest Java version in Windows, using the Java offline installer. The Java offline installer is an executable file that contains all necessary files required for a complete installation. An internet connection is required, in order for the offline installer to be downloaded. Once the installer is downloaded, the computer ...

Read More »

java.lang.NullPointerException Example – How to handle Java Null Pointer Exception (with video)

In this post, we feature a comprehensive example of java.lang.NullPointerException – Java Null Pointer Exception. In Java, a special null value can be assigned to an object’s reference and denotes that the object is currently pointing to an unknown piece of data. A java.lang.NullPointerException is thrown when an application is trying to use or access an object whose reference equals to null. The following cases throw ...

Read More »