• 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: Null Pointer Exception + ERPersistentStorage + WOForm
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Null Pointer Exception + ERPersistentStorage + WOForm


  • Subject: Re: Null Pointer Exception + ERPersistentStorage + WOForm
  • From: Ramsey Gurley <email@hidden>
  • Date: Mon, 30 Mar 2015 10:21:44 -0700

On Mar 30, 2015, at 7:45 AM, Kevin Hinkson <email@hidden> wrote:

> Hi,
>
> I’m having a very weird error that I cannot pin down at all.

> Caused by: java.lang.IllegalArgumentException: Attempt to insert null object into an  com.webobjects.foundation.NSDictionary.
> 	at com.webobjects.foundation.NSDictionary.<init>(NSDictionary.java:197)
> 	at com.webobjects.eoaccess.EOUtilities.objectsMatchingKeyAndValue(EOUtilities.java:189)
> 	at er.extensions.eof.EOEnterpriseObjectClazz.objectsMatchingKeyAndValue(EOEnterpriseObjectClazz.java:350)
> 	at er.extensions.eof.EOEnterpriseObjectClazz.objectMatchingKeyAndValue(EOEnterpriseObjectClazz.java:375)
> 	at er.persistentsessionstorage.ERPersistentSessionStore.restoreSessionWithID(ERPersistentSessionStore.java:36)
> 	at com.webobjects.appserver.WOSessionStore.checkOutSessionWithID(WOSessionStore.java:182)
> 	at com.webobjects.appserver.WOApplication.restoreSessionWithID(WOApplication.java:1913)

It looks like you are calling restoreSessionWithID(null, request). Since you narrowed this down to a form submission, have you passed through an https page with er.extensions.ERXSession.useSecureSessionCookies enabled, then tried to submit this form with an http: action url? In that case, the browser would not send the session cookie and I suspect this might be the result.
 _______________________________________________
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: Null Pointer Exception + ERPersistentStorage + WOForm
      • From: Kevin Hinkson <email@hidden>
References: 
 >Null Pointer Exception + ERPersistentStorage + WOForm (From: Kevin Hinkson <email@hidden>)

  • Prev by Date: Re: Help on ponder
  • Next by Date: Re: Null Pointer Exception + ERPersistentStorage + WOForm
  • Previous by thread: Null Pointer Exception + ERPersistentStorage + WOForm
  • Next by thread: Re: Null Pointer Exception + ERPersistentStorage + WOForm
  • Index(es):
    • Date
    • Thread