java.lang.NumberFormatException: For input string: ""

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.

,
Expert tip

This is a bug in Wise, updating to v4.10 seems to solve the problem.

Solutions on the web

via Coderanch by Daniel Vargas, 1 year ago
For input string: "001001110111100110010101001001110100"
via GitHub by mkj28
, 7 months ago
For input string: "10,997"
via Google Groups by DammeBuddies, 2 years ago
For input string: "9213501144129031184""
via Oracle Community by 861395, 1 year ago
For input string: ""
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at com.tridion.ugc.odata.mappers.ItemPopulator.parseJSONDate(ItemPopulator.java:66)
at com.tridion.ugc.odata.mappers.ItemPopulator.populate(ItemPopulator.java:48)
at com.tridion.ugc.odata.mappers.CommentMapper.mapComment(CommentMapper.java:60)
at com.tridion.ugc.odata.mappers.CommentMapper.mapComment(CommentMapper.java:27)
at com.tridion.ugc.odata.services.WritableCommentEntryService.parseEntity(WritableCommentEntryService.java:42)
at com.tridion.ugc.odata.services.WritableCommentEntryService.parseEntity(WritableCommentEntryService.java:26)
at com.tridion.ugc.odata.services.WritableBaseEntryService.parseInputData(WritableBaseEntryService.java:126)
at com.tridion.ugc.odata.services.WritableBaseEntryService.update(WritableBaseEntryService.java:81)
at com.tridion.ugc.odata.services.WritableCommentEntryService.update(WritableCommentEntryService.java:26)
at com.tridion.webservices.odata.input.handler.ODataWebserviceHandler.updateODataEntity(ODataWebserviceHandler.java:419)

Users with the same issue

3 times, 1 week ago
Once, 5 months ago
5 times, 1 year ago
2 times, 1 year ago
6 times, 1 year ago
230 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.