• 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
Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]


  • Subject: Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]
  • From: Mike Schrag <email@hidden>
  • Date: Fri, 26 Jun 2009 11:39:09 -0400

You are right... Good idea... but it may be challenging as the performParentAction() calls an action in a parent component and then that component also calls performParentAction()... and it's a long chain. So I need to look at all of them to find out... Hey, I did not write those components hehehe... but it's clear to me it is overly complex from the way I usually do things in WebObjects. And it's one of legacy components which seems to be screaming for re- design. :-)

Thanks for the suggestions.. I'll try them to find out WHERE and WHY...
The deep call trace is why i suggest putting a try/catch in your base component's performParentAction -- so all your components have to pass through yours ... SOMEONE in that chain is going to throw out -- it's required for this to fail. If it DOESN'T, then there's something else going on.

ms

_______________________________________________
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


  • Follow-Ups:
    • Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]
      • From: "Ricardo J. Parada" <email@hidden>
References: 
 >NullPointerException in _popComponentFromContext (From: "Ricardo J. Parada" <email@hidden>)
 >Re: NullPointerException in _popComponentFromContext (From: Chuck Hill <email@hidden>)
 >Re: NullPointerException in _popComponentFromContext (From: "Ricardo J. Parada" <email@hidden>)
 >Re: NullPointerException in _popComponentFromContext (From: Chuck Hill <email@hidden>)
 >Re: NullPointerException in _popComponentFromContext (From: "Ricardo J. Parada" <email@hidden>)
 >Re: NullPointerException in _popComponentFromContext (From: "Ricardo J. Parada" <email@hidden>)
 >Re: NullPointerException in _popComponentFromContext (From: Chuck Hill <email@hidden>)
 >Re: NullPointerException in _popComponentFromContext (From: "Ricardo J. Parada" <email@hidden>)
 >Re: NullPointerException in _popComponentFromContext -- [WORKAROUND] (From: "Ricardo J. Parada" <email@hidden>)
 >Re: NullPointerException in _popComponentFromContext -- [WORKAROUND] (From: Mike Schrag <email@hidden>)
 >Re: NullPointerException in _popComponentFromContext -- [WORKAROUND] (From: "Ricardo J. Parada" <email@hidden>)

  • Prev by Date: Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]
  • Next by Date: Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]
  • Previous by thread: Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]
  • Next by thread: Re: NullPointerException in _popComponentFromContext -- [WORKAROUND]
  • Index(es):
    • Date
    • Thread