• 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: Chuck Hill <email@hidden>
  • Date: Tue, 3 Apr 2007 09:35:03 -0700


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 (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









--

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Strange Error ??? (From: James Cicenia <email@hidden>)
 >Re: Strange Error ??? (From: Chuck Hill <email@hidden>)
 >Re: Strange Error ??? (From: James Cicenia <email@hidden>)
 >Re: Strange Error ??? (From: Chuck Hill <email@hidden>)
 >Re: Strange Error ??? (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: EditingContext/Sorting Problem SOLVED
  • Next by Date: Re: No file data from WOFileUpdate
  • Previous by thread: Re: Strange Error ???
  • Next by thread: Reading NSData from a file
  • Index(es):
    • Date
    • Thread