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 Stack Overflow by user4367
, 1 year ago
This exception has no message.
java.lang.NullPointerException: 	at com.ibm.puremeap.resources.data.impl.FavoriteApplicationHelper.areFavoriteApplicationsForPrincipal(FavoriteApplicationHelper.java:442)	at com.ibm.puremeap.resources.data.impl.FavoriteApplicationHelper.getAreFavoriteApplicationsForPrincipal(FavoriteApplicationHelper.java:408)	at com.ibm.puremeap.services.DirectoryService.addFavoriteFlag(DirectoryService.java:450)	at com.ibm.puremeap.services.DirectoryService.__retrieve2__(DirectoryService.java:430)	at com.ibm.puremeap.services.DirectoryService.__retrieve__(DirectoryService.java:394)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java:63)	at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.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:67)	at org.apache.wink.server.internal.handlers.CreateInvocationParametersHandler.handleRequest(CreateInvocationParametersHandler.java:54)	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:67)	at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:34)	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:67)	at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceMethod(FindResourceMethodHandler.java:183)	at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:110)	at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceLocator(FindResourceMethodHandler.java:230)	at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:115)	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:67)	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:67)	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:67)	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:67)	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:67)	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:67)	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:67)	at org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:52)	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:133)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1290)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:778)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:152)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:94)	at com.ibm.puremeap.services.RestFilter.doFilter(RestFilter.java:60)	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:207)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:1021)	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1143)	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4869)	at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(DynamicVirtualHost.java:297)	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:997)	at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:262)	at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:955)	at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:341)	at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:471)	at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:405)	at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:285)	at com.ibm.ws.http.channel.internal.inbound.HttpICLReadCallback.complete(HttpICLReadCallback.java:66)	at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:504)	at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:574)	at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:929)	at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1018)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)