• 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
In Interface Builder, NSMenuItem connects to ???what???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • [SOLVED} Re: In Interface Builder, NSMenuItem connects to ???what???
      • From: Baiss Magnusson <email@hidden>
  • Prev by Date: Re: While on the subject of: NSOutlineView
  • Next by Date: Re: new Icons in Finder
  • Previous by thread: Re: Help with Mail.app plugin/bundles
  • Next by thread: [SOLVED} Re: In Interface Builder, NSMenuItem connects to ???what???
  • Index(es):
    • Date
    • Thread