Nathanael
Posts: 0
Joined: Tue Dec 11, 2012 11:25 pm

Service returning parse error?

I am attempting to map a simple service to a simple UI. However, for reasons completely unknown, I am receiving a parse error. I have no idea why this error is occurring, nor where—my JSON response is valid.

JSON.stringify(jqXHR)
{"readyState":4,"responseText":"java.lang.ArrayIndexOutOfBoundsException","status":200,"statusText":"OK"}

textStatus
parsererror

errorThrown
SyntaxError: JSON.parse: unexpected character

Attached are an image of both the service map, and the JSON response. Why might this error be occurring? I have never experienced it before.

Image

Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Service returning parse error?

Hi Nathanael,

Sorry, this is a bug, will be fixed asap.

ashton.stockman
Posts: 0
Joined: Tue Jan 28, 2014 8:37 pm

Service returning parse error?

I'm also experiencing a similar issue with a service that had been working previously. Do you have an estimate on how long you believe it will take to resolve this issue? Thanks.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Service returning parse error?

Hi Ashton,

Sorry, no ETA yet, we'll update this topic when it's fixed.

Nathanael
Posts: 0
Joined: Tue Dec 11, 2012 11:25 pm

Service returning parse error?

Have there been any updates on this issue?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Service returning parse error?

Hi Nathanael,

Sorry, no news, still working on it. We'll update this topic.

George Van Wormer5962866
Posts: 0
Joined: Mon Jun 17, 2013 9:40 pm

Service returning parse error?

Any updates?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Service returning parse error?

Hi George,

Sorry, still is not resolved.

Nathanael
Posts: 0
Joined: Tue Dec 11, 2012 11:25 pm

Service returning parse error?

What is the extent of this problem? Is every service not working for everyone? Is the only issue in the mapping? emAll/em mapping?

ashton.stockman
Posts: 0
Joined: Tue Jan 28, 2014 8:37 pm

Service returning parse error?

Hey, quick update on what's not working for us. We have several projects that are unaffected, and to my knowledge, it's really just one. The mapping isn't necessarily "broken" on these as we've already mapped the responses previously, but the API endpoints when run through Appery and the accompanying proxy (may or may not be related?) are incapable of consuming the response correctly.

I've tested these APIs with Fiddler, all of the GETs in a browser, and with the built-in "Test" functionality on the service definition within appery, and all of those things work. However, as soon as we fire up the app (web or device) something happens and rather than my expected response, we get simply "java.lang.ArrayIndexOutOfBoundsException". Is this in line with what you're experiencing?

Return to “Issues”