[richfaces-issues] [JBoss JIRA] Resolved: (RF-7698) java.lang.IllegalStateException when using rich:editor under Resin 4.0.1

Alex Kolonitsky (JIRA) jira-events at lists.jboss.org
Wed Aug 19 15:09:26 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-7698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Kolonitsky resolved RF-7698.
---------------------------------

    Resolution: Won't Fix


It is Resin's bug.
http://bugs.caucho.com/bug_view_advanced_page.php?bug_id=3619

> java.lang.IllegalStateException when using rich:editor under Resin 4.0.1
> ------------------------------------------------------------------------
>
>                 Key: RF-7698
>                 URL: https://jira.jboss.org/jira/browse/RF-7698
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-input
>    Affects Versions: 3.3.2.CR1
>         Environment: Resin 4.0.1(http://www.caucho.com/download/); all supported browsers; Vista SP2
>            Reporter: Mikhail Vitenkov
>            Assignee: Alex Kolonitsky
>            Priority: Critical
>             Fix For: 3.3.2.GA
>
>         Attachments: RF_7698.png
>
>
> #1. Build richfaces-demo.
> #2. Before deploying move jsf-api & jsf-impl-1.2_12 jars from project web-inf/lib to resin 'lib' folder. Copy tools.jar from JAVA_HOME/lib directory to resin 'lib' folder.
> #3. Copy builded richfaces-demo into server 'webapps' folder and run server.
> #4. Navigate to http://localhost:8080/richfaces-demo
> #5. Go to rich:editor page in Rich Input section.
> #6. Select Advanced "Select Editor Theme" option.
> Actual results:
> Editor have broken layout. Exception below take place:
> [09-08-13 17:11:52.549] {http--8080-9} WebApp[http://default/richfaces-demo] jav
> a.lang.IllegalStateException: http://localhost:8080/richfaces-demo/a4j/g/3_3_2-S
> NAPSHOTscripts/tiny_mce/themes/advanced/skins/richfaces/ui.xcss/DATB/eAFb-IhhU-j
> yGdIAE0wD5Q__.jsf: tried to write 19002 bytes with content-length 18739 (At 'a',
>  char=97).  Check that the Content-Length header correctly matches the expected
> bytes, and ensure that any filter which modifies the content also suppresses the
>  content-length (to use chunked encoding).
> [09-08-13 17:11:52.549] {http--8080-9} java.lang.IllegalStateException: http://l
> ocalhost:8080/richfaces-demo/a4j/g/3_3_2-SNAPSHOTscripts/tiny_mce/themes/advance
> d/skins/richfaces/ui.xcss/DATB/eAFb-IhhU-jyGdIAE0wD5Q__.jsf: tried to write 1900
> 2 bytes with content-length 18739 (At 'a', char=97).  Check that the Content-Len
> gth header correctly matches the expected bytes, and ensure that any filter whic
> h modifies the content also suppresses the content-length (to use chunked encodi
> ng).
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.server.connection.Response
> Stream.lengthException(ResponseStream.java:661)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.server.connection.Response
> Stream.setBufferOffset(ResponseStream.java:464)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.vfs.i18n.ISO8859_1Writer.w
> rite(ISO8859_1Writer.java:134)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.server.connection.ToByteRe
> sponseStream.flushCharBuffer(ToByteResponseStream.java:488)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.server.connection.ToByteRe
> sponseStream.flushBuffer(ToByteResponseStream.java:441)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.server.connection.Response
> Stream.flush(ResponseStream.java:691)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.server.connection.Response
> Stream.flushChar(ResponseStream.java:739)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.server.connection.Response
> Writer.flush(ResponseWriter.java:174)
> [09-08-13 17:11:52.549] {http--8080-9}  at org.ajax4jsf.webapp.CacheContent.flus
> h(CacheContent.java:319)
> [09-08-13 17:11:52.549] {http--8080-9}  at org.ajax4jsf.resource.InternetResourc
> eService.serviceResource(InternetResourceService.java:217)
> [09-08-13 17:11:52.549] {http--8080-9}  at org.ajax4jsf.resource.InternetResourc
> eService.serviceResource(InternetResourceService.java:141)
> [09-08-13 17:11:52.549] {http--8080-9}  at org.ajax4jsf.webapp.BaseFilter.doFilt
> er(BaseFilter.java:508)
> [09-08-13 17:11:52.549] {http--8080-9}  at org.jboss.seam.web.Ajax4jsfFilter.doF
> ilter(Ajax4jsfFilter.java:56)
> [09-08-13 17:11:52.549] {http--8080-9}  at org.jboss.seam.servlet.SeamFilter$Fil
> terChainImpl.doFilter(SeamFilter.java:69)
> [09-08-13 17:11:52.549] {http--8080-9}  at org.jboss.seam.servlet.SeamFilter.doF
> ilter(SeamFilter.java:158)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.server.dispatch.FilterFilt
> erChain.doFilter(FilterFilterChain.java:87)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.server.webapp.WebAppFilter
> Chain.doFilter(WebAppFilterChain.java:184)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.server.dispatch.ServletInv
> ocation.service(ServletInvocation.java:264)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.server.http.HttpRequest.ha
> ndleRequest(HttpRequest.java:280)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.server.port.TcpConnection.
> handleRequests(TcpConnection.java:579)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.server.port.TcpConnection$
> AcceptTask.doAccept(TcpConnection.java:1357)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.server.port.TcpConnection$
> AcceptTask.run(TcpConnection.java:1298)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.util.ThreadPool$PoolThread
> .runTasks(ThreadPool.java:874)
> [09-08-13 17:11:52.549] {http--8080-9}  at com.caucho.util.ThreadPool$PoolThread
> .run(ThreadPool.java:787)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list