dyf128 / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

Null exception thrown #296

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I had string of JSON data.
2. I tried to deserialize the JSON into an object DisruptionList.
3. DisruptionList had one member 
        public ArrayList<Disruption> Incidents.

What is the expected output? What do you see instead?
I saw a NULL exception.  The value of the exception was NULL.

What version of the product are you using? On what operating system?
Windows 7, and Gson 1.6.  Developing a JAVA android app.

Please provide any additional information below.

I just wanted more information from about the error, but instead got a NULL 
error, no stack trace no error no nothing.  If this isn't considered a bug I 
apologize.  

I fixed my issue by changing Incidents from ArrayList to List.  Let me know if 
you need my help.

Original issue reported on code.google.com by kyle.ell...@gmail.com on 14 Mar 2011 at 6:23

GoogleCodeExporter commented 9 years ago
Confirmed. Tested with r745.

Original comment by limpbizkit on 21 Mar 2011 at 9:50

GoogleCodeExporter commented 9 years ago

Original comment by joel.leitch@gmail.com on 16 Apr 2011 at 6:05