In Interface Builder, NSMenuItem connects to ???what???
In Interface Builder, NSMenuItem connects to ???what???
- Subject: In Interface Builder, NSMenuItem connects to ???what???
- From: Baiss Magnusson <email@hidden>
- Date: Wed, 30 Jul 2003 16:52:09 -0700
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.