• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Error

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I'm trying to send parameters to SAP(RFC) using JCo. While running the JSP page i'm getting the following error.



Please help me....
Thanks
 
Sheriff
Posts: 28409
101
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What can I say? Your code has a NullPointerException somewhere. It's in a method named saveGLData. It's at line 167, too, but that isn't going to help you unless you can find the Java code that Websphere converted your JSP to. That's pretty much it. Good luck. Hopefully the method isn't too long.

This is one reason why you shouldn't put that sort of logic into a JSP. If you can't find the problem, I would suggest refactoring the JSP. Extract all that SAP update logic into a servlet, where you have a much better chance of locating the problem. Have it forward or redirect to a JSP whose job is limited to displaying HTML to the client.
reply
    Bookmark Topic Watch Topic
  • New Topic