You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-gson
Hey,
I am using gson v 1.3. I have an object, lets call it Blarg, that has
an array of objects in it. If I set the array to be of size 1 and
only have a null in it when gson tries to convert it to json it throws
a null pointer exception exception in
JsonTreeNavigator.visitChild line 71
JsonTreeNavigator.navigate line 55
JsonTreeNavigator.visitChild line 85
JsonTreeNavigator.navigate line 55
JsonCompactFormatter.format line 146
Gson.toJson line 275
Gson.toJson line 220
Gson.toJson line 200
public class Blarg{
fields ...
Object[] nullPtrException = {null};
more junk ...
}
inder
unread,
Aug 10, 2009, 1:48:36 PM8/10/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message