Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

In Interface Builder, NSMenuItem connects to ???what???



In Interface Builder I create a NSPopUpItem, using the directions in Chapter 21 of Apple's DTJC manual, I bind the <title> to the display group, i.e. the DB table, and the <selectedIndex> to a <key> of the EODisplayGroup.

This leaves the <MainWindow> showing an error in that NSMenuItem has a bad/missing connection. NSMenuItem being a sub-entity of NSPopUpItem.

And thus when I run I get a

java.lang.NullPointerException
at com.webobjects.eointerface.EOValueSelectionAssociation.subjectChanged(EO ValueSelectionAssociation.java:365)
at com.webobjects.eocontrol.EODelayedObserverQueue.notifyObserversUpToPrior ity(EODelayedObserverQueue.java:235)
at com.webobjects.eocontrol.EODelayedObserverQueue._processEndOfEventObserv ers(EODelayedObserverQueue.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.webobjects.foundation.NSSelector.invoke(NSSelector.java:354)
at com.webobjects.foundation.NSSelector._safeInvokeSelector(NSSelector.java :108)
at com.webobjects.foundation.NSDelayedCallbackCenter$NSLightInvocation.invo ke(NSDelayedCallbackCenter.java:242)
at com.webobjects.foundation.NSDelayedCallbackCenter._eventEnded(NSDelayedC allbackCenter.java:208)
at com.webobjects.eointerface.swing.EOSwingUtilities$1.run(EOSwingUtilities .java:162)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
-----
Baiss Eric Magnusson
Woodinville, WA
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.