Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via wink-user by vgunda81, 1 year ago
via wink-user by vgunda81, 1 year ago
helloworldjava.lang.NullPointerException: 	at org.apache.wink.common.internal.http.Accept.valueOf(Accept.java:139)	at org.apache.wink.server.internal.contexts.HttpHeadersImpl.getAcceptHeader(HttpHeadersImpl.java:152)	at org.apache.wink.server.internal.contexts.HttpHeadersImpl.getAcceptableMediaTypes(HttpHeadersImpl.java:106)	at org.apache.wink.server.internal.registry.ResourceRegistry.filterByProduces(ResourceRegistry.java:558)	at org.apache.wink.server.internal.registry.ResourceRegistry.filterDispatchMethods(ResourceRegistry.java:482)	at org.apache.wink.server.internal.registry.ResourceRegistry.findMethod(ResourceRegistry.java:359)	at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleResourceMethod(FindResourceMethodHandler.java:138)	at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:65)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.internal.handlers.FindRootResourceHandler.handleRequest(FindRootResourceHandler.java:95)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java:53)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.internal.handlers.OptionsMethodHandler.handleRequest(OptionsMethodHandler.java:46)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.internal.handlers.SearchResultHandler.handleRequest(SearchResultHandler.java:33)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.internal.log.Requests.handleRequest(Requests.java:76)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)	at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)	at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)	at org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:48)	at org.apache.wink.server.internal.RequestProcessor.handleRequestWithoutFaultBarrier(RequestProcessor.java:207)	at org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:154)	at org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:119)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)	at java.lang.Thread.run(Thread.java:722)