Hi,

On Thu, May 26, 2011 at 9:42 PM, Supun Kamburugamuva <[email protected]> wrote:

> Hi Anjana,
>
> You have added the following line to the DispatchPhase in Axis2. This
> has broken all the UIs in ESB. Could you please have a look? Btw does
> these changes go to the axis2 trunk?
>
> Line: 320 DispatchPhase.java
>
>
> msgContext.getConfigurationContext().getAxisConfiguration().addObservers(sessionContext);
>

Yeah, sorry for all the trouble, it's fixed now. I had a bad assumption that
at that point, the "sessionContext" will never be null, even though, the
next few lines indicated otherwise, which I ignored also because of another
assumption that, that code will never be used, my bad! .. And I've earlier
opened an issue for this in Axis2 [1], by attaching a patch to be added to
the trunk. I will update the issue with the change.

[1] https://issues.apache.org/jira/browse/AXIS2-5049

Cheers,
Anjana.


>
> Thanks,
> Supun..
>
> On Thu, May 26, 2011 at 7:46 PM, Afkham Azeez <[email protected]> wrote:
> > Seems like somebody has set a NULL AxisObserver in ESB. Debug the
> > addObserver method in AxisConfiguration and find out who is adding this
> NULL
> > AxisObserver
> >
> > On Thu, May 26, 2011 at 7:37 PM, Kasun Indrasiri <[email protected]> wrote:
> >>
> >> Reproducible in ESB RC1 [1]
> >> [1] https://wso2.org/jira/browse/CARBON-10365
> >>
> >> On Thu, May 26, 2011 at 4:09 PM, Kasun Indrasiri <[email protected]>
> wrote:
> >>>
> >>> According to Isuru, we don't see this in AS. He will have a look.
> >>>
> >>> On Thu, May 26, 2011 at 3:20 PM, Kasun Indrasiri <[email protected]>
> wrote:
> >>>>
> >>>> We got this while updating a proxy service config on local build.
> >>>> However, this can be reproduce even if we deactivate echo service etc.
> >>>> [2011-05-26 15:04:46,502] ERROR - AxisConfiguration Error occured
> while
> >>>> notifying observer
> >>>> java.lang.NullPointerException
> >>>> at
> >>>>
> org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:670)
> >>>> at
> >>>>
> org.apache.axis2.description.AxisDescription.engageModule(AxisDescription.java:441)
> >>>> at
> >>>>
> org.wso2.carbon.core.persistence.ServicePersistenceManager.handleExistingServiceInit(ServicePersistenceManager.java:432)
> >>>> at
> >>>>
> org.wso2.carbon.core.deployment.DeploymentInterceptor.serviceUpdate(DeploymentInterceptor.java:263)
> >>>> at
> >>>>
> org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:657)
> >>>> at
> >>>>
> org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:411)
> >>>> at
> >>>>
> org.apache.axis2.engine.AxisConfiguration.addService(AxisConfiguration.java:341)
> >>>> at
> >>>>
> org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:566)
> >>>> at
> >>>>
> org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin.addProxyService(ProxyServiceAdmin.java:220)
> >>>> at
> >>>>
> org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin.modifyProxyService(ProxyServiceAdmin.java:311)
> >>>> at
> >>>>
> org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin.modifyProxy(ProxyServiceAdmin.java:656)
> >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>> at
> >>>>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>>> at
> >>>>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>>> at java.lang.reflect.Method.invoke(Method.java:597)
> >>>> at
> >>>>
> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
> >>>> at
> >>>>
> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
> >>>> at
> >>>>
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> >>>> at
> >>>>
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
> >>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
> >>>> at
> >>>>
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
> >>>> at
> >>>>
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
> >>>> at
> >>>>
> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:206)
> >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> >>>> at
> >>>>
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
> >>>> at
> >>>>
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
> >>>> at
> >>>>
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
> >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> >>>> at
> org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:155)
> >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> >>>> at
> >>>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
> >>>> at
> >>>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> >>>> at
> >>>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
> >>>> at
> >>>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
> >>>> at
> >>>>
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
> >>>> at
> >>>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
> >>>> at
> >>>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> >>>> at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:241)
> >>>> at
> >>>>
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
> >>>> at
> >>>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> >>>> at
> >>>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)
> >>>> at
> >>>>
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:396)
> >>>> at
> >>>>
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:356)
> >>>> at
> >>>>
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1534)
> >>>> at
> >>>>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> >>>> at
> >>>>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> >>>> at java.lang.Thread.run(Thread.java:619)
> >>>>
> >>>> --
> >>>> Kasun Indrasiri
> >>>> Senior Software Engineer
> >>>> WSO2, Inc.; http://wso2.com
> >>>> lean.enterprise.middleware
> >>>>
> >>>> cell: +94 71 536 4128
> >>>> Blog : http://kasunpanorama.blogspot.com/
> >>>
> >>>
> >>>
> >>> --
> >>> Kasun Indrasiri
> >>> Senior Software Engineer
> >>> WSO2, Inc.; http://wso2.com
> >>> lean.enterprise.middleware
> >>>
> >>> cell: +94 71 536 4128
> >>> Blog : http://kasunpanorama.blogspot.com/
> >>
> >>
> >>
> >> --
> >> Kasun Indrasiri
> >> Senior Software Engineer
> >> WSO2, Inc.; http://wso2.com
> >> lean.enterprise.middleware
> >>
> >> cell: +94 71 536 4128
> >> Blog : http://kasunpanorama.blogspot.com/
> >>
> >> _______________________________________________
> >> Carbon-dev mailing list
> >> [email protected]
> >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>
> >
> >
> >
> > --
> > Afkham Azeez
> > Director of Architecture; WSO2, Inc.; http://wso2.com
> > Member; Apache Software Foundation; http://www.apache.org/
> >
> > email: [email protected] cell: +94 77 3320919
> > blog: http://blog.afkham.org
> > twitter: http://twitter.com/afkham_azeez
> > linked-in: http://lk.linkedin.com/in/afkhamazeez
> >
> > Lean . Enterprise . Middleware
> >
> > _______________________________________________
> > Carbon-dev mailing list
> > [email protected]
> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
>
>
>
> --
> Supun Kamburugamuva
> Technical Lead &  Product Manager, WSO2 Inc.; http://wso2.com
> Member, Apache Software Foundation; http://www.apache.org
> WSO2 Inc.;  http://wso2.org
> E-mail: [email protected];  Mobile: +94 77 431 3585
> Blog: http://supunk.blogspot.com
>



-- 
*Anjana Fernando*
Senior Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to