• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Sending test Email Displays Null message box

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was having an issue sending a test email in from the admin console.

After searching here, I seen the error I was getting was corrected.
The previous error was Object not found or something like that.
It was corrected by obtaining the post_form.htm and admin/config_list.htm from CVS.

Now I get a new error:

It's just displays a typical javascript box saying "Null".

That's it. I can't find any errors in any logs. Any ideas?

Thanks,
Leonard
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This "null" was a NullPointerException that occured in the server, for some reason.

Try this: restart your servlet container, access the message posting form first, then go to the Admin Panel and check the feature.
It's just to ensure that all it's loaded.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, I dug into the config_list.htm and seen where it the function calls AjaxUtils.sendTestMail method. I put code into the htm file to verify that all the parameters were being passed. And they are correct.

I placed some more javascript around the email status function to see if this was where the NULL was being returned. It wasn't.

So somewhere between the call to the AjaxUtils and this email status function is my issue.

Any insight? I looked at the java code (really need some System.out.println in there).

Thanks in advance.

[originally posted on jforum.net by ljohns]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This bug is already fixed in the cvs version!

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you please advise which files need to be overwritten to get rid of that annoying 'null' alert box?

Thank you.
[originally posted on jforum.net by AnotherGuest]
 
rubbery bacon. crispy tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic