The reason might be the value of the member variables, they might be "null"?
On Tue, Aug 25, 2009 at 9:22 AM, renoy titus <reno20...@gmail.com> wrote: > Please tell me which would be the best site to download jars,And how would > i configure these ** > > import java.security.spec.KeySpec; > * > > import > * sun.misc.*;* > > import > * javax.crypto.*;* import > * javax.crypto.spec.*; > correctly in the project ,when i use > > > *private* KeySpec m_key; > > *private* SecretKeyFactory m_factory; > > *private* Cipher m_code; > > > > I am getting a null pointer exception,what would be the reason > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---