Welcome Developers!

in

Welcome!

in

Internal server error when using REST API

Last post 08-18-2009 1:21 AM by Zachary Murray. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-18-2009 1:21 AM

    Internal server error when using REST API

    Hi there, MySpace Devs.

     I'm getting the following server exception when trying to pull user data. (From my Tomcat 6 logs):

    Fatal transport error: An Internal Server exception has occurred. Please contact MySpace REST API Team.
    org.apache.http.client.HttpResponseException: An Internal Server exception has occurred. Please contact MySpace REST API Team.
            at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:71)
            at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:59)
            at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657)
            at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:627)
            at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:616)
            at net.tangiblesoft.crypto.RequestBuilder.sendRequest(RequestBuilder.java:166)
            at net.tangiblesoft.crypto.RequestBuilder.sendJSONRequest(RequestBuilder.java:177)
            at net.tangiblesoft.yearbook.JSONService.addFriendFields(JSONService.java:169)
            at net.tangiblesoft.yearbook.AbstractTemplate.build(AbstractTemplate.java:178)
            at net.tangiblesoft.yearbook.AbstractTemplate.run(AbstractTemplate.java:191)
            at java.lang.Thread.run(Thread.java:619)
    Exception in thread "Thread-18" java.lang.NullPointerException
            at java.io.StringReader.<init>(StringReader.java:33)
            at org.json.JSONTokener.<init>(JSONTokener.java:66)
            at org.json.JSONObject.<init>(JSONObject.java:420)
            at net.tangiblesoft.crypto.RequestBuilder.sendJSONRequest(RequestBuilder.java:177)
            at net.tangiblesoft.yearbook.JSONService.addFriendFields(JSONService.java:169)
            at net.tangiblesoft.yearbook.AbstractTemplate.build(AbstractTemplate.java:178)
            at net.tangiblesoft.yearbook.AbstractTemplate.run(AbstractTemplate.java:191)
            at java.lang.Thread.run(Thread.java:619)

     JSONService and RequestBuilder are two classes designed by my company to interact with the REST API service via JSON (obviously). Is the service down? This was working just a few days ago.

     Thanks in advance for the help, everyone!

    Filed under: , , ,
Page 1 of 1 (1 items)