Solenn1 / google-refine

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

No more Json Tokens in stream ERROR #513

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create New Project from attached JSON file.
2. Preview JSON structure and choose first Record by pointing mouse onto first 
angle bracket { and clicking.

What is the expected output? What do you see instead?

ERROR:

11:40:48.850 [refine] POST /command/core/importing-controller
 (6898ms)
11:40:48.863 [XmlImportUtilities] Exception from XML parse (13ms)
com.google.refine.importers.tree.TreeReaderException: No more Json Tokens in 
stream
        at com.google.refine.importers.JsonImporter$JSONTreeReader.next(JsonImpo
rter.java:313)
        at com.google.refine.importers.tree.XmlImportUtilities.importTreeData(Xm
lImportUtilities.java:250)

Original issue reported on code.google.com by thadguidry on 27 Dec 2011 at 5:46

Attachments:

GoogleCodeExporter commented 8 years ago
I've seen that in the past, but didn't think it was fatal.  Is it causing a 
problem on the import or is it a cosmetic issue?

Original comment by tfmorris on 27 Dec 2011 at 8:34

GoogleCodeExporter commented 8 years ago
I do not think I am losing any information, as least from my eyes.

Original comment by thadguidry on 27 Dec 2011 at 9:36

GoogleCodeExporter commented 8 years ago
I was aware of this exception but couldn't figure out an easy way to fix it for 
2.5.

Original comment by dfhu...@gmail.com on 27 Dec 2011 at 10:25

GoogleCodeExporter commented 8 years ago
Fixed in r2435.

Original comment by tfmorris on 27 Jan 2012 at 5:06

GoogleCodeExporter commented 8 years ago
Verified fixed.

Original comment by thadguidry on 27 Jan 2012 at 7:41