There is no stack trace. The code is not logging the runtime exception. I didn't see any exceptions in my log file.
 
All I know is the exception is caught at line 324 (in my 1.2 rc2 code). Following is the snippet where I saw the exception. My comments are in red font.
 
public void invoke(MessageContext msgContext) throws AxisFault {
 
            {some code here}
 
                // Ensure that if we get SOAP1.2, then reply using SOAP1.2
                if(msgContext.getRequestMessage().getSOAPEnvelope().getSOAPConstants() != null) { // nullpointer is thrown here
                    SOAPConstants soapConstants = msgContext.getRequestMessage().getSOAPEnvelope().getSOAPConstants();
                    msgContext.setSOAPConstants(soapConstants);
                }
 
            {some code here}

 
 catch (AxisFault e) {
            throw e;
        } catch (Exception e) {//exception is caught and AxisFault is thrown w/o even logging
            // Should we even bother catching it ?
            throw AxisFault.makeFault(e);
 
        } finally {
            // restore previous state
            setCurrentMessageContext(previousContext);
        }
}
 
 
BTW is there a stable build that works with weblogic 8.1.3 where I can use document style webservices. Axis1.1 doesn't seem to support document style properly. 1.2 RC2 release have bug with weblogic 8.1.3. Nightly build is not stable. I would gretaly appreciate if someone can point me to a stable build that works with weblogic8.1.3.
 
Thanks
Praveen
 
 
----- Original Message -----
From: "Davanum Srinivas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 05, 2005 8:47 AM
Subject: Re: Is latest nightly build stable

> Praveen,
>
> please send the stack trace.
>
> -- dims
>
>
> On Fri, 4 Feb 2005 23:17:41 -0500, Praveen Peddi
> <
[EMAIL PROTECTED]> wrote:
>> 
>> We were using 1.1 and I tried to move to 1.2 RC2 but it doesn't seem to work
>> with weblogic 8.1.3 due to bug
>>
http://issues.apache.org/jira/browse/AXIS-1683. I see that Davanam Srinivas
>> fixed this bug on Dec 04 which means RC2 also doesn't have this. So I tried
>> to get latest nightly build dated feb4. That seemed to have fixed the above
>> bug but I can use any of services.
>>  
>> I get the NullPointerException.
>>  
>> I don't see any errors in the log file but after debugging Axis code I found
>> the error at line 279 of org.apache.axis.server.AxisServer.java (I actually
>> attached 1.2RC2 code with Feb4th nightly build so I am very sure if its line
>> 279 but it is surely in AxisServer.java).
>>  
>> Doesn't anyone know about this error.
>>  
>> Praveen
>>  
>>  
>>  
>>  
>>  
>> **************************************************************
>> Praveen Peddi
>> Sr Software Engg, Context Media, Inc.
>> email:[EMAIL PROTECTED]
>> Tel:  401.854.3475
>> Fax:  401.861.3596
>> web:
http://www.contextmedia.com
>> **************************************************************
>> Context Media- "The Leader in Enterprise Content Integration"
>> 
>
>
> --
> Davanum Srinivas -
http://webservices.apache.org/~dims/
>

Reply via email to