helloworldjava.lang.NullPointerException

wink-user | vgunda81 | 4 years ago

Root Cause Analysis

  1. helloworldjava.lang.NullPointerException

    No message provided

    at org.apache.wink.common.internal.http.Accept.valueOf()
  2. Apache Wink Common
    Accept.valueOf
    1. org.apache.wink.common.internal.http.Accept.valueOf(Accept.java:139)
    1 frame
  3. Apache Wink Server
    RequestProcessor.handleRequest
    1. org.apache.wink.server.internal.contexts.HttpHeadersImpl.getAcceptHeader(HttpHeadersImpl.java:152)
    2. org.apache.wink.server.internal.contexts.HttpHeadersImpl.getAcceptableMediaTypes(HttpHeadersImpl.java:106)
    3. org.apache.wink.server.internal.registry.ResourceRegistry.filterByProduces(ResourceRegistry.java:558)
    4. org.apache.wink.server.internal.registry.ResourceRegistry.filterDispatchMethods(ResourceRegistry.java:482)
    5. org.apache.wink.server.internal.registry.ResourceRegistry.findMethod(ResourceRegistry.java:359)
    6. org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleResourceMethod(FindResourceMethodHandler.java:138)
    7. org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:65)
    8. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    9. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    10. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    11. org.apache.wink.server.internal.handlers.FindRootResourceHandler.handleRequest(FindRootResourceHandler.java:95)
    12. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    13. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    14. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    15. org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java:53)
    16. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    17. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    18. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    19. org.apache.wink.server.internal.handlers.OptionsMethodHandler.handleRequest(OptionsMethodHandler.java:46)
    20. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    21. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    22. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    23. org.apache.wink.server.internal.handlers.SearchResultHandler.handleRequest(SearchResultHandler.java:33)
    24. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    25. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    26. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    27. org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92)
    28. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    29. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    30. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    31. org.apache.wink.server.internal.log.Requests.handleRequest(Requests.java:76)
    32. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    33. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    34. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    35. org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:48)
    36. org.apache.wink.server.internal.RequestProcessor.handleRequestWithoutFaultBarrier(RequestProcessor.java:207)
    37. org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:154)
    37 frames
  4. Apache Wink Component Test Support
    RestServlet.service
    1. org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:119)
    1 frame
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    1 frame
  6. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    10 frames
  7. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
    3 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    3. java.lang.Thread.run(Thread.java:722)
    3 frames