Results 1 to 2 of 2
  1. #1
    sameerk is offline Member
    Join Date
    Aug 2010
    Rep Power

    Cool Error while logging in first time in struts 2

    i m using struts2.
    i m creating war file of my application n i m reading property file into action class.
    after deploying that war into tomcat webapps folder when i m trying to logged in for the first time it will give me exception -> "Null Pointer Exception" but when i m logging for second time it will logged in successfully.
    why it will give exception for the first time? Is there any problem in .property file or something else..

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power


    Without the full stack trace of that error and the code around which that error occurs it's impossible to tell...

Similar Threads

  1. Help. Java run time error
    By slimce in forum New To Java
    Replies: 7
    Last Post: 05-15-2010, 04:15 PM
  2. Replies: 2
    Last Post: 03-09-2010, 08:18 AM
  3. Error logging
    By blueflash2o in forum NetBeans
    Replies: 0
    Last Post: 01-12-2010, 10:39 PM
  4. Struts Error Please help me out
    By NareshP in forum Web Frameworks
    Replies: 1
    Last Post: 11-11-2008, 10:16 AM
  5. struts error
    By sandor in forum Web Frameworks
    Replies: 3
    Last Post: 04-24-2007, 07:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts