• 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
D2W launch error help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

D2W launch error help


  • Subject: D2W launch error help
  • From: Michael Engelhart <email@hidden>
  • Date: Thu, 30 Sep 2004 12:09:08 -0500

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(WOCompone nt.java:1566)
at com.webobjects.foundation.NSKeyValueCoding$Utility.handleQueryWithUnboun dKey(NSKeyValueCoding.java:544)
at com.webobjects.foundation.NSKeyValueCoding$_KeyBinding.valueInObject(NSK eyValueCoding.java:920)
at com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueFo rKey(NSKeyValueCoding.java:1268)
at com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1539)
at com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValu eCoding.java:498)
at com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementatio n.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
at com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java: 1600)
at com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent (WOKeyValueAssociation.java:46)
at com.webobjects.appserver._private.WOPopUpButton.appendChildrenToResponse (WOPopUpButton.java:181)
at com.webobjects.appserver._private.WOHTMLDynamicElement.appendToResponse( WOHTMLDynamicElement.java:424)
at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToRespons e(WODynamicGroup.java:121)
at com.webobjects.appserver._private.WOConditional.appendToResponse(WOCondi tional.java:70)
at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToRespons e(WODynamicGroup.java:121)
at com.webobjects.appserver._private.WOForm.appendChildrenToResponse(WOForm .java:124)
at com.webobjects.appserver._private.WOHTMLDynamicElement.appendToResponse( WOHTMLDynamicElement.java:424)
at com.webobjects.appserver._private.WOForm.appendToResponse(WOForm.java: 118)
at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToRespons e(WODynamicGroup.java:121)
at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODyna micGroup.java:130)
at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java: 992)
at com.webobjects.appserver._private.WOComponentReference.appendToResponse( WOComponentReference.java:111)
at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToRespons e(WODynamicGroup.java:121)
at com.webobjects.appserver._private.WOHTMLDynamicElement.appendToResponse( WOHTMLDynamicElement.java:424)
at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToRespons e(WODynamicGroup.java:121)
at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODyna micGroup.java:130)
at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java: 992)
at com.webobjects.appserver._private.WOComponentReference.appendToResponse( WOComponentReference.java:111)
at com.webobjects.appserver._private.WOSwitchComponent.appendToResponse(WOS witchComponent.java:197)
at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java: 992)
at com.webobjects.appserver.WOSession.appendToResponse(WOSession.java: 1198)
at com.webobjects.appserver.WOApplication.appendToResponse(WOApplication.ja va:1418)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit hPreparedPage(WOComponentRequestHandler.java:230)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit hPreparedSession(WOComponentRequestHandler.java:287)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit hPreparedApplication(WOComponentRequestHandler.java:322)
at com.webobjects.appserver._private.WOComponentRequestHandler._handleReque st(WOComponentRequestHandler.java:358)
at com.webobjects.appserver._private.WOComponentRequestHandler.handleReques t(WOComponentRequestHandler.java:432)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.jav a:1306)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread. java:173)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java :254)
at java.lang.Thread.run(Thread.java:552)


I'm not sure where it's coming from but it seems like the frameworks aren't finding the pages. I checked the .woa package and all the pages and jars seem to be in there.

Any ideas? I spent a bit of time trying to debug this but want to make sure it's not one of the updates that has broken something.

Thanks
Mike

_______________________________________________
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


  • Prev by Date: Re: Adaptor Info for Microsoft SQL Server problem
  • Next by Date: Re: D2W launch error help
  • Previous by thread: Re: cannot update imported DB entries; can update new ones
  • Next by thread: Re: D2W launch error help
  • Index(es):
    • Date
    • Thread