You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Nilesh Ghorpade <ni...@yahoo.com> on 2007/03/02 13:56:59 UTC

SimpleTypeMapper.getArrayList(OMELement) gives NullPointerException

Hi,
  
  On using the SimpleTypeMapper.getArrayList(OMELement) API for  converting the OMElement to an ArrayList I get a NullPointerException.
  
  
  Does anyone know the solution for the same?
  
  I have pasted the StackTrace below.
  
  
  Thanks and Regards,
  
  Nilesh
  
  
  STACK TRACE
  ===============
  org.apache.axiom.om.OMException: java.lang.NullPointerException
  at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:199)
  at org.apache.axiom.om.impl.llom.OMElementImpl.buildNext(OMElementImpl.java:558)
  at org.apache.axiom.om.impl.llom.OMElementImpl.getFirstOMChild(OMElementImpl.java:569)
  at org.apache.axiom.om.impl.llom.OMElementImpl.getChildren(OMElementImpl.java:281)
  at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getArrayList(SimpleTypeMapper.java:112)
  
  
  
 
---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.

Re: SimpleTypeMapper.getArrayList(OMELement) gives NullPointerException

Posted by Nilesh Ghorpade <ni...@yahoo.com>.
HI Martin,
  
  I have copy pasted my entire code which I gives the error in the JIRA  bug details. If you refer the same you would be able to get all the  details. 
  (The key is AXIS2-2288)
  
  Regards
  
  Nilesh

Martin Gainty <mg...@hotmail.com> wrote:              Good Morning Niles
  
How was the original OMEelement   allocated?
  How is the SimpleTypeMapper allocated?
  I look forward to seeing the code to re-create this   scenario
  
Thanks,
Martin --
  ---------------------------------------------------------------------------   
This e-mail message (including attachments, if any) is intended for the use   of the individual or entity to which it is addressed and may contain information   that is privileged, proprietary , confidential and exempt from disclosure. If   you are not the intended recipient, you are notified that any dissemination,   distribution or copying of this communication is strictly   prohibited.
---------------------------------------------------------------------------   
Le présent message électronique (y compris les pièces qui y sont annexées,   le cas échéant) s'adresse au destinataire indiqué et peut contenir des   renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le   destinataire de ce document, nous vous signalons qu'il est strictement interdit   de le diffuser, de le distribuer ou de le reproduire.
      ----- Original Message ----- 
    From:     Nilesh Ghorpade 
    To: axis-user@ws.apache.org ; dims@apache.org 
    Sent: Sunday, March 04, 2007 4:38   AM
    Subject: Re:     SimpleTypeMapper.getArrayList(OMELement) gives NullPointerException
    

I     have filed a JIRA bug for the same. The key is AXIS2-2288
                        
        
Regards

Niles

Davanum     Srinivas <da...@gmail.com> wrote:    Nilesh,

Please       create a JIRA bug with your sample code for us to recreate the       problem.

thanks,
dims

On 3/2/07, Nilesh Ghorpade       wrote:
> Hi,
>
> On using       the SimpleTypeMapper.getArrayList(OMELement) API for converting
> the       OMElement to an ArrayList I get a       NullPointerException.
>
>
> Does anyone know the solution       for the same?
>
> I have pasted the StackTrace       below.
>
>
> Thanks and Regards,
>
>       Nilesh
>
>
> STACK TRACE
> ===============
>       org.apache.axiom.om.OMException: java.lang.NullPointerException
>       at
>       org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:199)
>       at
>       org.apache.axiom.om.impl.llom.OMElementImpl.buildNext(OMElementImpl.java:558)
>       at
>       org.apache.axiom.om.impl.llom.OMElementImpl.getFirstOMChild(OMElementImpljava:569)
>       at
>       org.apache.axiom.om.impl.llom.OMElementImpl.getChildren(OMElementImpl.java:281)
>       at
>       org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getArrayList(SimpleTypeMapper.java:112)
>
>
>
>
>       ________________________________
> Everyone is raving about the       all-new Yahoo! Mail beta.
>
>


-- 
Davanum Srinivas       :: http://wso2.org/ :: Oxygen for Web Services       Developers

---------------------------------------------------------------------
To       unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional       commands, e-mail:     axis-user-help@ws.apache.org


        

---------------------------------
    Food     fight? Enjoy some healthy debate
in the Yahoo!     Answers Food & Drink Q&A.

 
---------------------------------
The fish are biting.
 Get more visitors on your site using Yahoo! Search Marketing.

Re: SimpleTypeMapper.getArrayList(OMELement) gives NullPointerException

Posted by Martin Gainty <mg...@hotmail.com>.
Good Morning Niles

How was the original OMEelement allocated?
How is the SimpleTypeMapper allocated?
I look forward to seeing the code to re-create this scenario

