This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes very unusual null pointer error in struts, need help Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "very unusual null pointer error in struts, need help" Watch "very unusual null pointer error in struts, need help" New topic
Author

very unusual null pointer error in struts, need help

Cali Mako
Greenhorn

Joined: Jan 16, 2003
Posts: 1
Hello,
I am fairly new to the struts framework. The problem I am running into is that on one of my pages, when I submit a form to an action, the server changes my url from localhost to 127.0.0.1, and it seems like i am losing my session information because i get a null pointer error on the resulting page. if I use the 127.0.0.1 url, the application works fine, anything else, the server changes the url back to 127.0.0.1 and I get a null pointer error. Anyone run into this problem or have any ideas why this is doing this?
Here are some qwarks with this situation. The actions that I invoke that are simple redirects and fowards via a link, maintain the url. It's only when I submit an action form to interact with the db, that I run into the server changing my url.
in our unix environment, everything works just dandy, these problems only happen in our Windows environment.
my current set up is as follows
Jrun 3.1 server
JBuilder 7.0
Windows 2000
and Struts 1.1
thanks for the help
cm
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: very unusual null pointer error in struts, need help
 
Similar Threads
Funny error
call Action from javascript
Struts form is null
request becomes null in unix
Action[/emaillayout] does not contain specified method (check logs)