07-27-2010 03:41 AM
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 /includes/body.jsp at line 4
1: <body>
2:
3: <h1>
4: <customer:property nodeRef="<%=mainTextNodeRef%>" property="cm:title" />
5: <awe:markContent id="<%=mainTextNodeRef%>" title="Edit Press Release" />
6: </h1>
7:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
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)
org.alfresco.web.awe.filter.WebEditorFilter.doFilter(WebEditorFilter.java:70)
root cause
javax.servlet.ServletException: javax.servlet.jsp.JspException: org.json.JSONException: A JSONObject text must begin with '{' at character 1
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
org.apache.jsp.index_jsp._jspService(index_jsp.java:266)
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)
org.alfresco.web.awe.filter.WebEditorFilter.doFilter(WebEditorFilter.java:70)
root cause
javax.servlet.jsp.JspException: org.json.JSONException: A JSONObject text must begin with '{' at character 1
org.customer.PropertyTag.doStartTag(PropertyTag.java:114)
org.apache.jsp.index_jsp._jspService(index_jsp.java:118)
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)
org.alfresco.web.awe.filter.WebEditorFilter.doFilter(WebEditorFilter.java:70)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.
Apache Tomcat/6.0.18
07-31-2010 05:40 PM
Open up \customer\includes\noderefs.jsp file. You will see the two node references for sample content items:
<%
String mainTextNodeRef = "workspace://SpacesStore/301a540e-7101-489c-a8a7-859102a99ea5";
String subTextNodeRef = "workspace://SpacesStore/e94797ce-c6e9-47eb-b28c-c6a4eb3ce666";
%>
The two node refs are used throughout the example pages. Create two example html files on your local disk, add some textual content, and upload these to a location within the repository. Browse to these files using the node browser, and add the appropriate node references to the noderefs.jsp file. Save the file and then browse to http://localhost:8080/customer/, and you should see the page rendered and the WEF toolbar. You should be able to go ahead and edit any of the content items.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.