[JBoss JIRA] Updated: (RF-10267) Accordion creating from Java NPE if activeItem is not set
by Konstantin Pupkov (JIRA)
[ https://issues.jboss.org/browse/RF-10267?page=com.atlassian.jira.plugin.s... ]
Konstantin Pupkov updated RF-10267:
-----------------------------------
Priority: Minor (was: Major)
> Accordion creating from Java NPE if activeItem is not set
> ---------------------------------------------------------
>
> Key: RF-10267
> URL: https://issues.jboss.org/browse/RF-10267
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: base functionality
> Affects Versions: 4.0.0.Milestone5
> Environment: Ununtu 10.10, Java 6
> Reporter: Konstantin Pupkov
> Priority: Minor
>
> in Java...
> FacesContext ctx=FacesContext.getCurrentInstance();
> pendingBar = (HtmlAccordion) ctx
> .getApplication()
> .createComponent(ctx, HtmlAccordion.COMPONENT_TYPE, "org.richfaces.AccordionRenderer");
> pendingBar.setId("pend");
> ......
> error on page:
> ...
> ava.lang.NullPointerException
> org.richfaces.component.AbstractAccordion.getActiveItem(AbstractAccordion.java:50)
> org.richfaces.renderkit.html.TogglePanelRenderer.doEncodeBegin(TogglePanelRenderer.java:116)
> org.richfaces.renderkit.html.AccordionRenderer.doEncodeBegin(AccordionRenderer.java:55)
> org.richfaces.renderkit.RendererBase.encodeBegin(RendererBase.java:116)
> javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:824)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (RF-10263) ie6 crash for richfaces 3.3.3 component rich:fileUpload
by Michal Radziwan (JIRA)
ie6 crash for richfaces 3.3.3 component rich:fileUpload
-------------------------------------------------------
Key: RF-10263
URL: https://issues.jboss.org/browse/RF-10263
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 3.3.3.Final
Environment: richfaces3.3.3.Final, JBoss5.2, IE 6.0.2900.2180 SP2
Reporter: Michal Radziwan
I am using richfaces3.3.3 on my JBoss5.2. One of my views contains comopnent rich:fileUpload and it makes IE6(version IE 6.0.2900.2180 SP2) crash with a message "iexplore.exe offset 0012bd68". There is no problem for Firefox(3.6.13), IE7, IE8, Chrome.
Below I attach snipet of code that makes IE6 crash.
<rich:fileUpload id="uploader" styleClass="left-align"
fileUploadListener="#{preqBean.listener}" maxFilesQuantity="1"
immediateUpload="true" autoclear="true" listHeight="10"
listWidth="180" addControlLabel="Read file"
stopEntryControlLabel="Stop" uploadControlLabel="Resume">
<a4j:support event="onuploadcomplete" reRender="massPanel" />
<a4j:support event="onuploadcanceled" reRender="massPanel" />
<a4j:support event="onerror" reRender="massPanel"
action="#{preqBean.setDefaultError}" />
</rich:fileUpload>
I also tried to find out what part of rendered page makes IE6 crash. This script does it:
<script src="mass.jsf_pliki/swfobject.xhtml" type="text/javascript"></script>
Do anyone know a solution for that ? My customer needs to run this system on IE6 ...
I have found no information about this issue in the Web. So I tried to downgrade my Richfaces to 3.3.0.GA and it works fine with this version! I also checked it for version 3.3.1.GA and 3.3.2.GA and it also works fine! So it looks like the bug was introduced in version 3.3.3. (BTW note: Difference in dependecies between 3.3.2.GA and 3.3.3.Final is common-beanutils (1.7->1.8).)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (RF-10253) Metamer - Collapsible Sub Table - IdParser throws IndexOutOfBoundsException
by Lukas Fryc (JIRA)
Metamer - Collapsible Sub Table - IdParser throws IndexOutOfBoundsException
---------------------------------------------------------------------------
Key: RF-10253
URL: https://issues.jboss.org/browse/RF-10253
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 4.0.0.Milestone5
Environment: RichFaces 4.0.0-SNAPSHOT r.21066
Metamer 4.0.0-SNAPSHOT r.21079
Mojarra 2.0.3-FCS
Apache Tomcat 6.0.29
OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
Chrome 8.0.552.224 @ Linux x86_64
Reporter: Lukas Fryc
WARNING: String index out of range: 0
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:694)
at org.richfaces.context.IdParser.parse(IdParser.java:124)
at org.richfaces.context.ComponentIdResolver.addIdImmediately(ComponentIdResolver.java:173)
at org.richfaces.context.ComponentIdResolver.addId(ComponentIdResolver.java:208)
at org.richfaces.renderkit.util.CoreRendererUtils.findComponentsFor(CoreRendererUtils.java:146)
at org.richfaces.context.ComponentCallback.resolveComponents(ComponentCallback.java:92)
at org.richfaces.context.RenderComponentCallback.doVisit(RenderComponentCallback.java:90)
at org.richfaces.context.ExecuteComponentCallback.doVisit(ExecuteComponentCallback.java:47)
at org.richfaces.context.ComponentCallback.visit(ComponentCallback.java:104)
at org.richfaces.context.BaseExtendedVisitContext.invokeVisitCallback(BaseExtendedVisitContext.java:337)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1476)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1487)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1487)
at javax.faces.component.UIForm.visitTree(UIForm.java:331)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1487)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1487)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1487)
at org.richfaces.context.ExtendedPartialViewContextImpl.visitActivatorComponent(ExtendedPartialViewContextImpl.java:452)
at org.richfaces.context.ExtendedPartialViewContextImpl.visitActivatorAtExecute(ExtendedPartialViewContextImpl.java:322)
at org.richfaces.context.ExtendedPartialViewContextImpl.getExecuteIds(ExtendedPartialViewContextImpl.java:110)
at org.richfaces.context.ExtendedPartialViewContextImpl.isExecuteAll(ExtendedPartialViewContextImpl.java:160)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:916)
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:74)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (RF-10172) r:calendar : use logical "javax.faces.DateTime" as default converter
by Martin Kočí (JIRA)
r:calendar : use logical "javax.faces.DateTime" as default converter
--------------------------------------------------------------------
Key: RF-10172
URL: https://issues.jboss.org/browse/RF-10172
Project: RichFaces
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: Future_4.X
Environment: RichFaces 4 trunk svn rev. 20933
Reporter: Martin Kočí
CalendarRendererBase creates new DateTimeConverter() directly. It prevents to use other converter as default if it is registered as "javax.faces.DateTime"
Solution: use logical name "javax.faces.DateTime" instead of hardcoded class name.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months