Jasperexception attempted a bean operation on a null object
The bean part of the code is as follows. You have already shown us that code, which does not appear to be where your problem is occurring. You need to find the line number from the stack trace. And do you really want to record a password as a field of a bean? I was trying to learn how this bean concept works in jsp I just put some random fields. I have got it fixed I was not initialising my refernce bean in my display jsp.
That was creating the error as you suggested.. Thanks for your help Campbell Ritchie.. Consider Paul's rocket mass heater. Boost this thread! Problems with bean example. Struts2 newbee - Problem when using form tag. Array Index Out Of Bounds. Asked 9 years, 10 months ago. Active 6 years, 10 months ago.
Viewed 2k times. Suhail Gupta. Suhail Gupta Suhail Gupta Add a comment. Active Oldest Votes. Oleg Mikheev Oleg Mikheev Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back
0コメント