The cause of Unexpected content at the end of chunk's problem and its solution

description: the project runs normally on the local computer. Report
org.apache.http.MalformedChunkCodingException: Unexpected content at the end of chunk

as soon as you publish it to the server.

Code:
clipboard.png

clipboard.png

complete exception log:
org.apache.http.MalformedChunkCodingException: Unexpected content at the end of chunk

at org.apache.http.impl.io.ChunkedInputStream.getChunkSize(ChunkedInputStream.java:257)
at org.apache.http.impl.io.ChunkedInputStream.nextChunk(ChunkedInputStream.java:225)
at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:184)
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:135)
at com.chinaunicom.nb.jfm.util.FileDownloader.download(FileDownloader.java:14)
at com.chinaunicom.nb.jfm.local.LocalCrawler.downloadJF(LocalCrawler.java:295)
at com.chinaunicom.nb.jfm.local.LocalCrawler.execute(LocalCrawler.java:349)
at com.chinaunicom.nb.jfm.task.LocalCrawlerTask.excute(LocalCrawlerTask.java:46)
at com.chinaunicom.nb.jfm.task.base.Task.run(Task.java:40)
at com.chinaunicom.nb.jfm.task.LocalCrawlerTask.run(LocalCrawlerTask.java:29)
at com.chinaunicom.nb.jfm.task.base.Task.run(Task.java:50)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Sep.01,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36ca3-2c03a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36ca3-2c03a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?