Re: odd return error

2005-11-29 Thread Borislav Sabev
Chris Pat wrote: Hi Dave Okay the code is below. What I am doing is creating sampleRequest from the action, then calling isAllowed. The sampleRequest is being successfully made and persisted in the db. The isAlowed is failing. I got both working from fine from the command line. I am a relati

RE: odd return error

2005-11-28 Thread Garner, Shawn
] Sent: Wednesday, November 23, 2005 10:49 AM To: Struts Users Mailing List Subject: odd return error Hello In my Action I am creating an object and storing it in a db. It works fine. The next line I then call a method on the object, does some lookups printoutsa proof that it is working and then

Re: odd return error

2005-11-23 Thread Chris Pat
Hi Dave The problem is happening when I return from isAllowed. This is just a helper class that the action is calling. I just ass-umed that it would return to the action called it on the stack. But now that you flag it I barely see that there might be some trouble with multiple instances and a p

Re: odd return error

2005-11-23 Thread Dave Newton
Chris Pat wrote: Okay the code is below. What I am doing is creating sampleRequest from the action, then calling isAllowed. The sampleRequest is being successfully made and persisted in the db. The isAlowed is failing. I got both working from fine from the command line. I am a relative strut

Re: odd return error

2005-11-23 Thread Chris Pat
Hi Dave Okay the code is below. What I am doing is creating sampleRequest from the action, then calling isAllowed. The sampleRequest is being successfully made and persisted in the db. The isAlowed is failing. I got both working from fine from the command line. I am a relative struts newbie an

Re: odd return error

2005-11-23 Thread Dave Newton
Chris Pat wrote: Can anyone provide any insight? Not too much without information (code, configs, ...) Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: odd return error

2005-11-23 Thread James Mitchell
t; <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, November 23, 2005 11:48 AM Subject: odd return error Hello In my Action I am creating an object and storing it in a db. It works fine. The next line I then call a method on the object, does some lookups printouts

odd return error

2005-11-23 Thread Chris Pat
Hello In my Action I am creating an object and storing it in a db. It works fine. The next line I then call a method on the object, does some lookups printoutsa proof that it is working and then on the return gets this message: java.lang.NullPointerException org.apache.struts.action.RequestProce