[JBoss JIRA] Created: (RF-10057) Metamer - rich:dragSource, rich:dragIndicator, rich:dropTarget - setting attributes causes NPE
by Lukas Fryc (JIRA)
Metamer - rich:dragSource, rich:dragIndicator, rich:dropTarget - setting attributes causes NPE
----------------------------------------------------------------------------------------------
Key: RF-10057
URL: https://issues.jboss.org/browse/RF-10057
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-drag/drop
Affects Versions: 4.0.0.Milestone5
Environment: * RichFaces 4.0.0-SNAPSHOT r.20682
* Metamer 4.0.0-SNAPSHOT r.20684
* Mojarra 2.0.3-FCS
* Apache Tomcat 6.0.29
* OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
* Firefox 1.9.2.13 @ Linux x86_64
Reporter: Lukas Fryc
The issue applies for all the following samples:
rich:dropTarget: http://localhost:8080/metamer/faces/components/richDropTarget/simple.xhtml
rich:dragSource: http://localhost:8080/metamer/faces/components/richDragSource/simple.xhtml
rich:dragIndicator: http://localhost:8080/metamer/faces/components/richDragIndicator/simple.x...
Attached Facelets error page (exception.html).
The problem is that clientId is null in the following condition:
UIComponent:1275
public boolean invokeOnComponent(FacesContext context, String clientId,
ContextCallback callback) throws FacesException {
if (null == context || null == clientId || null == callback) {
throw new NullPointerException();
}
...
Stacktrace:
java.lang.NullPointerException
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1275)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:673)
at org.richfaces.renderkit.DropTargetRenderer.doDecode(DropTargetRenderer.java:38)
at org.richfaces.renderkit.RendererBase.decode(RendererBase.java:82)
at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:791)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1048)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1043)
at javax.faces.component.UIForm.processDecodes(UIForm.java:212)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1043)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1043)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1043)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:920)
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
14 years
[JBoss JIRA] Created: (RF-10052) ListShuttle has imprecise clientId
by Peter Rader (JIRA)
ListShuttle has imprecise clientId
----------------------------------
Key: RF-10052
URL: https://issues.jboss.org/browse/RF-10052
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-misc
Affects Versions: 3.3.3.Final
Environment: winxp jboss 4.3
Reporter: Peter Rader
Priority: Minor
If i implement an custom Converter for my rich:listShuttle:
- in method "getAsString" the result of getClientId contains the suffix ":0"
- in method "getAsObject" the result of getClientId does not contains the suffix ":0"
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Updated: (RF-10057) Metamer - rich:dragSource, rich:dragIndicator, rich:dropTarget - setting attributes causes NPE
by Lukas Fryc (JIRA)
[ https://issues.jboss.org/browse/RF-10057?page=com.atlassian.jira.plugin.s... ]
Lukas Fryc updated RF-10057:
----------------------------
Environment:
* RichFaces 4.0.0-SNAPSHOT r.20682
* Metamer 4.0.0-SNAPSHOT r.20684
* Mojarra 2.0.3-FCS
* Apache Tomcat 6.0.29
* OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
* Firefox 3.6.13 @ Linux x86_64
was:
* RichFaces 4.0.0-SNAPSHOT r.20682
* Metamer 4.0.0-SNAPSHOT r.20684
* Mojarra 2.0.3-FCS
* Apache Tomcat 6.0.29
* OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
* Firefox 1.9.2.13 @ Linux x86_64
> Metamer - rich:dragSource, rich:dragIndicator, rich:dropTarget - setting attributes causes NPE
> ----------------------------------------------------------------------------------------------
>
> Key: RF-10057
> URL: https://issues.jboss.org/browse/RF-10057
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-drag/drop
> Affects Versions: 4.0.0.Milestone5
> Environment: * RichFaces 4.0.0-SNAPSHOT r.20682
> * Metamer 4.0.0-SNAPSHOT r.20684
> * Mojarra 2.0.3-FCS
> * Apache Tomcat 6.0.29
> * OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
> * Firefox 3.6.13 @ Linux x86_64
> Reporter: Lukas Fryc
>
> The issue applies for all the following samples:
> rich:dropTarget: http://localhost:8080/metamer/faces/components/richDropTarget/simple.xhtml
> rich:dragSource: http://localhost:8080/metamer/faces/components/richDragSource/simple.xhtml
> rich:dragIndicator: http://localhost:8080/metamer/faces/components/richDragIndicator/simple.x...
> Attached Facelets error page (exception.html).
> The problem is that clientId is null in the following condition:
> UIComponent:1275
> public boolean invokeOnComponent(FacesContext context, String clientId,
> ContextCallback callback) throws FacesException {
> if (null == context || null == clientId || null == callback) {
> throw new NullPointerException();
> }
> ...
> Stacktrace:
> java.lang.NullPointerException
> at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1275)
> at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:673)
> at org.richfaces.renderkit.DropTargetRenderer.doDecode(DropTargetRenderer.java:38)
> at org.richfaces.renderkit.RendererBase.decode(RendererBase.java:82)
> at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:791)
> at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1048)
> at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1043)
> at javax.faces.component.UIForm.processDecodes(UIForm.java:212)
> at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1043)
> at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1043)
> at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1043)
> at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:920)
> 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
14 years
[JBoss JIRA] Created: (RF-9855) Select: ajax request not sent when enableManualInput is false
by Pavol Pitonak (JIRA)
Select: ajax request not sent when enableManualInput is false
-------------------------------------------------------------
Key: RF-9855
URL: https://jira.jboss.org/browse/RF-9855
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.0.0.Milestone4
Environment: RichFaces 4.0.0-SNAPSHOT r.20127
Metamer 4.0.0-SNAPSHOT r.20127
Mojarra 2.0.2-FCS
GlassFish Server Open Source Edition 3.0.1
OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
Chrome 7.0.517.44 @ Linux x86_64
Reporter: Pavol Pitonak
1. deploy Metamer
2. open http://localhost:8080/metamer/faces/components/richSelect/simple.xhtml
3. set enableManualInput=false
4. click on button and select some value
5. click outside select (to fire blur event)
result:
output is not updated, Chrome shows the following message in console
Uncaught TypeError: Cannot call method 'getItems' of undefined select.js:308
$.extend.onblur select.js:308
$.extend.__blurHandler select.js:253
jQuery.extend.proxy.proxy jquery.js:691
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years