• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Help me cleaing with this Exception

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"/home/suresh/JdevPrograms/EmpTaglibWs/EmpTaglibPrj/public_html/showage.jsp
Error: java.lang.NullPointerException"
I have one Controller class, One EJB (Stateless), Two Customer tag handler classes and one one jsp.
I am able to compile all the classes. But when i come to jsp and try to compile, iam getting the above error.
Iam using Oracle JDeveloper 9i IDE.
Please help me out.
very urgent
thanks in advance
 
Ranch Hand
Posts: 476
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Usually, when you see java.lang.NullPointerException it means that some of your variable that are used are not initialized so you can't perform operations with them.
For example:

Of course this is very basic example, you've got to go thru your code and see exectly what's missing.
Good Luck!
 
Let nothing stop you! Not even this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic