Caused by: java.lang.IllegalArgumentException: Parse error: in Android
<p>I'm trying to convert json date string into date for storing into SQLite database . After run the application is crash after some time and getting error of  <strong>Caused by: java.lang.IllegalArgumentException: Parse error:</strong> at this line Date date = new Date(strActiondate); First 2 to 3 months its run but right now its getting crash.Thanks in advanced !!</p>

<p>Here is my date code</p>

<pre><code>Log.e(" strActiondate "," ==========&gt;&gt;&gt;&gt;&gt; "+strActiondate);
                    SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss a", Locale.getDefault());
                    Date date = new Date(strActiondate);
                    String newDate = dateFormat.format(date);
                    Log.e(" newDate "," = "+ newDate);
</code></pre>

<p>Here is my LOG cat error </p>

<pre><code>Caused by: java.lang.IllegalArgumentException: Parse error:
            at java.util.Date.parseError(Date.java:364)
            at java.util.Date.parse(Date.java:560)
            at java.util.Date.&lt;init&gt;(Date.java:154)
</code></pre>