1 Reply Latest reply on Nov 3, 2003 4:03 AM by julien1

    Non-ascii text failes!

    ofd

      Hi!

      I don't know if this applies to Nuke in general but it sure does for this site:

      I can't post stuff with the swedish 'OE' (ring with two dots above) in text...

      It seems to happend when the text is to be inserted into DB, preveiwing it workes nice...

      I don't know which char map is used but the swedish chars is included in Latin-1 which is the most common...

      Very strange and annoying!

      Here is the error:

      java.lang.NullPointerException at com.jivesoftware.forum.ForumMessageProxy.getModerationValue(ForumMessageProxy.java:155) at com.jivesoftware.forum.database.DbForum.addThread(DbForum.java:383) at com.jivesoftware.forum.ForumProxy.addThread(ForumProxy.java:252) at org.apache.jsp.post_jsp.postMessage(post_jsp.java:139) at org.apache.jsp.post_jsp._jspService(post_jsp.java:847) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342) at org.jboss.website.jsp.JspFilter$3.call(JspFilter.java:132) at org.jboss.nukes.servlet.SessionManager.acquire(SessionManager.java:66) at org.jboss.website.jsp.JspFilter.doFilter(JspFilter.java:128) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334) at org.jboss.website.HackFilter.doFilter(HackFilter.java:111) at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558) at org.mortbay.http.HttpContext.handle(HttpContext.java:1714) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:505) at org.mortbay.http.HttpContext.handle(HttpContext.java:1664) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.jboss.jetty.Jetty.service(Jetty.java:460) at org.mortbay.http.HttpConnection.service(HttpConnection.java:770) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:932) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:787) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:454)


      /OEsten