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

  1. ,

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

  2. ,

    Is thrown when you try to convert a String to a numeric value, like an int, float, double, long, etc.

Solutions on the web

via Tridion by Harald Hoffelinck
, 1 year ago
Could not parse the comment to update to storage: {d:{"Id":2,"ItemPublicationId":2066,"ItemId":17978,"ItemType":64,"CreationDate":"\/Date(1446786426000)\/","LastModifiedDate":"\/Date(-62135596800000)\/","User":{"Id":"WIN-SQC3BSLTNDP%5Ccb","Name
com.tridion.webservices.odata.exceptions.ODataStorageException: Could not parse the comment to update to storage: {d:{"Id":2,"ItemPublicationId":2066,"ItemId":17978,"ItemType":64,"CreationDate":"\/Date(1446786426000)\/","LastModifiedDate":"\/Date(-62135596800000)\/","User":{"Id":"WIN-SQC3BSLTNDP%5Ccb","Name":"xxxx","EmailAddress":"null","ExternalId":"null"},"Content":"Test Comment 2gh","Moderator":"WIN-SQC3BSLTNDP%5Ccb","ModeratedDate":"\/Date(1447426277213)\/","Score":0,"Status":2}} at com.tridion.ugc.odata.services.WritableCommentEntryService.parseEntity(WritableCommentEntryService.java:45)[ugc_webservice.jar:na] at com.tridion.ugc.odata.services.WritableCommentEntryService.parseEntity(WritableCommentEntryService.java:26)[ugc_webservice.jar:na] at com.tridion.ugc.odata.services.WritableBaseEntryService.parseInputData(WritableBaseEntryService.java:126)[ugc_webservice.jar:na] at com.tridion.ugc.odata.services.WritableBaseEntryService.update(WritableBaseEntryService.java:81)[ugc_webservice.jar:na] at com.tridion.ugc.odata.services.WritableCommentEntryService.update(WritableCommentEntryService.java:26)[ugc_webservice.jar:na] at com.tridion.webservices.odata.input.handler.ODataWebserviceHandler.updateODataEntity(ODataWebserviceHandler.java:419)[cd_odata.jar:na]Caused by: java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(Unknown Source)[na:1.8.0_45] at java.lang.Long.parseLong(Unknown Source)[na:1.8.0_45] at java.lang.Long.parseLong(Unknown Source)[na:1.8.0_45] at com.tridion.ugc.odata.mappers.ItemPopulator.parseJSONDate(ItemPopulator.java:66)[ugc_webservice.jar:na] at com.tridion.ugc.odata.mappers.ItemPopulator.populate(ItemPopulator.java:48)[ugc_webservice.jar:na] at com.tridion.ugc.odata.mappers.CommentMapper.mapComment(CommentMapper.java:60)[ugc_webservice.jar:na] at com.tridion.ugc.odata.mappers.CommentMapper.mapComment(CommentMapper.java:27)[ugc_webservice.jar:na] at com.tridion.ugc.odata.services.WritableCommentEntryService.parseEntity(WritableCommentEntryService.java:42)[ugc_webservice.jar:na] ... 5 more