So just the constructor then, no static init blocks in that class?

There are a few things that can cause this.  Improper locking of the 
EODatabaseContext or the OSC for example.


Chuck


On 2/6/2014, 11:37 AM, "Calven Eggert" wrote:

I have a WOComponent called CORELogin.java and it does this if a user's id/pw 
is valid

    Main mainPage = (Main) pageWithName("Main");

---
    public Main(WOContext context) {
        super(context);
        initialize();
    }
    public void initialize() {
...
}
---


On 2014-02-06, at 2:33 PM, Chuck Hill wrote:

What is Main?  It looks like you are calling into EOF in a static initializer.  
That is NOT a good idea.

at 
com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634)
at BIXIdentity.accountName(BIXIdentity.java:44)
at TrialMgr.isTrialCoordinator(TrialMgr.java:696)
at TrialMgr.filterTrialViaQualifier(TrialMgr.java:585)
at TrialMgr.filterTrialsViaQualifier(TrialMgr.java:577)
at TrialMgr.retrieveTrials(TrialMgr.java:321)
at Main.setUpTrialsDisplay(Main.java:153)
at Main.initialize(Main.java:111)
at Main.<init>(Main.java:86)



On 2/6/2014, 11:31 AM, "Calven Eggert" wrote:

I've just looked at my log and  it looks like this error has been happening for 
quite a while now a couple of years, it's just that lately many more users are 
using the application and so the error is showing up more often.  What would 
cause this problem?


On 2014-02-06, at 2:12 PM, Chuck Hill wrote:

What have you changed?

On 2/6/2014, 11:05 AM, "Calven Eggert" wrote:

Hi,

All of a sudden, in the past couple of weeks, I'm getting the below error a lot 
and I can't figure out what the heck is going on.  Any ideas?

Yes, I'm aware of the EOF commandments. :-)

Calven
=======

java.lang.reflect.InvocationTargetException
com.webobjects.foundation.NSForwardException 
[java.lang.reflect.InvocationTargetException] 
null:java.lang.reflect.InvocationTargetException
at 
com.webobjects.foundation._NSUtilities._explainInstantiationException(_NSUtilities.java:600)
at 
com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:620)
at 
com.webobjects.appserver._private.WOComponentDefinition._componentInstanceInContext(WOComponentDefinition.java:567)
at 
com.webobjects.appserver._private.WOComponentDefinition.componentInstanceInContext(WOComponentDefinition.java:658)
at com.webobjects.appserver.WOApplication.pageWithName(WOApplication.java:2332)
at com.webobjects.appserver.WOComponent.pageWithName(WOComponent.java:1346)
at CORELogin.login(CORELogin.java:95)
at CORELogin.login(CORELogin.java:49)
at sun.reflect.GeneratedMethodAccessor344.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
KeyValueCodingProtectedAccessor.methodValue(KeyValueCodingProtectedAccessor.java:60)
at 
com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
at 
com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324)
at com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1736)
at 
com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:447)
at 
com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
at com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1804)
at COREGenericComponent.valueForKeyPath(COREGenericComponent.java:467)
at 
com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50)
at 
com.webobjects.appserver._private.WOSubmitButton.invokeAction(WOSubmitButton.java:81)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at com.webobjects.appserver._private.WOForm.invokeAction(WOForm.java:141)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at 
com.webobjects.appserver._private.WOComponentContent.invokeAction(WOComponentContent.java:38)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:1079)
at 
com.webobjects.appserver._private.WOComponentReference.invokeAction(WOComponentReference.java:127)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at 
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:1079)
at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1357)
at com.webobjects.appserver.WOApplication.invokeAction(WOApplication.java:1745)
at 
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedPage(WOComponentRequestHandler.java:206)
at 
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
at 
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
at 
com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:369)
at 
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:442)
at 
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at COREApplication.dispatchRequest(COREApplication.java:454)
at Application.dispatchRequest(Application.java:46)
at 
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor33.newInstance(Unknown Source)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at 
com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:614)
... 45 more
Caused by: java.lang.IllegalStateException: incrementSnapshotCountForGlobalID: 
com.webobjects.eoaccess.EODatabase com.webobjects.eoaccess.EODatabase@4cdf4bfc 
-- is unable to increment snapshot count for object with global ID 
_EOIntegralKeyGlobalID[BIXIdentity (java.lang.Integer)10665] - no snapshot 
exists
at 
com.webobjects.eoaccess.EODatabase.incrementSnapshotCountForGlobalID(EODatabase.java:1062)
at 
com.webobjects.eoaccess.EODatabaseContext.initializeObject(EODatabaseContext.java:3582)
at 
com.webobjects.eocontrol.EOObjectStoreCoordinator.initializeObject(EOObjectStoreCoordinator.java:597)
at 
com.webobjects.eocontrol.EOEditingContext.initializeObject(EOEditingContext.java:3768)
at 
com.webobjects.eoaccess.EODatabaseChannel$_EODatabaseChannelFetchResult.initializeObjects(EODatabaseChannel.java:496)
at 
com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3090)
at 
com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195)
at 
com.webobjects.eoaccess.EODatabaseContext._fireFault(EODatabaseContext.java:4187)
at 
com.webobjects.eoaccess.EOAccessFaultHandler.completeInitializationOfObject(EOAccessFaultHandler.java:89)
at com.webobjects.eocontrol.EOCustomObject.willRead(EOCustomObject.java:1172)
at 
com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_GenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:570)
at 
com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634)
at BIXIdentity.accountName(BIXIdentity.java:44)
at TrialMgr.isTrialCoordinator(TrialMgr.java:696)
at TrialMgr.filterTrialViaQualifier(TrialMgr.java:585)
at TrialMgr.filterTrialsViaQualifier(TrialMgr.java:577)
at TrialMgr.retrieveTrials(TrialMgr.java:321)
at Main.setUpTrialsDisplay(Main.java:153)
at Main.initialize(Main.java:111)
at Main.<init>(Main.java:86)


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      
(Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net<mailto:ch...@global-village.net>


 _______________________________________________
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to