About 450,000 results
Open links in new tab
  1. java - What is a exception error and how do I fix it? - Stack Overflow

    Feb 21, 2019 · The method throws an exception, which basically means it can run into an error and the try catch block is a way to handle that error without your program crashing.

  2. java - What is a NullPointerException, and how do I fix it? - Stack ...

    Now Java 14 has added a new language feature to show the root cause of NullPointerException. This language feature has been part of SAP commercial JVM since 2006. In Java 14, the …

  3. "A java exception has occurred" when opening .jar

    Aug 6, 2014 · A Java Exception has occurred. I just create new folder put JAR file inside that folder and also place lib folder that is used for Java project and finally JAR file is working fine.

  4. java - What is a IOException, and how do I fix it? - Stack Overflow

    Sep 6, 2018 · An IO (Input-Output) Exception is predictably caused by something wrong with your input or output. It can be thrown by most classes in the java.io package for many reasons to …

  5. java - How do I resolve ClassNotFoundException? - Stack Overflow

    Sep 9, 2016 · I am trying to run a Java application, but getting this error: java.lang.ClassNotFoundException: After the colon comes the location of the class that is …

  6. Java says FileNotFoundException but file exists

    Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - unreported exception java.io.FileNotFoundException; must be caught or declared to be thrown If you …

  7. How to fix java.lang.IndexOutOfBoundsException - Stack Overflow

    Sep 16, 2013 · Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck (ArrayList.java:604) It is in this line of file arraylist.java:

  8. Java virtual machine launcher error- A java exception has occurred

    Feb 9, 2014 · The same virtual machine launcher error - java exception has occurred happened with me in eclipse .This error was due to the package name . I changed the package name …

  9. How can I solve "java.lang.NoClassDefFoundError"?

    I've tried both the examples in Oracle's Java Tutorials. They both compile fine, but at run time, both come up with this error: Exception in thread "main" java.lang.NoClassDefFoundError:

  10. How to solve java.lang.NullPointerException error?

    Sep 3, 2015 · Exception in thread "main" java.lang.NullPointerException at AnotherClassLoader.loadClass(test.java:58) at test.main(test.java:30) at …