zoukankan      html  css  js  c++  java
  • 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>

  • 相关阅读:
    dapper+linq+json+ztree构建树
    ubuntu,从一个新用户,要转到新用户的命令行操作
    OC本学习笔记Foundatio框架集
    无法Debug SQL: Unable to start T-SQL Debugging. Could not attach to SQL Server process on
    Struts2 + uploadify 多文件上传完整的例子!
    How use Instruments and display the console in Command Lines applications
    Android ActionBar详解(二):ActionBar实现Tabs标签以及下拉导航
    Android ActionBar详解(一):ActionBar概述及其创建
    Android Fragment详解(六):Fragement示例
    Android Fragment详解(五):Fragment与Activity通讯
  • 原文地址:https://www.cnblogs.com/sharpest/p/6017866.html
Copyright © 2011-2022 走看看