javax.ws.rs.ProcessingException: java.lang.NullPointerException


Solutions on the web

Solution icon of stackoverflow
java.lang.NullPointerException

Stack trace

javax.ws.rs.ProcessingException: java.lang.NullPointerException
	at org.apache.cxf.jaxrs.client.AbstractClient.checkClientException(AbstractClient.java:582)
	at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:564)
	at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1148)
	at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1098)
	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:894)
	at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:865)
	at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:428)
	at org.apache.cxf.jaxrs.client.WebClient$SyncInvokerImpl.method(WebClient.java:1635)
	at org.apache.cxf.jaxrs.client.WebClient$SyncInvokerImpl.method(WebClient.java:1630)
	at org.apache.cxf.jaxrs.client.WebClient$SyncInvokerImpl.post(WebClient.java:1570)
	at org.apache.cxf.jaxrs.client.spec.InvocationBuilderImpl.post(InvocationBuilderImpl.java:145)
	at com.github.sps.metrics.opentsdb.OpenTsdb.sendHelper(OpenTsdb.java:176)
	at com.github.sps.metrics.opentsdb.OpenTsdb.send(OpenTsdb.java:162)
	at com.github.sps.metrics.opentsdb.OpenTsdb.send(OpenTsdb.java:138)
	at com.adobe.gto.gateway.common.metrics.Metrics$RunnableMetricRecorder.run(Metrics.java:220)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at org.glassfish.jersey.client.filter.EncodingFilter.getSupportedEncodings(EncodingFilter.java:110)
	at org.glassfish.jersey.client.filter.EncodingFilter.filter(EncodingFilter.java:84)
	at org.apache.cxf.jaxrs.client.spec.ClientRequestFilterInterceptor.handleMessage(ClientRequestFilterInterceptor.java:60)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:652)
	at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1097)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.