NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

org.apache.jasper.JasperException: An exception occurred processing JSP page

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
benmie



Joined: 04 Jun 2009
Posts: 1
Location: Denmark

PostPosted: Thu Jun 04, 2009 8:16 am    Post subject: org.apache.jasper.JasperException: An exception occurred processing JSP page Reply with quote

Hi, I am new to Java and Tomcat - and I am not sure if this is the right forum - but I will try.
I am running Tomcat 6.0.20 and Java jdk1.6.0_13 on a Windows 2003 R2/SP2 server.

I managed to get it to work, I can log onto our system, but if I want to upload a file I get the error mentioned in the subject.

Here is the complete error: (Let me know if you need anything else)
HTTP Status 500 -

type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /common/mediaLibrary/edit/Cont.jsp at line 235

232: mediaLibEdit.toDB(currentUser);
233: }
234: if (allowWorkflow) {
235: workflowStatusChangeEdit.toDB(currentUser);
236: }
237:
238: if (reloadParent) {


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
oursystem.util.servlet.SiteAndModuleAuthFilter.doFilter(SiteAndModuleAuthFilter.java:110)
oursystem.util.servlet.EbmsAuthFilter.filter(EbmsAuthFilter.java:124)
oursystem.util.servlet.EbmsAuthFilter.doFilter(EbmsAuthFilter.java:93)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
root cause
oursystem.app.common.exceptions.BaseRuntimeException: java.sql.SQLException: Field 'EmailRecipients' doesn't have a default value
oursystem.app.common.general.AbstractCommon.createEntryDB(AbstractCommon.java:217)
oursystem.app.common.workflow.WorkflowStatusChange.createOrUpdateDbRecord(WorkflowStatusChange.java:477)
oursystem.app.common.workflow.WorkflowStatusChange.toDB(WorkflowStatusChange.java:464)
org.apache.jsp.common.mediaLibrary.edit.Cont_jsp._jspService(Cont_jsp.java:437)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
oursystem.util.servlet.SiteAndModuleAuthFilter.doFilter(SiteAndModuleAuthFilter.java:110)
oursystem.util.servlet.EbmsAuthFilter.filter(EbmsAuthFilter.java:124)
oursystem.util.servlet.EbmsAuthFilter.doFilter(EbmsAuthFilter.java:93)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
root cause
java.sql.SQLException: Field 'EmailRecipients' doesn't have a default value
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
com.mysql.jdbc.Connection.execSQL(Connection.java:3243)
com.mysql.jdbc.Statement.executeUpdate(Statement.java:1343)
com.mysql.jdbc.Statement.executeUpdate(Statement.java:1260)
oursystem.sql.ConnObj.ExecuteUpdate(ConnObj.java:537)
oursystem.app.common.general.AbstractCommon.createEntryDB(AbstractCommon.java:210)
oursystem.app.common.workflow.WorkflowStatusChange.createOrUpdateDbRecord(WorkflowStatusChange.java:477)
oursystem.app.common.workflow.WorkflowStatusChange.toDB(WorkflowStatusChange.java:464)
org.apache.jsp.common.mediaLibrary.edit.Cont_jsp._jspService(Cont_jsp.java:437)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
oursystem.util.servlet.SiteAndModuleAuthFilter.doFilter(SiteAndModuleAuthFilter.java:110)
oursystem.util.servlet.EbmsAuthFilter.filter(EbmsAuthFilter.java:124)
oursystem.util.servlet.EbmsAuthFilter.doFilter(EbmsAuthFilter.java:93)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.
Back to top
Melongo Annabel
Posted via mailing list.





PostPosted: Fri Jun 05, 2009 2:42 am    Post subject: org.apache.jasper.JasperException: An exception occurred processing JSP page Reply with quote

Can you explain what line 235 is supposed to do?


From: benmie <address-removed>
To: address-removed
Sent: Thursday, June 4, 2009 3:16:35 AM
Subject: [nbj2ee] org.apache.jasper.JasperException: An exception occurred processing JSP page

Hi, I am new to Java and Tomcat - and I am not sure if this is the right forum - but I will try.

I am running Tomcat 6.0.20 and Java jdk1.6.0_13 on a Windows 2003 R2/SP2 server.



I managed to get it to work, I can log onto our system, but if I want to upload a file I get the error mentioned in the subject.



Here is the complete error: (Let me know if you need anything else)

HTTP Status 500 -



type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /common/mediaLibrary/edit/Cont.jsp at line 235



232: mediaLibEdit.toDB(currentUser);

233: }

234: if (allowWorkflow) {

235: workflowStatusChangeEdit.toDB(currentUser);

236: }

237:

238: if (reloadParent) {





Stacktrace:

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)

javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

oursystem.util.servlet.SiteAndModuleAuthFilter.doFilter(SiteAndModuleAuthFilter.java:110)

oursystem.util.servlet.EbmsAuthFilter.filter(EbmsAuthFilter.java:124)

oursystem.util.servlet.EbmsAuthFilter.doFilter(EbmsAuthFilter.java:93)

org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)

org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)

root cause

oursystem.app.common.exceptions.BaseRuntimeException: java.sql.SQLException: Field 'EmailRecipients' doesn't have a default value

oursystem.app.common.general.AbstractCommon.createEntryDB(AbstractCommon.java:217)

oursystem.app.common.workflow.WorkflowStatusChange.createOrUpdateDbRecord(WorkflowStatusChange.java:477)

oursystem.app.common.workflow.WorkflowStatusChange.toDB(WorkflowStatusChange.java:464)

org.apache.jsp.common.mediaLibrary.edit.Cont_jsp._jspService(Cont_jsp.java:437)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)

javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

oursystem.util.servlet.SiteAndModuleAuthFilter.doFilter(SiteAndModuleAuthFilter.java:110)

oursystem.util.servlet.EbmsAuthFilter.filter(EbmsAuthFilter.java:124)

oursystem.util.servlet.EbmsAuthFilter.doFilter(EbmsAuthFilter.java:93)

org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)

org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)

root cause

java.sql.SQLException: Field 'EmailRecipients' doesn't have a default value

com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)

com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)

com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)

com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)

com.mysql.jdbc.Connection.execSQL(Connection.java:3243)

com.mysql.jdbc.Statement.executeUpdate(Statement.java:1343)

com.mysql.jdbc.Statement.executeUpdate(Statement.java:1260)

oursystem.sql.ConnObj.ExecuteUpdate(ConnObj.java:537)

oursystem.app.common.general.AbstractCommon.createEntryDB(AbstractCommon.java:210)

oursystem.app.common.workflow.WorkflowStatusChange.createOrUpdateDbRecord(WorkflowStatusChange.java:477)

oursystem.app.common.workflow.WorkflowStatusChange.toDB(WorkflowStatusChange.java:464)

org.apache.jsp.common.mediaLibrary.edit.Cont_jsp._jspService(Cont_jsp.java:437)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)

javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

oursystem.util.servlet.SiteAndModuleAuthFilter.doFilter(SiteAndModuleAuthFilter.java:110)

oursystem.util.servlet.EbmsAuthFilter.filter(EbmsAuthFilter.java:124)

oursystem.util.servlet.EbmsAuthFilter.doFilter(EbmsAuthFilter.java:93)

org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)

org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.

------------------------
BR

/Bente
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo