• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange Error ???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange Error ???


  • Subject: Re: Strange Error ???
  • From: James Cicenia <email@hidden>
  • Date: Mon, 2 Apr 2007 17:16:44 -0500

Sorry -

It is inconsistent. In other words it takes the resource and it is stored while sometimes just a null is gotten.
However, it is always there when the print statement is issued after?!


- James


On Apr 2, 2007, at 4:51 PM, Chuck Hill wrote:

Hi James,

Ah, another guessing game for us. :-). Uh, I'd like to buy a vowel? What means this, "sometimes it doesn't"?

Chuck

On Apr 2, 2007, at 2:47 PM, James Cicenia wrote:

Ok this is messing with my head here.


I have the following line:

newPhase.setResponsiblePerson((ProjectRosterMember)msp.resources ().objectAtIndex(0));


Sometimes the above works and sometimes it doesn't. HOWEVER if I put the println AFTER it it always works?!!!!!

System.out.println("PHASE RESPONSIBLE PERSON IS "+ (newPhase.responsiblePerson().resource().fullName()));

The array resources() is an immutableClone.

Is there some faulting issue here that post setting the responsible person heals itself with the println?????

Thanks
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Strange Error ???
      • From: Chuck Hill <email@hidden>
References: 
 >Strange Error ??? (From: James Cicenia <email@hidden>)
 >Re: Strange Error ??? (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Strange Error ???
  • Next by Date: Reading NSData from a file
  • Previous by thread: Re: Strange Error ???
  • Next by thread: Re: Strange Error ???
  • Index(es):
    • Date
    • Thread