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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jboss 6.0.0 final

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi All,

I am using Jboss6.0.0. final version, when i run my jsp i am getting below error.
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp]] Servlet.service() for servlet jsp threw exception: java.lang.NullPointerException

how we can handle these error.
 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
By finding out which object that the code is trying to access is null. There should be a lengthy stack trace in one of the log files that gives you further information on where to look. In all likelihood, this has nothing to do with JBoss, and everything to do with your code.
 
velgapudi suresh
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

This page is running on Jboss4.2.3 when i come to jboss6.0.0 final neo getting
javax.servlet.ServletException: org.apache.jasper.JasperException: Unable to compile class for JSP

is any parameter i have to change the format.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Like Tim said, you'll have to check what object is null. The entire exception stacktrace will have some clues. Probably some scriplet code in your jsp is running into a NullPointerException

P.S: Please use a meaningful and descriptive subject for your threads.
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I'm now going to close this thread too. You now have 3 threads talking of the same issue. Please continue the discussion in the other thread here https://coderanch.com/t/559050/JBoss/Jboss-Jsp-Struts. And please do not create multiple threads for the same issue.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic