Results 1 to 2 of 2

Thread: Strange problem

  1. #1
    Tamir is offline Member
    Join Date
    Aug 2008
    Rep Power

    Question Strange problem

    I am using eclipse IDE. This piece of code is giving me some strange behavior. The problem that i am facing is as follows

    InsuredOrPrincipalInfoType insuredOrPrinInfoType =
    currInsuredOrPrincipal.getInsuredOrPrincipalInfo() ;
    if(insuredOrPrinInfoType.getMembershipInd() != null)

    When I do inspect on insuredOrPrinInfoType variable I see the following , watch the MembershipInd

    <x/:MembershipTypeCd>AARP</x/:MembershipTypeCd> <x/:MembershipInd>1</x/:MembershipInd> <x/:MembershipNumber>022835573</x/:MembershipNumber>

    And when I do an inspect on insuredOrPrinInfoType.getMembershipInd() it says null. When the previous inspect did show me this value is not null.

    Do you know what could be the possible reason ?


  2. #2
    Tamir is offline Member
    Join Date
    Aug 2008
    Rep Power


    The problem was with my namespaces this is fixed now . Thanks

Similar Threads

  1. What is the answer to this strange problem:
    By willemjav in forum New To Java
    Replies: 5
    Last Post: 08-11-2008, 09:31 PM
  2. Strange behaviour in swing
    By cbalu in forum AWT / Swing
    Replies: 1
    Last Post: 05-23-2008, 09:23 PM
  3. Need help on a strange file access prob
    By squad in forum Advanced Java
    Replies: 0
    Last Post: 03-21-2008, 11:55 AM
  4.; strange error!
    By kantze in forum New To Java
    Replies: 2
    Last Post: 03-19-2008, 02:44 PM
  5. Strange error message "Source not found"
    By ppayal in forum Eclipse
    Replies: 0
    Last Post: 11-25-2007, 07:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts