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

Re: NullPointerException in _popComponentFromContext


  • Subject: Re: NullPointerException in _popComponentFromContext
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 25 Jun 2009 18:53:45 -0700


On Jun 25, 2009, at 6:49 PM, Ricardo J. Parada wrote:

Sigh...

Does anybody see anything obvious in this stack trace? I used to have this exception ages ago and it was obscure. I don't recall what ended up fixing it exactly but now that I moved my application to Wonder I'm running into this again and haven't figured out yet why or how to fix it. Any ideas?? Pleeeassee!! :-)

I have seen this before. It is caused by the context not knowing the current component. This is hitting some action method. What is it returning?



Chuck




Jun 25 21:40:45 Phynance[58302] WARN NSLog - <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
java.lang.NullPointerException
[2009-6-25 21:40:45 EDT] <WorkerThread8> java.lang.NullPointerException
at com .webobjects .appserver ._private .WOComponentReference ._popComponentFromContext(WOComponentReference.java:108)
at com .webobjects .appserver ._private .WOComponentReference.invokeAction(WOComponentReference.java:128)
at er .extensions .components ._private.ERXSwitchComponent.invokeAction(ERXSwitchComponent.java:117)
at com .webobjects .appserver ._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at com .webobjects .appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java: 115)
at er .extensions .components._private.ERXWOForm.invokeAction(ERXWOForm.java:180)
at com .webobjects .appserver ._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at com .webobjects .appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java: 115)
at er .extensions .components .conditionals.ERXWOTemplate.invokeAction(ERXWOTemplate.java:50)
at er .extensions .components .ERXWOComponentContent.invokeAction(ERXWOComponentContent.java:217)
at com .webobjects .appserver ._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at com .webobjects .appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java: 115)
at com .webobjects .appserver ._private.WOComponentContent.invokeAction(WOComponentContent.java:38)
at com .webobjects .appserver ._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at com .webobjects .appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java: 115)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java: 1079)
at er.extensions.components.ERXComponent.invokeAction(ERXComponent.java: 92)
at er .extensions .components .ERXNonSynchronizingComponent .invokeAction(ERXNonSynchronizingComponent.java:60)
at com .webobjects .appserver ._private .WOComponentReference.invokeAction(WOComponentReference.java:127)
at com .webobjects .appserver ._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at com .webobjects .appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java: 115)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java: 1079)
at er.extensions.components.ERXComponent.invokeAction(ERXComponent.java: 92)
at er .extensions .components .ERXNonSynchronizingComponent .invokeAction(ERXNonSynchronizingComponent.java:60)
at com .webobjects .appserver ._private .WOComponentReference.invokeAction(WOComponentReference.java:127)
at com .webobjects .appserver ._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at com .webobjects .appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java: 115)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java: 1079)
at er.extensions.components.ERXComponent.invokeAction(ERXComponent.java: 92)
at er .extensions .components .ERXNonSynchronizingComponent .invokeAction(ERXNonSynchronizingComponent.java:60)
at com.webobjects.appserver.WOSession.invokeAction(WOSession.java: 1357)
at com.mpv.webcomponents.MPVWOSession.invokeAction(MPVWOSession.java:175)
at com .webobjects.appserver.WOApplication.invokeAction(WOApplication.java: 1745)
at er .extensions .appserver .ajax.ERXAjaxApplication.invokeAction(ERXAjaxApplication.java:50)
at er .extensions .appserver.ERXApplication.invokeAction(ERXApplication.java:1657)
at com .webobjects .appserver ._private .WOComponentRequestHandler ._dispatchWithPreparedPage(WOComponentRequestHandler.java:206)
at com .webobjects .appserver ._private .WOComponentRequestHandler ._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
at com .webobjects .appserver ._private .WOComponentRequestHandler ._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
at com .webobjects .appserver ._private .WOComponentRequestHandler ._handleRequest(WOComponentRequestHandler.java:369)
at com .webobjects .appserver ._private .WOComponentRequestHandler .handleRequest(WOComponentRequestHandler.java:442)
at com .webobjects .appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at er .extensions .appserver .ERXApplication.dispatchRequestImmediately(ERXApplication.java:1772)
at er .extensions .appserver.ERXApplication.dispatchRequest(ERXApplication.java:1737)
at com .webobjects .appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at com .webobjects .appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:613)



_______________________________________________ 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

-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ 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
      • From: "Ricardo J. Parada" <email@hidden>
References: 
 >NullPointerException in _popComponentFromContext (From: "Ricardo J. Parada" <email@hidden>)

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