JAVA Most Common Issues/Exception Solutions
- [Solved] NullPointerException In Java
- [Solved] JAVA java.lang.StringIndexOutOfBoundsException: String index out of range: -1 Example
- [Solved] CloneNotSupportedException
- [Solved] java.lang.ArithmeticException: / by zero in JAVA
- [Solved] ClassCastException :A cannot be cast to B : Example
- [Solved] Exception UnsupportedOperationException Example
- [Solved] ArrayIndexOutOfBoundException in JAVA
- [Solved] JAVA java.lang.StringIndexOutOfBoundsException: String index out of range: -1 Example
- [Solved] java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/config/Configurator
JAVA Date Time Solutions
- [Solved] java.time.DateTimeException: Invalid date ‘February 29’ as ‘2014’ is not a leap year
- [Solved] java.time.DateTimeException: Invalid value for HourOfDay (valid values 0 – 23): 24
- [Solved] java.time.DateTimeException: Invalid value for NanoOfSecond (valid values 0 – 999999999): -1
- [Solved] java.time.zone.ZoneRulesException: Unknown time-zone ID: IST
JAVA File Input and Output Solutions
Regular Expression Issues/Exception Solutions
- [Solved] java.lang.IllegalStateException: No match found : Regular Expression
- [Solved] Invalid escape sequence (valid ones are \b \t \n \f \r \’ \”; \ )
Encoding/Decoding Exceptions Solutions
- [Solved] javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher
- [Solved] Exception java.security.NoSuchAlgorithmException: Cannot find any provider supporting AES/ECB/PKCS7Padding
- [Solved] javax.crypto.AEADBadTagException: Tag mismatch
JDBC Most Common Issues Solutions
- [Solved] JDBC, “Invalid argument value: java.io.NotSerializableException; nested exception is java.sql.SQLException”
- [Solved] JDBC “java.sql.SQLException: ORA-01005: null password given; logon denied”
- [Solved] JDBC “java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver”
Maven Most Common Issues Solutions
- [Solved] Maven: No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
- Maven Connect Timeout from/to Central “https://repo.maven.apache.org/maven2”