1. Explore
  2. »
  3. Java Runtime
  4. »
  5. java.text

java.text errorsJava Runtime

Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Empty/null String or String containing incorrect date format

java.text.ParseException
java.text.DateFormat.parse
569Web pages
1Solution
ParseExceptionDateFormat.parse()569

SimpleDateFormat.compile() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.text.SimpleDateFormat.compile
71Web pages
IllegalArgumentExceptionSimpleDateFormat.compile()71

Format.format() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
java.text.Format.format
70Web pages
IllegalArgumentExceptionFormat.format()70

MessageFormat.applyPattern() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
java.text.MessageFormat.applyPattern
68Web pages
IllegalArgumentExceptionMessageFormat.applyPattern()68

SimpleDateFormat.initialize() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
java.text.SimpleDateFormat.initialize
65Web pages
IllegalArgumentExceptionSimpleDateFormat.initialize()65

Format.format() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
java.text.Format.format
65Web pages
IllegalArgumentExceptionFormat.format()65

MessageFormat.<init>() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
2 frames hidden
java.text.MessageFormat.<init>
64Web pages
IllegalArgumentExceptionMessageFormat.<init>()64

SimpleDateFormat.format() has thrown a NullPointerException

java.lang.NullPointerException
2 frames hidden
java.text.SimpleDateFormat.format
61Web pages
NullPointerExceptionSimpleDateFormat.format()61

Date provided for formatting is null

java.lang.NullPointerException
3 frames hidden
java.text.DateFormat.format
56Web pages
NullPointerExceptionDateFormat.format()56

SimpleDateFormat.<init>() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
2 frames hidden
java.text.SimpleDateFormat.<init>
55Web pages
IllegalArgumentExceptionSimpleDateFormat.<init>()55

SimpleDateFormat.parse() has thrown a NullPointerException

java.lang.NullPointerException
java.text.SimpleDateFormat.parse
53Web pages
NullPointerExceptionSimpleDateFormat.parse()53

DateFormat.parse() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
java.text.DateFormat.parse
51Web pages
NullPointerExceptionDateFormat.parse()51

MessageFormat.format() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
3 frames hidden
java.text.MessageFormat.format
42Web pages
IllegalArgumentExceptionMessageFormat.format()42

MessageFormat.<init>() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
java.text.MessageFormat.<init>
41Web pages
IllegalArgumentExceptionMessageFormat.<init>()41

DecimalFormat.parse() has thrown a NumberFormatException

java.lang.NumberFormatException
4 frames hidden
java.text.DecimalFormat.parse
40Web pages
NumberFormatExceptionDecimalFormat.parse()40

SimpleDateFormat.parse() has thrown a NumberFormatException

java.lang.NumberFormatException
6 frames hidden
java.text.SimpleDateFormat.parse
39Web pages
NumberFormatExceptionSimpleDateFormat.parse()39

DateFormat.parse() has thrown a NumberFormatException

java.lang.NumberFormatException
7 frames hidden
java.text.DateFormat.parse
38Web pages
NumberFormatExceptionDateFormat.parse()38

SimpleDateFormat.<init>() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
3 frames hidden
java.text.SimpleDateFormat.<init>
37Web pages
IllegalArgumentExceptionSimpleDateFormat.<init>()37

DecimalFormat.parse() has thrown a NumberFormatException

java.lang.NumberFormatException
3 frames hidden
java.text.DecimalFormat.parse
37Web pages
NumberFormatExceptionDecimalFormat.parse()37

DateFormat.parse() has thrown a NumberFormatException

java.lang.NumberFormatException
6 frames hidden
java.text.DateFormat.parse
34Web pages
NumberFormatExceptionDateFormat.parse()34

MessageFormat.makeFormat() has thrown a NumberFormatException

java.lang.NumberFormatException
3 frames hidden
java.text.MessageFormat.makeFormat
34Web pages
NumberFormatExceptionMessageFormat.makeFormat()34

MessageFormat.format() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
2 frames hidden
java.text.MessageFormat.format
31Web pages
IllegalArgumentExceptionMessageFormat.format()31

MessageFormat.makeFormat() has thrown an IllegalArgumentException

java.lang.NumberFormatException
4 frames hidden
java.text.MessageFormat.makeFormat
29Web pages
IllegalArgumentExceptionMessageFormat.makeFormat()29

NumberFormat.parse() has thrown a ParseException

java.text.ParseException
java.text.NumberFormat.parse
28Web pages
ParseExceptionNumberFormat.parse()28

NumberFormat.format() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.text.NumberFormat.format
22Web pages
IllegalArgumentExceptionNumberFormat.format()22

Format.format() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
java.text.Format.format
18Web pages
IllegalArgumentExceptionFormat.format()18

