Results 1 to 2 of 2
Thread: Strange problem
- 08-18-2008, 09:27 PM #1
Member
- Join Date
- Aug 2008
- Posts
- 2
- Rep Power
- 0
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
<xml-fragment>
<x/:InsuredOrPrincipalRoleCd>Insured</x/:InsuredOrPrincipalRoleCd>
<x/:MembershipTypeCd>AARP</x/:MembershipTypeCd> <x/:MembershipInd>1</x/:MembershipInd> <x/:MembershipNumber>022835573</x/:MembershipNumber>
<x/:PersonInfo>
<x/:GenderCd>M</x/:GenderCd>
<x/:BirthDt>1976-03-05</x/:BirthDt>
<x/:MaritalStatusCd>S</x/:MaritalStatusCd>
<x/:OccupationDesc>Employed</x/:OccupationDesc>
</x/:PersonInfo>
<x/:PrincipalInfo/>
</xml-fragment>
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 ?
Thanks
Tamir
- 08-18-2008, 09:44 PM #2
Member
- Join Date
- Aug 2008
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
What is the answer to this strange problem:
By willemjav in forum New To JavaReplies: 5Last Post: 08-11-2008, 09:31 PM -
Strange behaviour in swing
By cbalu in forum AWT / SwingReplies: 1Last Post: 05-23-2008, 09:23 PM -
Need help on a strange file access prob
By squad in forum Advanced JavaReplies: 0Last Post: 03-21-2008, 10:55 AM -
System.in.read(); strange error!
By kantze in forum New To JavaReplies: 2Last Post: 03-19-2008, 01:44 PM -
Strange error message "Source not found"
By ppayal in forum EclipseReplies: 0Last Post: 11-25-2007, 06:19 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks