[
https://jira.jboss.org/jira/browse/RF-3529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12469827#action_12469827
]
Adam Michalik commented on RF-3529:
-----------------------------------
We came across this bug in production (not live demo).
The bug is reproducible always for certain images, using 3.3.0 and 3.3.1.
Behaviour:
- under Firefox everything works fine. The image is displayed on the web page.
When we go into the page source code and go to the img src URL, the image
appears
- under IE 7, the image is not displayed (an empty box with the red X appears
as in the attachment). When we go to the img src URL, the following stack trace
appears (RF 3.3.0.GA):
java.lang.NullPointerException
org.richfaces.renderkit.html.Paint2DResource.isCacheable(Paint2DResource.java:81)
org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:164)
org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:510)
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
Which in Paint2DResource points to:
public boolean isCacheable(ResourceContext resourceContext) {
ImageData data = (ImageData) restoreData(resourceContext);
return data.cacheable; // Line 81 - data is null
}
> paint2D: component is broken under IE.
> --------------------------------------
>
> Key: RF-3529
> URL: https://jira.jboss.org/jira/browse/RF-3529
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.1
> Environment: IE(3.2.1.CR6)
> Reporter: Mikhail Vitenkov
> Assignee: Mikhail Vitenkov
> Priority: Critical
> Attachments: Paint2DBrokenIE.png
>
>
> See attached screenshot.
--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues