SpringMVC uploads pictures to the server using resin container encounters transferTo method to report null pointer, there is a solution. Tomcat is normal.

java.lang.NullPointerException: null

at com.caucho.server.http.AbstractCauchoRequest$PartImpl.write(AbstractCauchoRequest.java:1225) ~[resin.jar:4.0.50]
at org.springframework.web.multipart.support.StandardMultipartHttpServletRequest$StandardMultipartFile.transferTo(StandardMultipartHttpServletRequest.java:302) ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]

I would like to ask if there is a solution for reporting such a null pointer when uploading pictures to the server when using the resin container. I"ve looked everywhere. Is this a defect in the resin container?

Jul.11,2021

has something to do with the network card. I reproduce your code. The number of res obtained in each run is different., len (res) fluctuates between 30 and 50. There may be more wifi on my side, but there may be more wifi on my side.
five nights at freddy's , survival games


I think this is an informative post and it is very useful and knowledgeable. I really enjoyed reading this post. Big fan, thank you


please translate this post for English, pleasee and play best unblocked games

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-1bdc45f-312cf.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-1bdc45f-312cf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?