Important: The information in this document is obsolete and should not be used for new development.
Fatal exception when programmatically creating an EOEditingContext in a Cocoa/EOF java class.
In some circumstances, creating an EOEditingContext programmatically in a Cocoa/EOF java class throws a NullPointerException. Specifically when the editing context is created very early in the application startup phase, such as in the NSApplication delegate's constructor or applicationDidFinishLaunching delegate method AND there is no EOEditingContext instantiated in the related Nib file.
Leave an EOEditingContext instance in the application's Nib files (One is added to the Nib for you by the WOAssistant).ORInvoke com.webobjects.eointerface.cocoa.EOCocoaUtilities.registerCocoaSet() before programmatically creating an EOEditingContext
JavaClient applications using WebStart(tm) against a Windows 2000 Professional server may fail to launch with a Download Error.
If the server is running Windows 2000 Professional and IIS 5.x, JavaClient applications may fail to launch through WebStart(tm). WebStart will return a Download Error - “Unable to load resource.”
This is because IIS running on Windows 2000 Professional is limited to 10 concurrent requests.
Upgrade to Windows 2000 Server, or try loading the JavaClient application again.
Deadlock with EOSharedEditingContext.
A race condition can cause an application that uses EOSharedEditingContext to deadlock. This deadlock can occur when the shared editing context receives a change notification concurrent with access from another thread. The deadlock can be identified by thread(s) being blocked with the following appearing in the backtrace:
ava.lang.Object.wait (Native Method) |
java.lang.Object.wait (Object.java:420) |
com.webobjects.foundation.NSMultiReaderLock$ConditionLock.await |
(NSMultiReaderLock.java:503) |
For more details, see What’s New in WebObjects 5.2 and API Changes from 5.1.
Top-level components can't be stateless.
To make a component stateless, one must override the component's isStateless method so that it returns true. However, overriding this method on a top-level component (i.e. Main) won't have any effect on his stateless status. In fact, a new top-level component will be replicated as needed instead of being shared between sessions.The stateless status was designed to be used for nested subcomponents because it is there where the advantage of sharing one instance has more relevance.
Not applicable.
Last updated: 2004-12-02