On Wed, May 25, 2011 at 2:20 PM, Afkham Azeez <[email protected]> wrote:
> Those are control operations. There is no need to calculate stats for > control operations. yes that is true. But that gives this null pointer exceptions. so better to have a null pointer check in stat collect module for that. thanks, Amila. > > > On Wed, May 25, 2011 at 2:16 PM, Amila Suriarachchi <[email protected]>wrote: > >> I guess this is the reason. >> >> For secure conversations rahas module adds some operations at the runtime >> when a user engaged the module to the operation. Since these operations are >> added after service is added to the axis configuration some required >> statistics parameters may not be there. >> >> thanks, >> Amila. >> >> On Wed, May 25, 2011 at 1:03 PM, Isuru Suriarachchi <[email protected]>wrote: >> >>> Hi Azeez, >>> >>> Following is the NPE which occurs when running Sec-con scenarios in AS. >>> Is this due to your recent changes in statistics module? If so, can you >>> please have a look? >>> >>> [2011-05-25 12:55:15,817] INFO >>> {org.apache.xml.security.signature.Reference} - Verification successful for >>> URI "#Timestamp-2" >>> [2011-05-25 12:55:15,884] ERROR >>> {org.apache.axis2.transport.http.AxisServlet} - >>> java.lang.NullPointerException >>> at >>> org.wso2.carbon.statistics.module.InOutMEPHandler.invoke(InOutMEPHandler.java:63) >>> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) >>> at org.apache.axis2.engine.Phase.invoke(Phase.java:313) >>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262) >>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427) >>> at >>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:43) >>> 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) >>> >>> >>> Thanks, >>> ~Isuru >>> >>> -- >>> Isuru Suriarachchi >>> Technical Lead & Product Manager, WSO2 Application Server >>> WSO2 Inc. http://wso2.com >>> email : [email protected] >>> blog : http://isurues.wordpress.com/ >>> >>> lean . enterprise . middleware >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> _______________________________________________ >> 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/ > * <http://www.apache.org/>** > email: **[email protected]* <[email protected]>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<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 > >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
