<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Exception on Margrop Blog</title>
    <link>https://blog.margrop.net/en/tag/exception/</link>
    <description>Recent content in Exception on Margrop Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Thu, 25 Mar 2021 10:53:15 +0800</lastBuildDate>
    <atom:link href="https://blog.margrop.net/en/tag/exception/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>MySQL Date and DST Conversion Error HOUR_OF_DAY: 0 -&gt; 1 and How to Fix It</title>
      <link>https://blog.margrop.net/en/post/mysql-exception-hour-of-day-0-1-solution/</link>
      <pubDate>Thu, 25 Mar 2021 10:53:15 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/mysql-exception-hour-of-day-0-1-solution/</guid>
      <description>&lt;h1 id=&#34;error-occurred-when-exporting-user-data-hour_of_day-0---1&#34;&gt;Error Occurred When Exporting User Data: HOUR_OF_DAY: 0 -&amp;gt; 1&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Exception in thread &amp;ldquo;main&amp;rdquo; java.lang.IllegalArgumentException: HOUR_OF_DAY: 0 -&amp;gt; 1&#xA;The full error message is as follows:&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>Solution to NumberFormatException when using SpringFox 3.0.0 version</title>
      <link>https://blog.margrop.net/en/post/java-springfox-number-format-exception/</link>
      <pubDate>Mon, 18 Jan 2021 16:39:34 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/java-springfox-number-format-exception/</guid>
      <description>I recently upgraded SpringFox to version 3.0.0, and a bunch of exceptions occurred when accessing the interface documentation.&#xA;The detailed exception stack is as follows&#xA;2021-01-18 16:25:35.824 WARN 62082 --- [ XNIO-2 task-1] i.s.m.p.AbstractSerializableParameter : Illegal DefaultValue null for parameter type integer java.lang.NumberFormatException: For input string: &amp;#34;&amp;#34; at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.base/java.lang.Long.parseLong(Long.java:702) at java.base/java.lang.Long.valueOf(Long.java:1144) at io.swagger.models.parameters.AbstractSerializableParameter.getExample(AbstractSerializableParameter.java:412) at jdk.internal.reflect.GeneratedMethodAccessor220.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:689) at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:755) at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178) at com.fasterxml.jackson.databind.ser.impl.IndexedListSerializer.serializeContents(IndexedListSerializer.java:119) at com.</description>
    </item>
  </channel>
</rss>
