On 04/11/2009, at 6:45 AM, Chuck Hill wrote:
I've never seen this and can't think of why they would not be loaded
when the framework is referenced. Are some of the frameworks not
getting referenced until later? Does adding
NSBundle.allBundles() to the Application constructor help?
No.
My only other idea is that you are somehow messing with application
loading.
On 04/11/2009, at 6:52 AM, Mike Schrag wrote:
You're doing something weird. Going completely out on a limb, I
nominate touching EOF in a static initialization block as your
problem.
If I am, I don't see it. Here's the Application constructor:
public Application() {
ERXApplication.log.info("Welcome to " + name() + " !");
// Ensure that the DA request handler is the default
setDefaultRequestHandler(new ERXDirectActionRequestHandler());
}
Here's the parent's constructor:
public LSApplication() {
super();
setIncludeCommentsInResponses(INCLUDE_COMMENTS_IN_RESPONSE);
// Set the default TZ for NSTimestamps to GMT
NSTimeZone.setDefaultTimeZone(NSTimeZone.getGMT());
// Set the default TZ for Java
TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
return;
}
That parent class extends ERXApplication. The default page contains
this method:
public NSArray<Notice> allNotices() {
return Notice.allCurrentActiveNotices(editingContext());
}
And that's where the trouble starts. AFAICS, I'm not doing anything
with EOF until didFinishLaunching(). I don't think I've got any
static initialization blocks touching EOF.
--
Paul.
w http://logicsquad.net/
h http://paul.hoadley.name/
_______________________________________________
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 arch...@mail-archive.com