java.lang.NullPointerException: null

Stack Overflow | Gulliver Smith | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Sort Not Working - Accessing Data with JPA

    Stack Overflow | 5 months ago | Gulliver Smith
    java.lang.NullPointerException: null

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.springframework.data.rest.webmvc.json.JacksonMappingAwareSortTranslator$SortTranslator.translateSort()
    2. Spring Data REST - WebMVC
      MappingAwareDefaultedPageableArgumentResolver.resolveArgument
      1. org.springframework.data.rest.webmvc.json.JacksonMappingAwareSortTranslator$SortTranslator.translateSort(JacksonMappingAwareSortTranslator.java:101)[spring-data-rest-webmvc-2.5.3.RELEASE.jar:na]
      2. org.springframework.data.rest.webmvc.json.JacksonMappingAwareSortTranslator.translateSort(JacksonMappingAwareSortTranslator.java:70)[spring-data-rest-webmvc-2.5.3.RELEASE.jar:na]
      3. org.springframework.data.rest.webmvc.json.MappingAwareDefaultedPageableArgumentResolver.resolveArgument(MappingAwareDefaultedPageableArgumentResolver.java:73)[spring-data-rest-webmvc-2.5.3.RELEASE.jar:na]
      3 frames
    3. Spring
      InvocableHandlerMethod.invokeForRequest
      1. org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:121)[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      2. org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:161)[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      3. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:128)[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      3 frames
    4. Spring MVC
      RequestMappingHandlerAdapter.invokeHandlerMethod
      1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:114)[spring-webmvc-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)[spring-webmvc-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      2 frames