Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.InstantiationException("bean newTeam not found within scope")

843838Apr 19 2007 — edited Apr 20 2007
What causes this error? I have looked in the java code generated by my jsp page and found this

com.football.Team newTeam = null;
synchronized (request) {
newTeam = (com.football.Team) jspxpage_context.getAttribute("newTeam", PageContext.REQUEST_SCOPE);
if (newTeam == null){
throw new java.lang.InstantiationException("bean newTeam not found within scope");


The value of my bean is null,how do i solve this?
Any ideas? I am new to JSP
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 18 2007
Added on Apr 19 2007
4 comments
482 views