Hello,
I've been trying the MyFaces examples myfaces-1.0.8-examples.gz.
Hitting the submit button on the HtmlEditor example always causes the
HtmlEditor component to hang (infinite loop), no matter what
input i've done on the page.
Is this a known bug or am I doing something wrong?
I've managed to suspend the hanging thread in the IDE (eclipse) - here the
stack:
Thread [http-8080-Processor23] (Suspended)
java.lang.String.indexOf(char[], int, int, char[], int, int, int) line:
1274
java.lang.String.indexOf(java.lang.String, int) line: 1236
java.lang.String.indexOf(java.lang.String) line: 1218
org.apache.myfaces.custom.htmlEditor.HtmlEditor.getValueFromDocument(java.lang.String)
line: 321
org.apache.myfaces.custom.htmlEditor.HtmlEditorRenderer.getConvertedValue(javax.faces.context.FacesContext,
javax.faces.component.UIComponent, java.lang.Object) line: 987
org.apache.myfaces.custom.htmlEditor.HtmlEditor(javax.faces.component.UIInput).getConvertedValue(javax.faces.context.FacesContext,
java.lang.Object) line: 295
org.apache.myfaces.custom.htmlEditor.HtmlEditor(javax.faces.component.UIInput).validate(javax.faces.context.FacesContext)
line: 260
org.apache.myfaces.custom.htmlEditor.HtmlEditor(javax.faces.component.UIInput).processValidators(javax.faces.context.FacesContext)
line: 160
javax.faces.component.html.HtmlForm(javax.faces.component.UIForm).processValidators(javax.faces.context.FacesContext)
line: 62
javax.faces.component.html.HtmlPanelGroup(javax.faces.component.UIComponentBase).processValidators(javax.faces.context.FacesContext)
line: 418
org.apache.myfaces.custom.layout.HtmlPanelLayout(javax.faces.component.UIComponentBase).processValidators(javax.faces.context.FacesC
ontext) line: 418
javax.faces.component.UIViewRoot(javax.faces.component.UIComponentBase).processValidators(javax.faces.context.FacesContext)
line:
418
javax.faces.component.UIViewRoot.processValidators(javax.faces.context.FacesContext)
line: 162
org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(javax.faces.context.FacesContext)
line: 196
org.apache.myfaces.lifecycle.LifecycleImpl.execute(javax.faces.context.FacesContext)
line: 80
javax.faces.webapp.FacesServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) line: 109
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) line:
237
org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) line: 157
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(javax.servlet.ServletRequest,
javax.servlet.ServletResponse,
javax.servlet.FilterChain) line: 119
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) line:
186
org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) line: 157
...
Thanks for help,
Chily