MessageFormat.<init>() has thrown an IllegalArgumentException

java.lang.NumberFormatException
6 frames hidden
java.text.MessageFormat.<init>
18Web pages
IllegalArgumentExceptionMessageFormat.<init>()18

DateFormat.format() has thrown a NullPointerException

java.lang.NullPointerException
3 frames hidden
java.text.DateFormat.format
17Web pages
NullPointerExceptionDateFormat.format()17

MessageFormat.format() has thrown an IllegalArgumentException

java.lang.NumberFormatException
7 frames hidden
java.text.MessageFormat.format
15Web pages
IllegalArgumentExceptionMessageFormat.format()15

SimpleDateFormat.parse() has thrown a NumberFormatException

java.lang.NumberFormatException
6 frames hidden
java.text.SimpleDateFormat.parse
14Web pages
NumberFormatExceptionSimpleDateFormat.parse()14

SimpleDateFormat.format() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
6 frames hidden
java.text.SimpleDateFormat.format
14Web pages
ArrayIndexOutOfBoundsExceptionSimpleDateFormat.format()14

SimpleDateFormat.<init>() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
2 frames hidden
java.text.SimpleDateFormat.<init>
13Web pages
IllegalArgumentExceptionSimpleDateFormat.<init>()13

DateFormat.format() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
7 frames hidden
java.text.DateFormat.format
13Web pages
ArrayIndexOutOfBoundsExceptionDateFormat.format()13

DateFormat.parse() has thrown a NumberFormatException

java.lang.NumberFormatException
7 frames hidden
java.text.DateFormat.parse
13Web pages
NumberFormatExceptionDateFormat.parse()13

MessageFormat.applyPattern() has thrown an IllegalArgumentException

java.lang.NumberFormatException
5 frames hidden
java.text.MessageFormat.applyPattern
11Web pages
IllegalArgumentExceptionMessageFormat.applyPattern()11

DecimalFormat.applyPattern() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.text.DecimalFormat.applyPattern
10Web pages
IllegalArgumentExceptionDecimalFormat.applyPattern()10

MessageFormat.applyPattern() has thrown a NullPointerException

java.lang.NullPointerException
java.text.MessageFormat.applyPattern
10Web pages
NullPointerExceptionMessageFormat.applyPattern()10

DateFormat.format() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
2 frames hidden
java.text.DateFormat.format
9Web pages
IllegalArgumentExceptionDateFormat.format()9

Format.format() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
4 frames hidden
java.text.Format.format
9Web pages
IllegalArgumentExceptionFormat.format()9

MessageFormat.<init>() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
java.text.MessageFormat.<init>
8Web pages
NullPointerExceptionMessageFormat.<init>()8

SimpleDateFormat.<init>() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
3 frames hidden
java.text.SimpleDateFormat.<init>
8Web pages
IllegalArgumentExceptionSimpleDateFormat.<init>()8

BreakIterator.getBreakInstance() has thrown an InternalError

java.lang.InternalError
1 frames hidden
java.text.BreakIterator.getBreakInstance
8Web pages
InternalErrorBreakIterator.getBreakInstance()8

Format.parseObject() has thrown a ParseException

java.text.ParseException
java.text.Format.parseObject
7Web pages
ParseExceptionFormat.parseObject()7

MessageFormat.<init>() has thrown an IllegalArgumentException

java.lang.NumberFormatException
6 frames hidden
java.text.MessageFormat.<init>
7Web pages
IllegalArgumentExceptionMessageFormat.<init>()7

SimpleDateFormat.validatePattern() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
java.text.SimpleDateFormat.validatePattern
7Web pages
IllegalArgumentExceptionSimpleDateFormat.validatePattern()7

DateFormat.parse() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
4 frames hidden
java.text.DateFormat.parse
7Web pages
ArrayIndexOutOfBoundsExceptionDateFormat.parse()7

BreakIterator.getLineInstance() has thrown an InternalError

java.lang.InternalError
2 frames hidden
java.text.BreakIterator.getLineInstance
7Web pages
InternalErrorBreakIterator.getLineInstance()7

SimpleDateFormat.<init>() has thrown an AssertionError

java.lang.AssertionError
19 frames hidden
java.text.SimpleDateFormat.<init>
6Web pages
AssertionErrorSimpleDateFormat.<init>()6

Collator.compare() has thrown a ClassCastException

java.lang.ClassCastException
java.text.Collator.compare
6Web pages
ClassCastExceptionCollator.compare()6

BreakIterator.getLineInstance() has thrown an InternalError

java.lang.InternalError
3 frames hidden
java.text.BreakIterator.getLineInstance
6Web pages
InternalErrorBreakIterator.getLineInstance()6
Nothing to list here.
Nothing to list here.
Nothing to list here.