Hi -
I've used D2W several times to test eomodels but not in a while (i.e.,
I've updated Java and OS X to 10.3.5 and Java 1.4.2 update 2) and now
it doesn't seem to work at all. I created a simple EOModel with a
table called name that has 3 fields, nameId, firstName and lastName.
I also tried this with 3 other eomodels that i have in production and
they all end up with the same errors.
When I run a newly created Direct To Web application project, as soon
as I click Login, I get this error message:
Error:
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException: [
valueForKey()]: lookup of unknown key: 'visibleEntityNames'. This
WOComponent does not have an instance variable of the name
visibleEntityNames or _visibleEntityNames, nor a method of the name
visibleEntityNames, _visibleEntityNames, getVisibleEntityNames, or
_getVisibleEntityNames
In the Run log I have this;
[2004-09-30 12:04:25 CDT] <main> Waiting for requests...
[2004-09-30 12:04:28 CDT] <WorkerThread3>
<com.webobjects.appserver._private.WOComponentDefinition> WARNING:
Unable to find component class named "PageWrapper". If this is not
intended to be a classless component, check your framework settings
and
the contents of your classpath file (in the .woa's
Contents/<PLATFORM_NAME> subdirectory).
[2004-09-30 12:04:28 CDT] <WorkerThread3>
WOBundle.lookForClassInAllBundles(MenuHeader) failed!
[2004-09-30 12:04:28 CDT] <WorkerThread3>
<com.webobjects.appserver._private.WOComponentDefinition> WARNING:
Unable to find component class named "MenuHeader". If this is not
intended to be a classless component, check your framework settings
and
the contents of your classpath file (in the .woa's
Contents/<PLATFORM_NAME> subdirectory).
[2004-09-30 12:04:28 CDT] <WorkerThread3>
<com.webobjects.appserver._private.WOComponentRequestHandler>:
Exception occurred while handling request:
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
[<com.webobjects.appserver.WOComponent name: MenuHeader subcomponents:
null > valueForKey()]: lookup of unknown key: 'visibleEntityNames'.
This WOComponent does not have an instance variable of the name
visibleEntityNames or _visibleEntityNames, nor a method of the name
visibleEntityNames, _visibleEntityNames, getVisibleEntityNames, or
_getVisibleEntityNames
[2004-09-30 12:04:28 CDT] <WorkerThread3>
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
[<com.webobjects.appserver.WOComponent name: MenuHeader subcomponents:
null > valueForKey()]: lookup of unknown key: 'visibleEntityNames'.
This WOComponent does not have an instance variable of the name
visibleEntityNames or _visibleEntityNames, nor a method of the name
visibleEntityNames, _visibleEntityNames, getVisibleEntityNames, or
_getVisibleEntityNames
at
com.webobjects.appserver.WOComponent.handleQueryWithUnboundKey(WOCompo
ne
nt.java:1566)