• 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: Unable to decrement snapshot count ....count is already 0 or does not exist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to decrement snapshot count ....count is already 0 or does not exist


  • Subject: Re: Unable to decrement snapshot count ....count is already 0 or does not exist
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 30 Apr 2008 20:18:43 -0700


On Apr 30, 2008, at 4:15 PM, Owen McKerrow wrote:

Hi Chuck,

Thanks for the reply. For some strange reason a number of your emails ( including this one ) have been flagged as spam by our filter so this has just arrived after sitting in quarantine.

Better than being deleted outright!

Anyways see below....


Owen McKerrow WebMaster, emlab Ph : +61 02 4221 5517 http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"As of tomorrow, employees will only be able to access the building using individual security cards. Pictures will be taken next Wednesday employees will receive their cards in two weeks."
- "Dilbert Quotes" Winner, Fred Dales, Microsoft Corp



On 25/04/2008, at 9:27 AM, Chuck Hill wrote:
Hi Owen,

On Apr 23, 2008, at 4:16 PM, Owen McKerrow wrote:
Hi All,

One of our apps when down yesterday and on trawling through the log files I found 8 instances of the error : is unable to decrement snapshot count for object with global ID _EOIntegralKeyGlobalID[PublicationKeyword (java.lang.Long)151400] - count is already 0 or this snapshot doesn't exist ( see full stack trace below ). All appear to have come from the same saveChanges() call. Also note each time it occurred it was for a separate object.

Each of the objects had been created about 13 minutes before the errors e.g.

2008,04.23 15: :56,420 "INSERT INTO PUB_KEYWORD(pub_keyword, KEYWORD, pub) VALUES (?, ?, ?)" withBindings: 1:151400(publicationKeyWordID), 2:"proteins"(keyword), 3:23092(publicationID)>

Anyone have any suggestions as to what may have caused this ? i.e. what sort of things I should be looking for in the code. The app has been running for almost 2 years now and this is the first time we've had this problem ( in fact its the first time I have seen it in 10 years of WO development ).

As always all comments/questions/feedback welcome.


No specific suggestions. Are you synchronizing EOs across instances?

No. Single instance, deployed under Tomcat.

Are you using multiple EOF stacks within one instance?

No.

Improper locking might cause this. Running out of memory could too. Nothing else comes to mind other than some sort of horrible EOF abuse like trying to use a disposed EC.

Possible, but I would not have done that intentionally.

I did not think so. :-) Maybe a new user in love with the back button?


I don't know if that would cause this, but maybe something like that. I _have_ seen this before, but not recently.

A search of the lists makes reference to this back in the days of 5.2.2


Yes, at one time it was a bug in EOF. I have not seen this since 5.3.something.


Chuck

--

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: 
 >Unable to decrement snapshot count ....count is already 0 or does not exist (From: Owen McKerrow <email@hidden>)
 >Re: Unable to decrement snapshot count ....count is already 0 or does not exist (From: Chuck Hill <email@hidden>)
 >Re: Unable to decrement snapshot count ....count is already 0 or does not exist (From: Owen McKerrow <email@hidden>)

  • Prev by Date: Re: WOLips Bindings
  • Next by Date: Re: Unable to release locks when using MultiECLockManager
  • Previous by thread: Re: Unable to decrement snapshot count ....count is already 0 or does not exist
  • Next by thread: indexing non-sorted arrays in EOs
  • Index(es):
    • Date
    • Thread