[JBoss JIRA] Created: (RF-2403) FileUpload: NPE in org.richfaces.renderkit.html.images.ColorUtils
by Juergen Zimmermann (JIRA)
FileUpload: NPE in org.richfaces.renderkit.html.images.ColorUtils
-----------------------------------------------------------------
Key: RF-2403
URL: http://jira.jboss.com/jira/browse/RF-2403
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: JDK 6u4, RF 3.2.0CR1, Facelets 1.1.14, JBossAS 4.2.2, JSF RI 1.2_08
Reporter: Juergen Zimmermann
When invoking a JSF page with <rich:fileUpload> I get a NPE in the JBoss console with the stacktrace below.
Looking at http://anonsvn.jboss.org/repos/richfaces/trunk/ui/progressBAR/src/main/ja... I'd recommend for the methode ColorUtils.adjustLightness() to test whether the object c is null. Just the same as in method overwriteAlpha.
2008-03-05 15:20:08,663 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/hska].[jsfServlet]] Servlet.service() for servlet jsfServlet threw exception
java.lang.NullPointerException
at org.richfaces.renderkit.html.images.ColorUtils.adjustLightness(ColorUtils.java:202)
at org.richfaces.renderkit.html.images.ProgressBarAnimatedBg.createMainStage(ProgressBarAnimatedBg.java:105)
at org.richfaces.renderkit.html.images.ProgressBarAnimatedBg.paint(ProgressBarAnimatedBg.java:87)
at org.ajax4jsf.resource.AnimationResource.send(AnimationResource.java:80)
at org.ajax4jsf.resource.ResourceLifecycle.sendResource(ResourceLifecycle.java:227)
at org.ajax4jsf.resource.ResourceLifecycle.send(ResourceLifecycle.java:163)
at org.ajax4jsf.resource.InternetResourceService.load(InternetResourceService.java:333)
at org.ajax4jsf.cache.LRUMapCache.load(LRUMapCache.java:116)
at org.ajax4jsf.cache.LRUMapCache.get(LRUMapCache.java:87)
at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:195)
at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:260)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months
[JBoss JIRA] Created: (RF-2397) <rich:fileUpload>: createTempFiles=false doesn't work
by Juergen Zimmermann (JIRA)
<rich:fileUpload>: createTempFiles=false doesn't work
-----------------------------------------------------
Key: RF-2397
URL: http://jira.jboss.com/jira/browse/RF-2397
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: JDK 6u4, RF 3.2.0CR1, Facelets 1.1.14, JBossAS 4.2.2, JSF RI 1.2_08
Reporter: Juergen Zimmermann
Using createTempFiles with true in web.xml works fine:
<init-param>
<param-name>createTempFiles</param-name>
<param-value>true</param-value>
</init-param>
But when changing true to false, then the "Upload" button works. However, when the list of UploadItem is to be processed in an action method than I get this stack trace:
java.lang.NullPointerException
at org.richfaces.model.UploadItem.<init>(UploadItem.java:37)
at org.richfaces.org.jboss.seam.ui.renderkit.FileUploadRendererBase.storeData(FileUploadRendererBase.java:107)
at org.richfaces.org.jboss.seam.ui.renderkit.FileUploadRendererBase.onUploadComplete(FileUploadRendererBase.java:125)
at org.richfaces.org.jboss.seam.ui.renderkit.FileUploadRendererBase.doDecode(FileUploadRendererBase.java:73)
at org.ajax4jsf.renderkit.RendererBase.decode(RendererBase.java:76)
at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:784)
at javax.faces.component.UIInput.decode(UIInput.java:725)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
at javax.faces.component.UIInput.processDecodes(UIInput.java:639)
at javax.faces.component.UIForm.processDecodes(UIForm.java:209)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1021)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:504)
at org.ajax4jsf.component.AjaxViewRoot.access$001(AjaxViewRoot.java:57)
at org.ajax4jsf.component.AjaxViewRoot$1.invokeRoot(AjaxViewRoot.java:260)
at org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56)
at org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:178)
at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:276)
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.richfaces.org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:110)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:143)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months
[JBoss JIRA] Created: (RF-2308) comboBox: "f:selectItem" doesn't work for rich:comboBox inside rich:dropDownMenu.
by Mikhail Vitenkov (JIRA)
comboBox: "f:selectItem" doesn't work for rich:comboBox inside rich:dropDownMenu.
---------------------------------------------------------------------------------
Key: RF-2308
URL: http://jira.jboss.com/jira/browse/RF-2308
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: IE6, IE7, FF, Safari
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Priority: Critical
Step 1. Add rich:comboBox component inside rich:dropDownMenu, use this code:
<rich:menuItem>
<rich:comboBox>
<f:selectItem itemValue="1st mihey value"/>
<f:selectItem itemValue="2nd mihey value"/>
</rich:comboBox>
</rich:menuItem>
Step 2. Navigate to page, contained dropDownMenu component.
Step 3. Mouse over dropDownMenu - menu with rich:comboBox should appears.
Step 4. Verify comboBoxe's itemValues by clicking on comboBoxe's button attached to input box.
Actual behavior:
comboBox component is appear in dropDownMenu but it haven't any itemValues, defined inside itself(comboBox).
Expected behavior:
comboBox should appear inside dropDownMenu component with itemValues.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months
[JBoss JIRA] Created: (RF-2307) comboBox: multiple rich:comboBox component using error.
by Mikhail Vitenkov (JIRA)
comboBox: multiple rich:comboBox component using error.
-------------------------------------------------------
Key: RF-2307
URL: http://jira.jboss.com/jira/browse/RF-2307
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: IE6, IE7, FF, Safari
Reporter: Mikhail Vitenkov
Priority: Critical
Step 1. Add several(at least two rich:comboBox component) inside any rich component(columns, for example) or on the blank page;
Step 2. Use following code:
<rich:comboBox>
<f:selectItem itemValue="1st item"/>
<f:selectItem itemValue="2nd item"/>
<f:selectItem itemValue="3rd item"/>
</rich:comboBox>
Step 3. Navigate to page, contained tested component - it should display;
Step 4. Verify comboboxe's items
Actual behavior:
1st combobox contain 3 items("1st item", "2nd item", "3rd item");
2nd combobox contain 6 items("1st item", "2nd item", "3rd item", "1st item", "2nd item", "3rd item")
...and etc.
Expected behavior:
ComboBox should contain only items, defined inside itself;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months
[JBoss JIRA] Created: (RF-2311) ComboBox: incorrect work rich:comboBox component inside rich:listShuttle.
by Mikhail Vitenkov (JIRA)
ComboBox: incorrect work rich:comboBox component inside rich:listShuttle.
-------------------------------------------------------------------------
Key: RF-2311
URL: http://jira.jboss.com/jira/browse/RF-2311
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: IE6, IE7, FF, Safari
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Attachments: ComboBoxInListShuttle.png
Step 1. Add rich:comboBox component inside rich:listShuttle. Use following code:
<h:column>
<f:facet name="header">
<h:outputText value="ComboBox" />
</f:facet>
<rich:comboBox>
<f:selectItem itemValue="Combo_1"/>
<f:selectItem itemValue="Combo_2"/>
</rich:comboBox>
</h:column>
Step 2. Navigate to page, contained listShuttle("copy" operation should present).
Step 3. Find comboBox component inside listShuttle and click on it's button, attached to input box.
Step 4. Verify comboBoxe's popup list appearence place. -#1
Step 5. Select row, contained comboBox & copy them. Use "copyControlLabel" attribute.
Step 6. Click on being copied comboBoxe's button attached to input box & verify popup list appearence. -#2
Actual behavior:
#1: Popup list appears so far from selected comboBox. For more information see attached ComboBoxInListShuttle.png.
#2: Popup list doesn't appear for comboBox in row, being copied.
Expected behavior:
Popup list appearence rule shouldn't be changeable.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months