Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005956 [Resin] minor always 11-06-15 20:47 11-16-15 08:33
Reporter chenyang View Status public  
Assigned To ferg
Priority normal Resolution duplicate  
Status closed   Product Version 4.0.42
Summary 0005956: resin does not support emoji
Description When the length of AbstractPrintWriter.print(String s)'parameter is greater than double of Buffer.size,and the end of first buffer is emoji ,resin will throw a ArrayIndexOutOfBoundsException.

emoji encode by utf8mb4.

My environment is utf8.
Jdk : 1.7.0_67.
Additional Information 2015-11-06 15:46:56,680 [resin-port-8092-18475] ERROR net.paoding.rose.RoseFilter - GET ...
java.lang.ArrayIndexOutOfBoundsException
at java.lang.String.getChars(String.java:826)
at com.caucho.server.http.ResponseWriter.write(ResponseWriter.java:155)
at com.caucho.vfs.AbstractPrintWriter.print(AbstractPrintWriter.java:210)
...


The response is end of ...&128176;&128181;&128060;html>
<title>Server Error</title>
<body>
<h1>Server Error</h1>

The server is temporarily unavailable due to an
internal error. Please notify the system administrator
of this problem.


<code>
Date: 2015-11-06T07:39:18.164+00:00
</code>

<hr />
<small>
Resin/4.0.42
Server: 'HttpServer'
</small>
</body></html>&8203;




Attached Files

- Relationships

- Notes
(0006664)
ferg
11-16-15 08:33

This looks like an old bug that's already been fixed. Added additional testing. If the issue reappears, please see if it can be reproduced with a simple servlet.

server/054l
 

- Issue History
Date Modified Username Field Change
11-06-15 20:47 chenyang New Issue
11-16-15 08:33 ferg Note Added: 0006664
11-16-15 08:33 ferg Assigned To  => ferg
11-16-15 08:33 ferg Status new => closed
11-16-15 08:33 ferg Resolution open => duplicate
11-16-15 08:33 ferg Fixed in Version  => 4.0.43


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
30 unique queries executed.
Powered by Mantis Bugtracker