On Apr 3, 2007, at 9:30 AM, James Cicenia wrote:

The database says it is null.

That probably means that it was set in memory but the EOF state was scrambled and the change did not get registered for saving to the DB.


Well I figure it is an unfired fault, but why would the print statement after the fact cure it?

It forces firing.


Overridden any EOF methods? Like?

See the EOF Commandment and also check EC locking.


I actually have left that print statement in for now in my production as it cures this random problem.

Eeew.

Chuck



On Apr 3, 2007, at 10:59 AM, Chuck Hill wrote:


On Apr 2, 2007, at 3:16 PM, James Cicenia wrote:

Sorry -

It is inconsistent. In other words it takes the resource and it is stored while sometimes just a null is gotten.

How are you determining that it is null?

However, it is always there when the print statement is issued after?!

It sounds like you are looking at an unfired fault. Have you overridden any EOF methods and not called super or changed how they work?

Chuck


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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]


--

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








--

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








--

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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to