[jboss-user] [EJB/JBoss] - Re: Using Properties in Stateless bean causes NuzllpointerEx
jaikiran
do-not-reply at jboss.com
Mon Nov 20 07:47:45 EST 2006
anonymous wrote : Caused by: java.lang.NullPointerException
| at java.util.Hashtable.put(Unknown Source)
The only scenario where Hashtable.put is going to throw a NullpointerException is when the value passed is null.
props.setProperty("mail.smtp.host", smtpServer);
I guess smtpServer is being passed as null.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987276#3987276
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987276
More information about the jboss-user
mailing list