javaee / jersey

This is no longer the active Jersey repository. Please see the README.md
http://jersey.github.io
Other
2.86k stars 2.35k forks source link

NPE in ClientBinder when receiving response from server #3441

Open glassfishrobot opened 8 years ago

glassfishrobot commented 8 years ago

An exception was thrown when we are firing async call from 2.23.1 client to 2.23.1 server.

Please find the attached response from 2.22.1 and 2.23.1 (2.23.1 NPE is the same even we are using 2.23.2)

Client side code:

client = ClientBuilder.newClient(clientConfig);
baseTarget = client.target(urlBase);
CacheBuilder.newBuilder().build(new CacheLoader<String, WebTarget>() {
public WebTarget load(String path) {
return baseTarget.path(path);
}
});

public void testTing(ValidationRequest valReq) throws Exception {
        try {
            cachedWebTargets.get("/validate/position/eee").request().accept(mediaType)
            .property(ClientProperties.READ_TIMEOUT, 1000000) // Overridden timeout value for this request, null will use default to defaultChunkedResponseTimeout
            .async().post(Entity.entity(valReq, mediaType), new InvocationCallback<ChunkedInput<String>>() {

                @Override
                public void completed(ChunkedInput<String> response) {
                     response.setParser(ChunkedInput.createParser(CommonConsts.CHUNKED_DELIMITER));
                        String chunk;
                        while ((chunk = response.read()) != null) {
                            LOG.info(chunk);                            
                        }                       
                }

                @Override
                public void failed(Throwable throwable) {
                    LOG.error(throwable, throwable);

                }

            });
        } catch (Exception e) {
            throw handleException(e);
        }
    }

Server side:
@Path("/position")
    public Class<PositionValidatorSubResource> validateOrder() {    
        return PositionValidatorSubResource.class;
    }

Code Sniplet in PositionValidatorSubResource.class:
@POST
    @Path("/eee")
    @Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_ATOM_XML, MediaType.APPLICATION_JSON })
    public ChunkedOutput<String> validatePositionsWorkflowTest(com.ml.elt.vs.request.obj.ValidationRequest valReq) {
        final ChunkedOutput<String> output = new ChunkedOutput<>(String.class, CommonConsts.CHUNKED_DELIMITER);
        try {
        output.write("Testing001");
        Thread.sleep(5000);
        output.write("Testing002");
        output.write(null);
        }
        catch (Exception e) {
            LOG.error(e, e);
        }
        return output;  
    }

So in 2.22.1 we are working perfectly fine in calling async with chunked response, but it failed with such a strange error in 2.23.1. If we send the request without using async() call, then the return can be recieved successfully and object binding are all fine.

It looks like something has changed in 2.23.1 that break the async call which is expecting chunked return

all the dependencies are pulled from maven central

Affected Versions

[2.23.2]

glassfishrobot commented 8 years ago

Reported by clsiu

glassfishrobot commented 8 years ago

clsiu said: Forgot to included the attachment, i will instead paste the response from server for 2.22.1 and 2.23.1 here

glassfishrobot commented 8 years ago

clsiu said: Response from 2.22.1: log4j:WARN No appenders could be found for logger (org.apache.commons.configuration.PropertiesConfiguration). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. 1222 [validationclient-async-executor-0] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default 1223 [validationclient-async-executor-0] DEBUG org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context 1224 [validationclient-async-executor-0] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {}->http://VFHKGP101172.ASIA.bankofamerica.com:20299][total kept alive: 1; route allocated: 1 of 200; total allocated: 1 of 200] 1224 [validationclient-async-executor-0] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {}->http://VFHKGP101172.ASIA.bankofamerica.com:20299][total kept alive: 0; route allocated: 1 of 200; total allocated: 1 of 200] 1224 [validationclient-async-executor-0] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request POST /validate/position/eee HTTP/1.1 1224 [validationclient-async-executor-0] DEBUG org.apache.http.impl.execchain.MainClientExec - Target auth state: UNCHALLENGED 1224 [validationclient-async-executor-0] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED 1224 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> POST /validate/position/eee HTTP/1.1 1224 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> Accept: application/xml 1224 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Type: application/xml 1225 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: Jersey/2.22.1 (Apache HttpClient 4.5) 1225 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> Transfer-Encoding: chunked 1225 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: VFHKGP101172.ASIA.bankofamerica.com:20299 1225 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive 1225 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> Accept-Encoding: gzip,deflate 1444 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST /validate/position/eee HTTP/1.1[\r][\n]" 1444 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "Accept: application/xml[\r][\n]" 1444 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/xml[\r][\n]" 1444 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: Jersey/2.22.1 (Apache HttpClient 4.5)[\r][\n]" 1444 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "Transfer-Encoding: chunked[\r][\n]" 1444 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: VFHKGP101172.ASIA.bankofamerica.com:20299[\r][\n]" 1444 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" 1444 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "Accept-Encoding: gzip,deflate[\r][\n]" 1444 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 1444 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "4b6[\r][\n]" 1444 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "<?xml version="1.0" encoding="UTF-8" standalone="yes"?>SWAPS1475116633083MOON_CAP_LEV0000020

{E5285C1D-5E1A-4953-A00F-34779147328F}

1475116633083truefalsetruetruetruetrue01475116633083590000accepted00001.HK[\r][\n]" 1444 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "0[\r][\n]" 1444 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 6450 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]" 6450 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Type: application/xml[\r][\n]" 6451 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Thu, 29 Sep 2016 02:37:18 GMT[\r][\n]" 6451 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "Transfer-Encoding: chunked[\r][\n]" 6451 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 6451 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 200 OK 6451 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Type: application/xml 6451 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 << Date: Thu, 29 Sep 2016 02:37:18 GMT 6451 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 << Transfer-Encoding: chunked 6453 [validationclient-async-executor-0] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive indefinitely 6461 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "a[\r][\n]" 6461 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "Testing001[\r][\n]" 6461 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "2[\r][\n]" 6461 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 6461 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 6461 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "a[\r][\n]" 6462 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "Testing002[\r][\n]" 6462 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "2[\r][\n]" 6462 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 6462 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 6463 [validationclient-async-executor-0] INFO com.ml.equity.firm.validation.client.ValidationClient - Testing001 6463 [validationclient-async-executor-0] INFO com.ml.equity.firm.validation.client.ValidationClient - Testing002

glassfishrobot commented 8 years ago

clsiu said: Response from 2.23.1/2.23.2 log4j:WARN No appenders could be found for logger (org.apache.commons.configuration.PropertiesConfiguration). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. 1571 [validationclient-async-executor-0] DEBUG org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: default 1573 [validationclient-async-executor-0] DEBUG org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context 1573 [validationclient-async-executor-0] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection request: [route: {}->http://VFHKGP101172.ASIA.bankofamerica.com:20299][total kept alive: 1; route allocated: 1 of 200; total allocated: 1 of 200] 1573 [validationclient-async-executor-0] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {}->http://VFHKGP101172.ASIA.bankofamerica.com:20299][total kept alive: 0; route allocated: 1 of 200; total allocated: 1 of 200] 1574 [validationclient-async-executor-0] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request POST /validate/position/eee HTTP/1.1 1574 [validationclient-async-executor-0] DEBUG org.apache.http.impl.execchain.MainClientExec - Target auth state: UNCHALLENGED 1574 [validationclient-async-executor-0] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED 1574 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> POST /validate/position/eee HTTP/1.1 1574 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> Accept: application/xml 1574 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Type: application/xml 1574 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: Jersey/2.23.1 (Apache HttpClient 4.5) 1574 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> Transfer-Encoding: chunked 1574 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: VFHKGP101172.ASIA.bankofamerica.com:20299 1574 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive 1574 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 >> Accept-Encoding: gzip,deflate 1791 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST /validate/position/eee HTTP/1.1[\r][\n]" 1791 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "Accept: application/xml[\r][\n]" 1792 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/xml[\r][\n]" 1792 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: Jersey/2.23.1 (Apache HttpClient 4.5)[\r][\n]" 1792 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "Transfer-Encoding: chunked[\r][\n]" 1792 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: VFHKGP101172.ASIA.bankofamerica.com:20299[\r][\n]" 1792 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" 1792 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "Accept-Encoding: gzip,deflate[\r][\n]" 1792 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 1792 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "4b6[\r][\n]" 1792 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "<?xml version="1.0" encoding="UTF-8" standalone="yes"?>SWAPS1475116655171MOON_CAP_LEV0000020

{E5285C1D-5E1A-4953-A00F-34779147328F}

1475116655171truefalsetruetruetruetrue01475116655171590000accepted00001.HK[\r][\n]" 1792 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "0[\r][\n]" 1792 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 6798 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]" 6798 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Type: application/xml[\r][\n]" 6799 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Thu, 29 Sep 2016 02:37:40 GMT[\r][\n]" 6799 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "Transfer-Encoding: chunked[\r][\n]" 6799 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]" 6799 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 200 OK 6799 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Type: application/xml 6799 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 << Date: Thu, 29 Sep 2016 02:37:40 GMT 6799 [validationclient-async-executor-0] DEBUG org.apache.http.headers - http-outgoing-0 << Transfer-Encoding: chunked 6803 [validationclient-async-executor-0] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive indefinitely 6814 [validationclient-async-executor-0] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: Shutdown connection 6815 [validationclient-async-executor-0] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection discarded 6815 [validationclient-async-executor-0] DEBUG org.apache.http.impl.conn.DefaultManagedHttpClientConnection - http-outgoing-0: Close connection 6815 [validationclient-async-executor-0] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {}->http://VFHKGP101172.ASIA.bankofamerica.com:20299][total kept alive: 0; route allocated: 0 of 200; total allocated: 0 of 200] 6815 [validationclient-async-executor-0] DEBUG org.apache.http.wire - http-outgoing-0 << "[read] I/O error: socket closed" 6816 [validationclient-async-executor-0] ERROR com.ml.equity.firm.validation.client.ValidationClient - javax.ws.rs.ProcessingException: A MultiException has 1 exceptions. They are: 1. java.lang.NullPointerException

javax.ws.rs.ProcessingException: A MultiException has 1 exceptions. They are: 1. java.lang.NullPointerException

at org.glassfish.jersey.client.ClientRuntime.processFailure(ClientRuntime.java:200) at org.glassfish.jersey.client.ClientRuntime.access$500(ClientRuntime.java:74) at org.glassfish.jersey.client.ClientRuntime$2$1$2.run(ClientRuntime.java:175) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:340) at org.glassfish.jersey.client.ClientRuntime$2$1.failure(ClientRuntime.java:173) at org.glassfish.jersey.apache.connector.ApacheConnector$1.run(ApacheConnector.java:493) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at jersey.repackaged.com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) at jersey.repackaged.com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:50) at jersey.repackaged.com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:37) at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:487) at org.glassfish.jersey.client.ClientRuntime$2.run(ClientRuntime.java:180) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:340) at org.glassfish.jersey.client.ClientRuntime$3.run(ClientRuntime.java:208) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) 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: A MultiException has 1 exceptions. They are: 1. java.lang.NullPointerException

at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:478) at org.glassfish.jersey.process.internal.RequestScope.findOrCreate(RequestScope.java:162) at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2022) at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:765) at org.jvnet.hk2.internal.ServiceLocatorImpl.getUnqualifiedService(ServiceLocatorImpl.java:772) at org.jvnet.hk2.internal.IterableProviderImpl.get(IterableProviderImpl.java:111) at org.glassfish.jersey.client.ChunkedInputReader.readFrom(ChunkedInputReader.java:97) at org.glassfish.jersey.client.ChunkedInputReader.readFrom(ChunkedInputReader.java:67) at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:256) at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:235) at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155) at org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1085) at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:874) at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:834) at org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:368) at org.glassfish.jersey.client.JerseyInvocation$7.completed(JerseyInvocation.java:948) at org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:196) at org.glassfish.jersey.client.ClientRuntime.access$300(ClientRuntime.java:74) at org.glassfish.jersey.client.ClientRuntime$2$1$1.run(ClientRuntime.java:166) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:340) at org.glassfish.jersey.client.ClientRuntime$2$1.response(ClientRuntime.java:164) at org.glassfish.jersey.apache.connector.ApacheConnector$1.run(ApacheConnector.java:491) ... 20 more Caused by: java.lang.NullPointerException at org.glassfish.jersey.client.ClientBinder$PropertiesDelegateFactory.provide(ClientBinder.java:102) at org.glassfish.jersey.client.ClientBinder$PropertiesDelegateFactory.provide(ClientBinder.java:91) at org.jvnet.hk2.internal.FactoryCreator.create(FactoryCreator.java:153) at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471) ... 46 more Sep 29, 2016 10:37:40 AM org.glassfish.jersey.internal.Errors logErrors WARNING: The following warnings have been detected: WARNING: Unknown HK2 failure detected: MultiException stack 1 of 1 java.lang.NullPointerException at org.glassfish.jersey.client.ClientBinder$PropertiesDelegateFactory.provide(ClientBinder.java:102) at org.glassfish.jersey.client.ClientBinder$PropertiesDelegateFactory.provide(ClientBinder.java:91) at org.jvnet.hk2.internal.FactoryCreator.create(FactoryCreator.java:153) at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471) at org.glassfish.jersey.process.internal.RequestScope.findOrCreate(RequestScope.java:162) at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2022) at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:765) at org.jvnet.hk2.internal.ServiceLocatorImpl.getUnqualifiedService(ServiceLocatorImpl.java:772) at org.jvnet.hk2.internal.IterableProviderImpl.get(IterableProviderImpl.java:111) at org.glassfish.jersey.client.ChunkedInputReader.readFrom(ChunkedInputReader.java:97) at org.glassfish.jersey.client.ChunkedInputReader.readFrom(ChunkedInputReader.java:67) at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:256) at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:235) at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155) at org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1085) at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:874) at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:834) at org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:368) at org.glassfish.jersey.client.JerseyInvocation$7.completed(JerseyInvocation.java:948) at org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:196) at org.glassfish.jersey.client.ClientRuntime.access$300(ClientRuntime.java:74) at org.glassfish.jersey.client.ClientRuntime$2$1$1.run(ClientRuntime.java:166) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:340) at org.glassfish.jersey.client.ClientRuntime$2$1.response(ClientRuntime.java:164) at org.glassfish.jersey.apache.connector.ApacheConnector$1.run(ApacheConnector.java:491) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at jersey.repackaged.com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) at jersey.repackaged.com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:50) at jersey.repackaged.com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:37) at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:487) at org.glassfish.jersey.client.ClientRuntime$2.run(ClientRuntime.java:180) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:340) at org.glassfish.jersey.client.ClientRuntime$3.run(ClientRuntime.java:208) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) 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)

glassfishrobot commented 8 years ago

clsiu said: Can we have someone from Jersey team to look at it please?

glassfishrobot commented 7 years ago

clsiu said: anything further to share?

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JERSEY-3169