FCKEditor报java.lang.NullPointerException

1。需要在 加value=“ ”

<FCK:editor instanceName="replycontent" basePath="/fckeditor" value=“ ”
               toolbarSet="Basic" height="100" width="100%"></FCK:editor>

 

 

2.

HTTP Status 500 - java.lang.NullPointerException


type Exception report

message java.lang.NullPointerException

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

exception

org.apache.jasper.JasperException: java.lang.NullPointerException
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:585)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)

root cause

java.lang.NullPointerException
	net.fckeditor.FCKeditor.createHtml(FCKeditor.java:238)
	net.fckeditor.FCKeditor.toString(FCKeditor.java:223)
	java.lang.String.valueOf(String.java:2847)
	org.apache.jasper.runtime.JspWriterImpl.print(JspWriterImpl.java:487)
	org.apache.jasper.runtime.JspWriterImpl.println(JspWriterImpl.java:602)
	net.fckeditor.tags.EditorTag.doEndTag(EditorTag.java:138)
	org.apache.jsp.showMsg_jsp._jspx_meth_FCK_005feditor_005f0(showMsg_jsp.java:375)
	org.apache.jsp.showMsg_jsp._jspService(showMsg_jsp.java:158)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)

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


Apache Tomcat/7.0.39

 

 

<FCK:editor instanceName="replycontent" basePath="/fckeditor"
               toolbarSet="Basic" height="100" width="100%"></FCK:editor>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值