Thanks,
Martin --
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire.
  ----- Original Message ----- 
  From: Nilesh Ghorpade 
  To: axis-user@ws.apache.org ; dims@apache.org 
  Sent: Sunday, March 04, 2007 4:38 AM
  Subject: Re: SimpleTypeMapper.getArrayList(OMELement) gives NullPointerException


  I have filed a JIRA bug for the same. The key is AXIS2-2288

       
       
  Regards

  Niles

  Davanum Srinivas <da...@gmail.com> wrote:
    Nilesh,

    Please create a JIRA bug with your sample code for us to recreate the problem.

    thanks,
    dims

    On 3/2/07, Nilesh Ghorpade wrote:
    > Hi,
    >
    > On using the SimpleTypeMapper.getArrayList(OMELement) API for converting
    > the OMElement to an ArrayList I get a NullPointerException.
    >
    >
    > Does anyone know the solution for the same?
    >
    > I have pasted the StackTrace below.
    >
    >
    > Thanks and Regards,
    >
    > Nilesh
    >
    >
    > STACK TRACE
    > ===============
    > org.apache.axiom.om.OMException: java.lang.NullPointerException
    > at
    > org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:199)
    > at
    > org.apache.axiom.om.impl.llom.OMElementImpl.buildNext(OMElementImpl.java:558)
    > at
    > org.apache.axiom.om.impl.llom.OMElementImpl.getFirstOMChild(OMElementImpljava:569)
    > at
    > org.apache.axiom.om.impl.llom.OMElementImpl.getChildren(OMElementImpl.java:281)
    > at
    > org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getArrayList(SimpleTypeMapper.java:112)
    >
    >
    >
    >
    > ________________________________
    > Everyone is raving about the all-new Yahoo! Mail beta.
    >
    >


    -- 
    Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
    For additional commands, e-mail: axis-user-help@ws.apache.org






------------------------------------------------------------------------------
  Food fight? Enjoy some healthy debate
  in the Yahoo! Answers Food & Drink Q&A.

Re: SimpleTypeMapper.getArrayList(OMELement) gives NullPointerException

Posted by Nilesh Ghorpade <ni...@yahoo.com>.
I have filed a JIRA bug for the same. The key is AXIS2-2288
       
                                          
      Regards
  
  Niles

Davanum Srinivas <da...@gmail.com> wrote:  Nilesh,

Please create a JIRA bug with your sample code for us to recreate the problem.

thanks,
dims

On 3/2/07, Nilesh Ghorpade  wrote:
> Hi,
>
>  On using the SimpleTypeMapper.getArrayList(OMELement) API for converting
> the OMElement to an ArrayList I get a NullPointerException.
>
>
>  Does anyone know the solution for the same?
>
>  I have pasted the StackTrace below.
>
>
>  Thanks and Regards,
>
>  Nilesh
>
>
>  STACK TRACE
>  ===============
>  org.apache.axiom.om.OMException: java.lang.NullPointerException
>  at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:199)
>  at
> org.apache.axiom.om.impl.llom.OMElementImpl.buildNext(OMElementImpl.java:558)
>  at
> org.apache.axiom.om.impl.llom.OMElementImpl.getFirstOMChild(OMElementImpl.java:569)
>  at
> org.apache.axiom.om.impl.llom.OMElementImpl.getChildren(OMElementImpl.java:281)
>  at
> org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getArrayList(SimpleTypeMapper.java:112)
>
>
>
>
>  ________________________________
> Everyone is raving about the all-new Yahoo! Mail beta.
>
>


-- 
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org



 
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.

Re: SimpleTypeMapper.getArrayList(OMELement) gives NullPointerException

Posted by Davanum Srinivas <da...@gmail.com>.
Nilesh,

Please create a JIRA bug with your sample code for us to recreate the problem.

thanks,
dims

On 3/2/07, Nilesh Ghorpade <ni...@yahoo.com> wrote:
> Hi,
>
>  On using the SimpleTypeMapper.getArrayList(OMELement) API for converting
> the OMElement to an ArrayList I get a NullPointerException.
>
>
>  Does anyone know the solution for the same?
>
>  I have pasted the StackTrace below.
>
>
>  Thanks and Regards,
>
>  Nilesh
>
>
>  STACK TRACE
>  ===============
>  org.apache.axiom.om.OMException: java.lang.NullPointerException
>  at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:199)
>  at
> org.apache.axiom.om.impl.llom.OMElementImpl.buildNext(OMElementImpl.java:558)
>  at
> org.apache.axiom.om.impl.llom.OMElementImpl.getFirstOMChild(OMElementImpl.java:569)
>  at
> org.apache.axiom.om.impl.llom.OMElementImpl.getChildren(OMElementImpl.java:281)
>  at
> org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getArrayList(SimpleTypeMapper.java:112)
>
>
>
>
>  ________________________________
> Everyone is raving about the all-new Yahoo! Mail beta.
>
>


-- 
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org