Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
java.lang.NullPointerException: charsetName in nlobjFile.getValue
This started as of this past Friday (9/14) but I had to be sure I was seeing what I was seeing. This code was working for the past years without issue.
When I setup a suitelet with a file upload field and then attempt to read the value of this file in the suitelet it throws the following error:
java.lang.NullPointerException: charsetName
I have tested this with various file types from XML, HTML, and a simple 'Hello World' text file, all with the same results. I even wrote a simple file upload suitelet to test (in case my code had other errors causing a side-effect).
0