look at the console log (and the stack trace...
I'm sending about a thousand emails
I have a loop that send email using ERMailDeliveryHTML
The loop is working fine but occasionally, this time at the sending
#798 i get the error...
the loop is running in a separate Thread
the context i use to create the component page passed to
ERMailDelivery is a context().clone()
any suggestion?
thanks
Regards
Amedeo
Mar 10 13:04:14 ConfindustriaNet[22500] INFO
it.chieti.confindustria.components.CFMailSender - Currently at stage:
787
Mar 10 13:04:15 ConfindustriaNet[22500] INFO
it.chieti.confindustria.components.CFMailSender - Currently at stage:
788
Session Invoked
Session Invoked. ID = xcEoVOBstmZgeTFRxpxPYg
Browser = Safari
Remote IP Address = 192.168.1.20
Checking authentication
Mar 10 13:04:15 ConfindustriaNet[22500] INFO
it.chieti.confindustria.components.CFMailSender - Currently at stage:
789
Mar 10 13:04:15 ConfindustriaNet[22500] INFO
it.chieti.confindustria.components.CFMailSender - Currently at stage:
790
Mar 10 13:04:15 ConfindustriaNet[22500] INFO
it.chieti.confindustria.components.CFMailSender - Currently at stage:
791
Mar 10 13:04:15 ConfindustriaNet[22500] INFO
it.chieti.confindustria.components.CFMailSender - Currently at stage:
792
Mar 10 13:04:15 ConfindustriaNet[22500] INFO
it.chieti.confindustria.components.CFMailSender - Currently at stage:
793
Mar 10 13:04:15 ConfindustriaNet[22500] INFO
it.chieti.confindustria.components.CFMailSender - Currently at stage:
794
Mar 10 13:04:15 ConfindustriaNet[22500] INFO
it.chieti.confindustria.components.CFMailSender - Currently at stage:
795
Mar 10 13:04:15 ConfindustriaNet[22500] INFO
it.chieti.confindustria.components.CFMailSender - Currently at stage:
796
Mar 10 13:04:15 ConfindustriaNet[22500] INFO
it.chieti.confindustria.components.CFMailSender - Currently at stage:
797
Session Invoked
Session Invoked. ID = xcEoVOBstmZgeTFRxpxPYg
Browser = Safari
Remote IP Address = 192.168.1.20
Checking authentication
Mar 10 13:04:16 ConfindustriaNet[22500] INFO
it.chieti.confindustria.components.CFMailSender - Currently at stage:
798
Mar 10 13:04:16 ConfindustriaNet[22500] WARN
er.extensions.foundation.ERXThreadStorage - The object for key
'ERXWOContext.dict' was inherited from the parent thread. The usage of
inherited objects for this key can cause problems.
Exception: DEBUG
at
er
.extensions
.foundation.ERXThreadStorage.valueForKey(ERXThreadStorage.java:161)
at
er
.extensions
.appserver.ERXWOContext._contextDictionary(ERXWOContext.java:108)
at
er
.extensions.appserver.ERXWOContext.contextDictionary(ERXWOContext.java:
91)
at
er
.extensions
.appserver
.ajax.ERXAjaxApplication.shouldNotStorePage(ERXAjaxApplication.java:98)
at
er
.extensions
.appserver
.ajax.ERXAjaxApplication.shouldNotStorePage(ERXAjaxApplication.java:126)
at
er
.extensions.appserver.ajax.ERXAjaxSession.savePage(ERXAjaxSession.java:
168)
at
com.webobjects.appserver.WOSession._saveCurrentPage(WOSession.java:920)
at
er
.extensions
.appserver.ajax.ERXAjaxSession._saveCurrentPage(ERXAjaxSession.java:335)
... skipped 3 stack elements
at
er
.javamail
.ERMailDeliveryComponentBased
._componentContentString(ERMailDeliveryComponentBased.java:89)
at
er
.javamail
.ERMailDeliveryComponentBased
.componentContentString(ERMailDeliveryComponentBased.java:71)
at
er.javamail.ERMailDeliveryHTML.htmlContent(ERMailDeliveryHTML.java:91)
at
er.javamail.ERMailDeliveryHTML.prepareMail(ERMailDeliveryHTML.java:132)
at
er
.javamail.ERMailDelivery.finishMessagePreparation(ERMailDelivery.java:
406)
at er.javamail.ERMailDelivery.sendMail(ERMailDelivery.java:365)
at er.javamail.ERMailDelivery.sendMail(ERMailDelivery.java:335)
at it.chieti.confindustria.components.CFMailSender
$Task.run(CFMailSender.java:85)
Mar 10 13:04:16 ConfindustriaNet[22500] WARN
er.extensions.foundation.ERXThreadStorage - The object for key
'ERXWOContext.dict' was inherited from the parent thread. The usage of
inherited objects for this key can cause problems.
Exception: DEBUG
at
er
.extensions
.foundation.ERXThreadStorage.valueForKey(ERXThreadStorage.java:161)
at
er
.extensions
.appserver.ERXWOContext._contextDictionary(ERXWOContext.java:108)
at
er
.extensions.appserver.ERXWOContext.contextDictionary(ERXWOContext.java:
91)
at
er
.extensions
.appserver
.ajax.ERXAjaxApplication.shouldNotStorePage(ERXAjaxApplication.java:98)
at
er
.extensions
.appserver
.ajax.ERXAjaxApplication.shouldNotStorePage(ERXAjaxApplication.java:126)
at
er
.extensions.appserver.ajax.ERXAjaxSession.savePage(ERXAjaxSession.java:
168)
at
com.webobjects.appserver.WOSession._saveCurrentPage(WOSession.java:920)
at
er
.extensions
.appserver.ajax.ERXAjaxSession._saveCurrentPage(ERXAjaxSession.java:335)
... skipped 3 stack elements
at
er
.javamail
.ERMailDeliveryComponentBased
._componentContentString(ERMailDeliveryComponentBased.java:89)
at
er
.javamail
.ERMailDeliveryComponentBased
.componentContentString(ERMailDeliveryComponentBased.java:71)
at
er.javamail.ERMailDeliveryHTML.htmlContent(ERMailDeliveryHTML.java:91)
at
er.javamail.ERMailDeliveryHTML.prepareMail(ERMailDeliveryHTML.java:132)
at
er
.javamail.ERMailDelivery.finishMessagePreparation(ERMailDelivery.java:
406)
at er.javamail.ERMailDelivery.sendMail(ERMailDelivery.java:365)
at er.javamail.ERMailDelivery.sendMail(ERMailDelivery.java:335)
at it.chieti.confindustria.components.CFMailSender
$Task.run(CFMailSender.java:85)
Mar 10 13:04:16 ConfindustriaNet[22500] DEBUG NSLog -
it.chieti.confindustria.Session.context() evaluates to null. You may
be trying to get the context object from an archived session object.
there is no context object outside of the request-response loop.
java.lang.NullPointerException
at com.webobjects.appserver.WOSession.savePage(WOSession.java:969)
at
er
.extensions.appserver.ajax.ERXAjaxSession.savePage(ERXAjaxSession.java:
209)
at com.webobjects.appserver.WOSession._saveCurrentPage(WOSession.java:
920)
at
er
.extensions
.appserver.ajax.ERXAjaxSession._saveCurrentPage(ERXAjaxSession.java:335)
at
com
.webobjects
.appserver.WOComponent._appendPageToResponse(WOComponent.java:1586)
at
com
.webobjects
.appserver.WOComponent._generateResponseInContext(WOComponent.java:1543)
at
com.webobjects.appserver.WOComponent.generateResponse(WOComponent.java:
1538)
at
er
.javamail
.ERMailDeliveryComponentBased
._componentContentString(ERMailDeliveryComponentBased.java:89)
at
er
.javamail
.ERMailDeliveryComponentBased
.componentContentString(ERMailDeliveryComponentBased.java:71)
at er.javamail.ERMailDeliveryHTML.htmlContent(ERMailDeliveryHTML.java:
91)
at er.javamail.ERMailDeliveryHTML.prepareMail(ERMailDeliveryHTML.java:
132)
at
er
.javamail.ERMailDelivery.finishMessagePreparation(ERMailDelivery.java:
406)
at er.javamail.ERMailDelivery.sendMail(ERMailDelivery.java:365)
at er.javamail.ERMailDelivery.sendMail(ERMailDelivery.java:335)
at it.chieti.confindustria.components.CFMailSender
$Task.run(CFMailSender.java:85)
Session Invoked
Session Invoked. ID = xcEoVOBstmZgeTFRxpxPYg
Browser = Safari
Remote IP Address = 192.168.1.20
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]