axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonas Buys (JIRA)" <>
Subject [jira] Created: (AXIS2-4377) Exception thrown in MessageContext.findBindingMessage
Date Mon, 15 Jun 2009 08:26:07 GMT
Exception thrown in MessageContext.findBindingMessage

                 Key: AXIS2-4377
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.5
         Environment: Java 1.5.0_16-b02 on XP SP3, Axis2 1.5 GA, Tomcat 6.0.18
            Reporter: Jonas Buys
             Fix For: 1.5.1

I have a module to enforce some custom policies when invoking a dummy service and it worked
completely well on Axis2 1.4.1.
Yet, when I am throwing an AxisFault SOAP fault, 1.5.1 throws this exception:

SEVERE: Servlet.service() for servlet AxisServlet threw exception
        at org.apache.axis2.context.MessageContext.findBindingMessage(
        at org.apache.axis2.context.MessageContext.getEffectivePolicy(
        at org.apache.axis2.engine.Phase.invoke(
        at org.apache.axis2.engine.AxisEngine.invoke(
        at org.apache.axis2.engine.AxisEngine.sendFault(
        at org.apache.axis2.transport.http.AxisServlet.handleFault(
        at org.apache.axis2.transport.http.AxisServlet.processAxisFault(
        at org.apache.axis2.transport.http.AxisServlet.doPost(
        at javax.servlet.http.HttpServlet.service(
        at javax.servlet.http.HttpServlet.service(
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
        at org.apache.catalina.core.StandardWrapperValve.invoke(
        at org.apache.catalina.core.StandardContextValve.invoke(
        at org.apache.catalina.core.StandardHostValve.invoke(
        at org.apache.catalina.valves.ErrorReportValve.invoke(
        at org.apache.catalina.core.StandardEngineValve.invoke(
        at org.apache.catalina.connector.CoyoteAdapter.service(
        at org.apache.coyote.http11.Http11Processor.process(
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(

Apparantly, the axisMessage is null on line 1609 (String direction = axisMessage.getDirection();).
 Weird thing is that it works for operation with policy I attached in module.xml and always
reproduces this error for any operation with policies on my service.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message