Troubleshooting - adennie/vroom GitHub Wiki

API Problems

Client symptom Server symptom Possible Causes
All requests return 404 status Breakpoints placed in the resource class' target method or in the DTO converter class are not hit.
  • check for typos in the URL
  • check that the URLs of the handlers defined in app.yaml match the URLs specified by the client
PUT or POST request returns 415 status Breakpoints placed in the resource class' target method or in the DTO converter class are not hit. The client is specifying a Content-type header value that does not match any the media types configured on the resource method.
requests return 400 status The message "No class was registered" appears in the server log. The indicated DAO class is not registered with Objectify. Check that your subclass of OfyService has a static initialization block that registered each of your Dao classes. See SampleOfyService.java in the Vroom sample web service for an example of this.
Requests requiring datastore access on the server return 409 status The message "no OfyService assigned" appears in the server log. Your application's OfyService was not registered with VroomDatastoreService. You need to do this at application startup time (e.g. via a ServletContextListener, or from your VroomApplication's start() method). For an example implementation of a ServletContextListener, see the Vroom sample web service.
Requests to a method on a resource returns 405 status Check if you forget to put the appropriate Restlet method annotation on your resource class method (e.g @Get, @Put, etc.)
Requests return 500 status The server log contains "org.codehaus.jackson.map.JsonMappingException: No serializer found for class and no properties discovered to create BeanSerializer ..." The return type of your method is missing getter methods for its fields.
⚠️ **GitHub.com Fallback** ⚠️