[JBoss JIRA] (RF-11103) org.richfaces.skin = plain causes java.lang.IllegalArgumentException: Width (2000) and height (0) cannot be <= 0
by Justin Rosenberg (JIRA)
[ https://issues.jboss.org/browse/RF-11103?page=com.atlassian.jira.plugin.s... ]
Justin Rosenberg commented on RF-11103:
---------------------------------------
I have experienced this issue in the 4.3 milestone builds (2 and 3) even when the org.richfaces.enableControlSkinning is set the false. Is there another workaround for this?
> org.richfaces.skin = plain causes java.lang.IllegalArgumentException: Width (2000) and height (0) cannot be <= 0
> ----------------------------------------------------------------------------------------------------------------
>
> Key: RF-11103
> URL: https://issues.jboss.org/browse/RF-11103
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: skinning
> Reporter: u j
> Priority: Minor
> Fix For: 5-Future
>
>
> I tried
> {code}
> <context-param>
> <param-name>org.richfaces.skin</param-name>
> <param-value>plain</param-value>
> </context-param>
> {code}
>
> and the skinning seems to be disabled, but I get
> {code}
> 14:44:21,584 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myapp].[Faces Servlet]] Servlet.service() para servlet Faces Servlet lanzó excepción: java.lang.IllegalArgumentException: Width (2000) and height (0) cannot be <= 0
> at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999) [:1.6.0_24]
> at java.awt.image.BufferedImage.<init>(BufferedImage.java:321) [:1.6.0_24]
> at org.richfaces.resource.ImageType.createARGBImage(ImageType.java:103) [:4.0.0-SNAPSHOT]
> at org.richfaces.resource.ImageType.access$200(ImageType.java:34) [:4.0.0-SNAPSHOT]
> at org.richfaces.resource.ImageType$2.createImage(ImageType.java:44) [:4.0.0-SNAPSHOT]
> at org.richfaces.resource.ImageType.createImage(ImageType.java:118) [:4.0.0-SNAPSHOT]
> at org.richfaces.resource.Java2DUserResourceWrapperImpl.paintAndWrite(Java2DUserResourceWrapperImpl.java:155) [:4.0.0-SNAPSHOT]
> at org.richfaces.resource.Java2DUserResourceWrapperImpl.getInputStream(Java2DUserResourceWrapperImpl.java:65) [:4.0.0-SNAPSHOT]
> at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178) [:4.0.0-SNAPSHOT]
> at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:171) [:4.0.0-SNAPSHOT]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:407) [:2.1.1-FCS]
> 14:45:38,493 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myapp].[Faces Servlet]] Servlet.service() para servlet Faces Servlet lanzó excepción: java.lang.IllegalArgumentException: Width (1) and height (0) cannot be <= 0
> at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999) [:1.6.0_24]
> at java.awt.image.BufferedImage.<init>(BufferedImage.java:321) [:1.6.0_24]
> at org.richfaces.resource.ImageType.createARGBImage(ImageType.java:103) [:4.0.0-SNAPSHOT]
> at org.richfaces.resource.ImageType.access$200(ImageType.java:34) [:4.0.0-SNAPSHOT]
> at org.richfaces.resource.ImageType$2.createImage(ImageType.java:44) [:4.0.0-SNAPSHOT]
> at org.richfaces.resource.ImageType.createImage(ImageType.java:118) [:4.0.0-SNAPSHOT]
> at org.richfaces.resource.Java2DUserResourceWrapperImpl.paintAndWrite(Java2DUserResourceWrapperImpl.java:155) [:4.0.0-SNAPSHOT]
> at org.richfaces.resource.Java2DUserResourceWrapperImpl.getInputStream(Java2DUserResourceWrapperImpl.java:65) [:4.0.0-SNAPSHOT]
> at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178) [:4.0.0-SNAPSHOT]
> at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:171) [:4.0.0-SNAPSHOT]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:407) [:2.1.1-FCS]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67) [:6.0.0.Final]
> {code}
> I found a note
> http://echelog.matzon.dk/logs/browse/richfaces/1306706400
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-11565) Showcase: multiple selections in rich:autocomplete doesn't work when "clicking" is used
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-11565?page=com.atlassian.jira.plugin.s... ]
Brian Leathem reassigned RF-11565:
----------------------------------
Assignee: (was: Brian Leathem)
> Showcase: multiple selections in rich:autocomplete doesn't work when "clicking" is used
> ---------------------------------------------------------------------------------------
>
> Key: RF-11565
> URL: https://issues.jboss.org/browse/RF-11565
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input, showcase
> Affects Versions: 4.1.0.Milestone3, 4.2.3.CR1, 4.3.0.M3
> Environment: iPhone 4 (Safari)
> Nexus (Android 2.3.6)
> Google Chrome 12.0.742.112
> Reporter: Jan Papousek
> Fix For: 4.3.0.CR1
>
> Original Estimate: 1 hour, 30 minutes
> Remaining Estimate: 1 hour, 30 minutes
>
> The second a third autocomplete input in Showcase demo http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=autoco... [1] doesn't work properly on the mentioned browsers/devices:
> # type "Al"
> # select "Alabama" -> input field is containing "Alabama"
> # type ", P"
> # select "Pennsylvania" with mouse/finger -> input field is containing "Pennsylvania, P" (it should contain "Alabama, Pennsylvania")
> The Safari developer's console on iPhone doesn't display any error.
> It works properly on:
> - Opera 11.50
> - Firefox 6.0
> [1] http://10.0.2.2:8080/showcase/#autocomplete:modes in movile showcase
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-11067) rich:autocomplete popups with suggestions does not reflect the value in input
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-11067?page=com.atlassian.jira.plugin.s... ]
Brian Leathem reassigned RF-11067:
----------------------------------
Assignee: (was: Brian Leathem)
> rich:autocomplete popups with suggestions does not reflect the value in input
> -----------------------------------------------------------------------------
>
> Key: RF-11067
> URL: https://issues.jboss.org/browse/RF-11067
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input, mobile, showcase
> Affects Versions: 4.1.0.Milestone1
> Environment: richfaces-showcase
> commit 4a534c358ff5903429609ff065fc27bae6fec2c0
> Reporter: Juraj Húska
> Fix For: 4.3.0.CR1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> In richfaces-showcase, demo for rich:autocomplete, sample Custom Popup Layouts, popup with suggestions does not reflect what is typed in the input, it always shows the first row of suggestion.
> For example when I type v, it should render popup with suggestion Vermont, but instead of it suggest Alabama.
> This is corrected when something is chosen, for example Alabama, then suggestions work properly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-11067) rich:autocomplete popups with suggestions does not reflect the value in input
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-11067?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-11067:
-------------------------------
Sprint: 4.3.0.CR1 - Bug fixes
> rich:autocomplete popups with suggestions does not reflect the value in input
> -----------------------------------------------------------------------------
>
> Key: RF-11067
> URL: https://issues.jboss.org/browse/RF-11067
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input, mobile, showcase
> Affects Versions: 4.1.0.Milestone1
> Environment: richfaces-showcase
> commit 4a534c358ff5903429609ff065fc27bae6fec2c0
> Reporter: Juraj Húska
> Assignee: Brian Leathem
> Fix For: 4.3.0.CR1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> In richfaces-showcase, demo for rich:autocomplete, sample Custom Popup Layouts, popup with suggestions does not reflect what is typed in the input, it always shows the first row of suggestion.
> For example when I type v, it should render popup with suggestion Vermont, but instead of it suggest Alabama.
> This is corrected when something is chosen, for example Alabama, then suggestions work properly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-12662) Showcase - rich:extendedDataTable - Built-in sorting and filtering - ELException when text filter value provided instead of expected numbers
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12662?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12662:
-------------------------------
Sprint: 4.3.0.CR1 - Bug fixes
> Showcase - rich:extendedDataTable - Built-in sorting and filtering - ELException when text filter value provided instead of expected numbers
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-12662
> URL: https://issues.jboss.org/browse/RF-12662
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables, showcase
> Affects Versions: 4.3.0.M3
> Environment: showcase M3 release
> Reporter: Juraj Húska
> Assignee: Brian Leathem
> Priority: Minor
> Fix For: 4.3.0.CR1
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> When providing characters as filter value for column Price instead of numbers , an ELException is thrown on the the server console:
> {code}
> 14:59:21,603 SEVERE [org.richfaces.log.Context] (http--0.0.0.0-8080-4) javax.el.ELException: /richfaces/extendedDataTable/samples/edt-builtin-sorting-and-filtering-sample.xhtml @38,75 filterValue="#{carsFilteringBean.mileageFilter}": Cannot convert gg of type class java.lang.String to class java.lang.Long: javax.faces.FacesException: javax.el.ELException: /richfaces/extendedDataTable/samples/edt-builtin-sorting-and-filtering-sample.xhtml @38,75 filterValue="#{carsFilteringBean.mileageFilter}": Cannot convert gg of type class java.lang.String to class java.lang.Long
> at org.richfaces.renderkit.SortingFilteringRowsRenderer.updateAttribute(SortingFilteringRowsRenderer.java:144) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.renderkit.SortingFilteringRowsRenderer.decodeFiltering(SortingFilteringRowsRenderer.java:84) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.renderkit.SortingFilteringRowsRenderer.decodeSortingFiltering(SortingFilteringRowsRenderer.java:62) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.renderkit.ExtendedDataTableRenderer.doDecode(ExtendedDataTableRenderer.java:945) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.renderkit.RendererBase.decode(RendererBase.java:80) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:787) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at org.richfaces.component.UIDataAdaptor.processDecodes(UIDataAdaptor.java:820) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.context.PartialViewExecuteVisitCallback.visit(PartialViewExecuteVisitCallback.java:53) [richfaces-core-impl-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.context.BaseExtendedVisitContext.invokeVisitCallback(BaseExtendedVisitContext.java:321) [richfaces-core-impl-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1320) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at javax.faces.component.UIForm.visitTree(UIForm.java:371) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at org.richfaces.context.ExtendedPartialViewContextImpl.executeComponents(ExtendedPartialViewContextImpl.java:237) [richfaces-core-impl-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.context.ExtendedPartialViewContextImpl.processPartialExecutePhase(ExtendedPartialViewContextImpl.java:217) [richfaces-core-impl-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.context.ExtendedPartialViewContextImpl.processPartial(ExtendedPartialViewContextImpl.java:196) [richfaces-core-impl-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:931) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78) [jsf-impl-2.1.7-jbossorg-2.jar:]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.7-jbossorg-2.jar:]
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-2.1.7-jbossorg-2.jar:]
> at org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.execute(PersistenceLifecycle.java:58) [classes:]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
> at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172) [rewrite-servlet-1.0.4.Final.jar:1.0.4.Final]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_05]
> Caused by: javax.el.ELException: /richfaces/extendedDataTable/samples/edt-builtin-sorting-and-filtering-sample.xhtml @38,75 filterValue="#{carsFilteringBean.mileageFilter}": Cannot convert gg of type class java.lang.String to class java.lang.Long
> at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:139) [jsf-impl-2.1.7-jbossorg-2.jar:]
> at org.richfaces.renderkit.SortingFilteringRowsRenderer.updateAttribute(SortingFilteringRowsRenderer.java:142) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> ... 42 more
> {code}
> IMHO {{rich:message}} should be placed there to warn user about incorrect input and the exception should be handled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-12666) Showcase - Drag and Drop with indicator - the styles do not apply for indicator when dragging over various targets
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12666?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12666:
-------------------------------
Sprint: 4.3.0.CR1 - Bug fixes
> Showcase - Drag and Drop with indicator - the styles do not apply for indicator when dragging over various targets
> ------------------------------------------------------------------------------------------------------------------
>
> Key: RF-12666
> URL: https://issues.jboss.org/browse/RF-12666
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-drag/drop, showcase
> Affects Versions: 4.3.0.M3
> Environment: Firefox 17, Chrome 23
> JBoss AS 7.1.1.Final
> Reporter: Juraj Húska
> Assignee: Lukáš Fryč
> Fix For: 4.3.0.CR1
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> When dragging a source over targets styles which should change the indicator color do not apply.
> It means that the indicator is still green, even when it is moved over target which is not proper drop place for it.
> Note that this works with metamer and that there are no new commits in that showcase sample.
> The DaD functionality works correctly and there are no JS errors or other exceptions. It is the same for the SNAPSHOT.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months
[JBoss JIRA] (RF-12678) Rich:editor - unterminated string literal JS error when submitting editor value
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12678?page=com.atlassian.jira.plugin.s... ]
Brian Leathem reassigned RF-12678:
----------------------------------
Assignee: Lukáš Fryč
> Rich:editor - unterminated string literal JS error when submitting editor value
> --------------------------------------------------------------------------------
>
> Key: RF-12678
> URL: https://issues.jboss.org/browse/RF-12678
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.0.M3
> Environment: RichFaces 4.3.0.20121214-M3
> Metamer 4.3.0.20121218-M3
> JBoss Application Server: Weld Integration 7.1.1.Final
> JBoss AS 7.1.1.Final
> Java(TM) SE Runtime Environment 1.7.0_05-b06 @ Linux
> Firefox 17.0 @ Linux x86_64, Chrome
> Reporter: Juraj Húska
> Assignee: Lukáš Fryč
> Priority: Minor
> Labels: regression
> Fix For: 4.3.0.CR1
>
> Attachments: editorJSerror1.png, editorJSerror2.png
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> When submitting value from {{rich:editor}} JS error are thrown. Please see the attachment.
> I have not found any broken functionality though, just those JS errors.
> Is it caused by update of CKEditor or JQuery libraries ?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months