You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Julien Jalageas (JIRA)" <ji...@apache.org> on 2018/11/05 18:57:00 UTC

[jira] [Commented] (FELIX-5975) URLHandlersStreamHandlerProxy - OPEN_CONNECTION_PROXY null

    [ https://issues.apache.org/jira/browse/FELIX-5975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16675598#comment-16675598 ] 

Julien Jalageas commented on FELIX-5975:
----------------------------------------

 I was able to set a breakpoint at line 111, which throws an exception:

url_proxy_class = new Class[]\{URL.class, java.net.Proxy.class};

The exception thrown is: *operating system stack overflow*

open_connection_proxy and url_proxy_class are then set to null in the catch block.

> URLHandlersStreamHandlerProxy - OPEN_CONNECTION_PROXY null
> ----------------------------------------------------------
>
>                 Key: FELIX-5975
>                 URL: https://issues.apache.org/jira/browse/FELIX-5975
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-4.6.1
>         Environment: AIX server box, Tomcat 8.0.53
>            Reporter: Julien Jalageas
>            Priority: Blocker
>         Attachments: stacktrace.txt
>
>
> Hi,
> I am running into a blocking issue since I've upgraded from Tomcat 7.0.73 to Tomcat 8.0.53, SOAP based web services are failing with the following error:
> java.lang.IllegalStateException: *Stream handler unavailable due to: null* org.apache.felix.framework.URLHandlersStreamHandlerProxy.openConnection(URLHandlersStreamHandlerProxy.java:359)
> Using a remote debugger, I was able to find that the real exception is actually a Null Pointer Exception thrown from *URLHandlersStreamHandlerProxy*.java, line 351:
> return (URLConnection) *OPEN_CONNECTION_PROXY*.invoke(svc, new Object[]\{url, proxy});
> where *OPEN_CONNECTION_PROXY* is null (I've attached the full stacktrace).
> Is there a fix available?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)