[JBoss JIRA] Created: (RF-5248) NullPointerException in HeaderResourcesRendererBase
by Michael Heinen (JIRA)
NullPointerException in HeaderResourcesRendererBase
---------------------------------------------------
Key: RF-5248
URL: https://jira.jboss.org/jira/browse/RF-5248
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5
Environment: richfaces 3.1.5
myFaces 1.1.5
tomahawk 1.1.7
tomcat 5.5.25
jdk 1.6.0_10
Reporter: Michael Heinen
I am facing sometimes a NullPointerException in class HeaderResourcesRendererBase in method getUrisSet.
This occurs if two users post a from nearly parallel (no ajax request)
I can sometimes reproduce it if I open two IE instances and submit two forms very fast from each IE, one after another.
Note that the processing of the action takes some time (nearly 20 seconds due to some initializations).
StackTrace:
java.lang.NullPointerException
at org.ajax4jsf.renderkit.HeaderResourcesRendererBase.getUrisSet(HeaderResourcesRendererBase.java:101)
at org.ajax4jsf.renderkit.HeaderResourcesRendererBase.getHeaderScripts(HeaderResourcesRendererBase.java:54)
at org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:61)
at org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:94)
at org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:94)
at org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:94)
at org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:94)
at org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:94)
at org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:94)
at org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:94)
at org.ajax4jsf.context.ViewResources.collect(ViewResources.java:41)
at org.ajax4jsf.context.AjaxContextImpl.processHeadResources(AjaxContextImpl.java:398)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:245)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
at org.apache.myfaces.custom.ppr.PPRLifecycleWrapper.render(PPRLifecycleWrapper.java:84)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
at com.recommind.litigation.client.web.servlets.FacesServletWrapper.service(FacesServletWrapper.java:136)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:344)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.recommind.litigation.client.web.filters.LoginFilter.doFilter(LoginFilter.java:237)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.recommind.litigation.client.web.filters.EncodingFilter.doFilter(EncodingFilter.java:49)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.recommind.litigation.client.web.filters.TimerFilter.doFilter(TimerFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
I added a Java Exception Breakpoint to suspend if a NullPointerException occurs.
The vars are initialized with following values (stopped at line 101):
for (int i = 0; i < resources.length; i++) {
InternetResource resource = resources[i];
uris.add(resource.getUri(context, component)); /***** line 101 *****/
}
component=AjaxPoll
resources = InternetResource[1]
resources[1] = AjaScript
i=0
resource= null !!!
resources[i] contains a AjaScript instance but resource is null!
So there must be an issue with multithreading, or?
Is this a duplicate of RF-1555 ? If so is there any way to fix this in the 3.1.X branch ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months
[JBoss JIRA] Created: (RF-4164) scrollableDataTable and rich:columns - header disappears after rerender(RF-3796 link) + last column collapses: in detail analysis, logs
by Yurii Kartsev (JIRA)
scrollableDataTable and rich:columns - header disappears after rerender(RF-3796 link) + last column collapses: in detail analysis, logs
---------------------------------------------------------------------------------------------------------------------------------------
Key: RF-4164
URL: https://jira.jboss.org/jira/browse/RF-4164
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: Windows XP SP2
Firefox 2.0.0.16
jdk1.6.0_07
JBoss 4.2.2 GA
jsf-1.2_07-b03-FCS
facelets-1.1.14
v.3.2.2-SNAPSHOT SVN $Revision: 8947 $ $Date: 2008-06-07 08:39:49 -0400 (Sat, 07 Jun 2008) $
Reporter: Yurii Kartsev
Good afternoon.
I've found similar issue, but it's closed and not full, like mine. So I've decided to create a new one and link old one to id.
By the way(maybe it will help you), after reloading the page(F5), the table first appears corrupted(withoud headers and with collapsed last column) for a few seconds, then it changes to normal.
I have two cases:
1. Table became corrupted after removing a record from scrollable datatable and reRendering it. (consequenses: headers disappear + last column collapses)
It was done using rich:contextMenu with reRendering scrollable data table.
2. Table became corrupted after reRendering scrollable datatable with a different data. (consequense: last column collapses)
It was done using a4j:support in h:selectOneMenu with reRendering scrollable data table.
These cases were done with all the logs and screenshots savings: JBoss DEBUG log, a4j:log and Firebug data.
Please, take a look at it:
CASE 1. All the logs and screenshots you can see in the case1.zip
--------------------- description ----------------------
firebug - folder with firebug copypasted data
screens - 2 screens(before/after)
a4j_log.log - a4j:log from the loaded page (CONTAINS ERRORS)
JBOSS_ajax_delete.log - JBoss log after selecting "Delete" on the record
JBOSS_load.log - JBoss log while loading the page
-------------------------------------------
CASE 2. All the logs and screenshots you can see in the case2.zip
--------------------- description ----------------------
firebug - folder with firebug copypasted data
screens - 2 screens(before/after)
a4j_log.log - a4j:log from the loaded page (CONTAINS ERRORS)
JBOSS_ajax_select.log - JBoss log after selecting records type
JBOSS_load.log - JBoss log while loading the page
-------------------------------------------
SOURCE page in xhtml you can find in src.zip.
I hope you'll solve the bug. Thank you in advance!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months
[JBoss JIRA] Created: (RF-4926) SuggestionBox: NPE under jboss 4.2/4.3
by Ilya Shaikovsky (JIRA)
SuggestionBox: NPE under jboss 4.2/4.3
--------------------------------------
Key: RF-4926
URL: https://jira.jboss.org/jira/browse/RF-4926
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
Nick eclipse project attached. I've added the same jars which demo uses.
also added
<context-param>
<param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
<param-value>true</param-value>
</context-param>
libs list:
antlr-2.7.6.jar
commons-beanutils-1.7.0.jar
commons-collections-3.2.jar
commons-digester-1.8.jar
commons-logging-1.0.4.jar
darkX-3.3.0-SNAPSHOT.jar
dom4j-1.6.1.jar
el-ri-1.2.jar
glassX-3.3.0-SNAPSHOT.jar
hibernate-commons-annotations-3.1.0.CR1.jar
hibernate-core-3.3.0.CR1.jar
hibernate-validator-3.1.0.CR1.jar
jhighlight-1.0.jar
jsf-api-1.2_10.jar
jsf-facelets-1.1.14.jar
jsf-impl-1.2_10.jar
jstl-1.0.jar
jta-1.1.jar
laguna-3.3.0-SNAPSHOT.jar
nekohtml-0.9.5.jar
richfaces-api-3.3.0-SNAPSHOT.jar
richfaces-impl-3.3.0-SNAPSHOT.jar
richfaces-ui-3.3.0-SNAPSHOT.jar
slf4j-api-1.4.2.jar
slf4j-simple-1.4.2.jar
xercesImpl-2.8.1.jar
xml-apis-1.3.03.jar
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months
[JBoss JIRA] Created: (RF-5241) JSMin parsing broken by SVN r11539
by Nick Belaevski (JIRA)
JSMin parsing broken by SVN r11539
----------------------------------
Key: RF-5241
URL: https://jira.jboss.org/jira/browse/RF-5241
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Nick Belaevski
Assignee: Pavel Yaschenko
Priority: Blocker
Fix For: 3.3.0
SEVERE: Error send script to client for resource org/richfaces/renderkit/html/scripts/dnd/dnd-dropzone.js
org.ajax4jsf.javascript.JSMin$UnterminatedRegExpLiteralException: Unterminated regular expression at line 28 and column 0
at org.ajax4jsf.javascript.JSMin.action(JSMin.java:216)
at org.ajax4jsf.javascript.JSMin.jsmin(JSMin.java:270)
at org.ajax4jsf.resource.ScriptRenderer.send(ScriptRenderer.java:62)
at org.ajax4jsf.resource.InternetResourceBase.send(InternetResourceBase.java:376)
at org.ajax4jsf.tests.AbstractAjax4JsfTestCase$1.getResponse(AbstractAjax4JsfTestCase.java:405)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1500)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1456)
at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl(HtmlPage.java:841)
at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:792)
at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:276)
at com.gargoylesoftware.htmlunit.html.HtmlScript.onAddedToPage(HtmlScript.java:197)
at com.gargoylesoftware.htmlunit.html.HtmlPage.notifyNodeAdded(HtmlPage.java:1497)
at com.gargoylesoftware.htmlunit.html.DomNode.appendDomChild(DomNode.java:808)
at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startElement(HTMLParser.java:392)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.cyberneko.html.filters.DefaultFilter.startElement(DefaultFilter.java:179)
at org.cyberneko.html.filters.NamespaceBinder.startElement(NamespaceBinder.java:286)
at org.cyberneko.html.HTMLTagBalancer.callStartElement(HTMLTagBalancer.java:1009)
at org.cyberneko.html.HTMLTagBalancer.startElement(HTMLTagBalancer.java:639)
at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(HTMLScanner.java:2407)
at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:1881)
at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:809)
at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:478)
at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:431)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:253)
at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:116)
at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:89)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:450)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:359)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:407)
at org.ajax4jsf.tests.AbstractAjax4JsfTestCase.processResponse(AbstractAjax4JsfTestCase.java:781)
at org.ajax4jsf.tests.AbstractAjax4JsfTestCase.processResponseWriter(AbstractAjax4JsfTestCase.java:752)
at org.ajax4jsf.tests.AbstractAjax4JsfTestCase.renderView(AbstractAjax4JsfTestCase.java:623)
at org.richfaces.component.DragDropTest.testRenderStyle(DragDropTest.java:251)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months
[JBoss JIRA] Created: (RF-3790) Wrong size of dropdown menu after rerendering in IE
by Jiri Pejchal (JIRA)
Wrong size of dropdown menu after rerendering in IE
---------------------------------------------------
Key: RF-3790
URL: http://jira.jboss.com/jira/browse/RF-3790
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Jiri Pejchal
After rerendering of a dropdown menu the menu has wrong size and I get the following error:
debug[15:18:41,450]: Replace content of node by outerHTML()
debug[15:18:41,466]: search for elements by name 'script' in element div
debug[15:18:41,466]: Scripts in updated part count : 2
debug[15:18:41,482]: Update part of page for Id: menuForm:dropMenuDocument successful
debug[15:18:41,482]: Attempt to update part of page for Id: menuForm:dropMenuDocument_menu_script
debug[15:18:41,482]: call selectSingleNode for id= menuForm:dropMenuDocument_menu_script
debug[15:18:41,482]: Replace content of node by outerHTML()
error[15:18:41,497]: Error to clear node content by innerHTML Neznámá chyba při běhu programu
debug[15:18:41,497]: search for elements by name 'script' in element script
debug[15:18:41,497]: Scripts in updated part count : 0
debug[15:18:41,497]: Update part of page for Id: menuForm:dropMenuDocument_menu_script successful
debug[15:18:41,513]: Attempt to update part of page for Id: menuForm:submenuDocumentNew_menu_script
debug[15:18:41,513]: call selectSingleNode for id= menuForm:submenuDocumentNew_menu_script
debug[15:18:41,513]: Replace content of node by outerHTML()
error[15:18:41,513]: Error to clear node content by innerHTML Neznámá chyba při běhu programu
debug[15:18:41,513]: search for elements by name 'script' in element script
debug[15:18:41,528]: Scripts in updated part count : 0
debug[15:18:41,528]: Update part of page for Id: menuForm:submenuDocumentNew_menu_script successful
Menu code:
HtmlDropDownMenu dropDownMenu = new HtmlDropDownMenu();
dropDownMenu.setSubmitMode("ajax");
dropDownMenu.setId("dropMenuFolder");
appContext.registerComponentValueExpression(dropDownMenu, "value", "#{coreMessages.folder}");
appContext.registerComponentValueExpression(dropDownMenu, "rendered", "#{viewModeBean.documents}");
--
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, 4 months
[JBoss JIRA] Created: (RF-2628) InplaceInput: edit/view sizes synchronization works wrong in all browsers.
by Ilya Shaikovsky (JIRA)
InplaceInput: edit/view sizes synchronization works wrong in all browsers.
--------------------------------------------------------------------------
Key: RF-2628
URL: http://jira.jboss.com/jira/browse/RF-2628
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Ilya Shaikovsky
Assigned To: Anton Belevich
Priority: Minor
Fix For: 3.2.0
<rich:dataTable value="#{dataTableScrollerBean.tenRandomCars}" var="car">
<rich:column>
<h:outputText value="#{car.make}"/>
</rich:column>
<rich:column>
<h:outputText value="#{car.model}"/>
</rich:column>
<rich:column>
<rich:inplaceInput layout="block" value="#{car.price}"/>
</rich:column>
</rich:dataTable>
After you click inplace - column grows only under opera and only for some seconds. At all other browsers table border dissapears as it below input.
--
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, 4 months
[JBoss JIRA] Created: (RF-2314) comboBox: rich:comboBox itemValues display in italic in case conboBox is in rich:panelMenu component.
by Mikhail Vitenkov (JIRA)
comboBox: rich:comboBox itemValues display in italic in case conboBox is in rich:panelMenu component.
-----------------------------------------------------------------------------------------------------
Key: RF-2314
URL: http://jira.jboss.com/jira/browse/RF-2314
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: IE6, IE7, FF, Safari
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Priority: Minor
Attachments: comboBoxInPanelMenu.png
Step 1. Add rich:comboBox component inside PanelMenu. Use following code:
<rich:panelMenuItem label="Item Image">
<rich:comboBox>
<f:selectItem itemValue="item_1"/>
<f:selectItem itemValue="item_2"/>
</rich:comboBox>
</rich:panelMenuItem>
Step 2. Navigate to page contained PanelMenu.
Step 3. Find & click on comboBoxe's button attached to input box.
Step 4. Verify itemValues font style displaying.
Actual behavior:
itemValues display in italic. For more information see attached comboBoxInPanelMenu.png
Expected behavior:
itemValues shouldn't have italic font.
--
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, 4 months
[JBoss JIRA] Created: (RF-5108) Editor: exception after rerender empty editor in case useSeamText="true"
by Alexander Dubovsky (JIRA)
Editor: exception after rerender empty editor in case useSeamText="true"
------------------------------------------------------------------------
Key: RF-5108
URL: https://jira.jboss.org/jira/browse/RF-5108
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: 3.3.0.BETA1
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
# Set useSeamText="true" and viewMode="visual"
# Open page with editor, clear it and rerender.
Result: following exception:
ERROR [viewhandler] Error Rendering View[/pages/Rich/Rich.xhtml]
javax.faces.convert.ConverterException: An error occurred during conversion seam text to html
at org.richfaces.convert.seamtext.DefaultSeamTextConverter.getAsString(DefaultSeamTextConverter.java:96)
at org.ajax4jsf.util.InputUtils.getConvertedStringValue(InputUtils.java:114)
at org.richfaces.renderkit.EditorRendererBase.getConvertedStringValue(EditorRendererBase.java:87)
at org.richfaces.renderkit.EditorRendererBase.getFormattedComponentStringValue(EditorRendererBase.java:117)
at org.richfaces.renderkit.html.EditorRenderer.doEncodeEnd(EditorRenderer.java:234)
...........................
Caused by: line 1:3: unexpected token: &
at org.jboss.seam.text.SeamTextParser.startRule(SeamTextParser.java:648)
at org.richfaces.convert.seamtext.DefaultSeamTextConverter.getAsString(DefaultSeamTextConverter.java:91)
... 76 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months
[JBoss JIRA] Created: (RF-4311) SuggestionBox: incorrect behavior in Opera.
by Alexander Dubovsky (JIRA)
SuggestionBox: incorrect behavior in Opera.
-------------------------------------------
Key: RF-4311
URL: https://jira.jboss.org/jira/browse/RF-4311
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: richfaces-demo, test application, 3.2.2.BETA5, Opera 9.52
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Priority: Minor
# Open demo application on Suggestion Box page in Opera
# Input e.g. 'a' character -> suggest pop up appears
# Move selection in pop up using keyboard
Result: selection skips the next element (e.g. was 1th and stay 3th) - this is incorrect
# Select any element
Result: cursor moves to the begin of input. Actually it should stay in the end.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months
[JBoss JIRA] Created: (RF-5082) seamApp does not work with last SNAPSHOT of richFaces
by Alexander Dubovsky (JIRA)
seamApp does not work with last SNAPSHOT of richFaces
-----------------------------------------------------
Key: RF-5082
URL: https://jira.jboss.org/jira/browse/RF-5082
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: seam 2.0.1.GA, jboss 4.2.2.GA
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Exception while starting jboss:
ERROR [[/seamApp]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.NoClassDefFoundError: org/ajax4jsf/component/UIQueue
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1001)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1073)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:493)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
etc.....
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months
[JBoss JIRA] Created: (RF-5296) TogglePanel with immediate=true switches even if validation failed in child immediate input.
by Alexander Dubovsky (JIRA)
TogglePanel with immediate=true switches even if validation failed in child immediate input.
---------------------------------------------------------------------------------------------
Key: RF-5296
URL: https://jira.jboss.org/jira/browse/RF-5296
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: 3.3.0.BETA3
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
TogglePanel with immediate=true switches even if validation failed in child immediate input.
# Open page (source see below)
# clear input
# click Next link
Result: validation message appears, but panel is switched.
Source code:
<h:form>
<rich:messages></rich:messages>
<rich:togglePanel id="panel" switchType="ajax" initialState="asus"
stateOrder="asus,toshiba,benq" immediate="true">
<f:facet name="asus">
<rich:panel>
<h:panelGrid columns="2" style="background-color: white;">
<h:panelGroup>
<h:graphicImage url="/pics/asus.jpg" height="300" width="300"
alt="asus" />
<h:inputText immediate="true" value="input" required="true" />
</h:panelGroup>
<h:panelGroup>
<h:outputText style="font: 18px;font-weight: bold;"
value="Asus F 3 Tc" />
<f:verbatim>
Processor: AMD Turion 64 X 2 - 1600 Mhz<br />
RAM: 1024 Mb<br />
HDD: 100 Gb<br />
Screen: 15.4 WXGA<br />
Video: NVIDIA GeForce Go 7300<br />
Drive: DVD- RW DL<br />
</f:verbatim>
</h:panelGroup>
</h:panelGrid>
</rich:panel>
</f:facet>
<f:facet name="benq">
<rich:panel>
<h:panelGrid columns="2" style="background-color: yellow;">
<h:graphicImage url="/pics/benq.jpg" height="300" width="300"
alt="benq.jpg" />
<h:panelGroup>
<h:outputText style="font: 18px;font-weight: bold;"
value="BenQ A 52" />
<f:verbatim>
Processor: Core Duo T2250 (1.73GHz)<br />
RAM: 1024 Mb<br />
HDD: 100 Gb<br />
Screen: 15.4 WXGA<br />
Video: ATI Mobility Radeon X 200<br />
Drive: DVD- RW D<br />
</f:verbatim>
</h:panelGroup>
</h:panelGrid>
</rich:panel>
</f:facet>
<f:facet name="toshiba">
<rich:panel>
<h:panelGrid columns="2" style="background-color: orange;">
<h:graphicImage url="/pics/toshiba.jpg" height="300" width="300"
alt="toshiba.jpg" />
<h:panelGroup>
<h:outputText style="font: 18px;font-weight: bold;"
value="Toshiba Satellite A 100-784" />
<f:verbatim>
Processor: Intel Core Duo T2250 - 1.73GHz<br />
RAM: 1024 Mb<br />
HDD: 100 Gb<br />
Screen: 15.4 WXGA<br />
Video: Intel Graphics Media 950<br />
Drive: DVD- RW DL<br />
</f:verbatim>
</h:panelGroup>
</h:panelGrid>
</rich:panel>
</f:facet>
</rich:togglePanel>
<rich:toggleControl id="toggleControl_panel" for="panel" immediate="false">
<h:outputText value="Next"></h:outputText>
</rich:toggleControl>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months
REPORT
by Automatic Email Delivery Software
The original message was received at Wed, 10 Dec 2008 12:39:43 +0200
from lists.jboss.org [11.7.2.253]
----- The following addresses had permanent fatal errors -----
richfaces-issues(a)lists.jboss.org
17 years, 4 months
[JBoss JIRA] Created: (RF-5129) queue: exception isn't thrown during rendering if more than one default, global or named(with the same name) queue present.
by Mikhail Vitenkov (JIRA)
queue: exception isn't thrown during rendering if more than one default, global or named(with the same name) queue present.
---------------------------------------------------------------------------------------------------------------------------
Key: RF-5129
URL: https://jira.jboss.org/jira/browse/RF-5129
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6,7, FF 3.0.3, Safari 3.1, Opera 9.62(3.3.0-BETA1)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Step 1.
Case #1: Add two default queue in form/view:
<h:form><a4j:queue/><a4j:queue/> .. </h:form>
Case #2. Add two global queue in f:view:
<f:view><a4j:queue name="org.richfaces.global_queue" disabled="false"/><a4j:queue name="org.richfaces.global_queue" disabled="false"/>...</f:view>
Case #3. Add two named queue with the same name outside or inside form:
<h:form><a4j:queue name="theSame"/><a4j:queue name="theSame"/> .. </h:form>
Step 2. Navigate to page with component.
Expected behavior:
An exception will be thrown if more than one enabled queue is present during rendering.
Actual behavior:
Nothing happens.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months
[JBoss JIRA] Created: (RF-5116) queue: in case sizeExceededBehavior="dropNext" the last event in queue perform two request.
by Mikhail Vitenkov (JIRA)
queue: in case sizeExceededBehavior="dropNext" the last event in queue perform two request.
-------------------------------------------------------------------------------------------
Key: RF-5116
URL: https://jira.jboss.org/jira/browse/RF-5116
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6,7, FF 3.0.3, Safari 3.1, Opera 9.62(3.3.0- last snapshot)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Add a4j:queue inside form:
<h:form> ... <a4j:queue ../>..</h:form>
#2. Set size="1", sizeExceededBehavior="dropNext", requestDelay="5000"
#3. Add checkbox and input inside the same form following way:
<h:inputText value="#{queueComponent.inputValue}" id="inputID">
<a4j:support id="inputSupport" event="onkeyup"
eventsQueue="#{queueComponent.inputQueue}"></a4j:support>
</h:inputText>
...
<h:selectBooleanCheckbox value="#{queueComponent.checkboxValue}"
id="checkboxID">
<a4j:support id="checkboxSupport" event="onchange"
eventsQueue="#{queueComponent.checkboxQueue}"></a4j:support>
</h:selectBooleanCheckbox>
#4. Navigate to the page, make a4j:log enabled.
#5. Initiate 'change' event for selectBooleanCheckbox and then 'keyup' event for input during requestDelay(5 sec.).
#6. Verify a4j:log.
Actual behavior:
The queue performs two request:
debug[20:01:02,528]: Have Event [object Object] with properties: target: [object HTMLInputElement], srcElement: undefined, type: change
debug[20:01:02,529]: Query preparation for form 'formID' requested
...
debug[20:01:02,559]: parameter formID:queueStraightforwardSubviewID:checkboxSupport with value formID:queueStraightforwardSubviewID:checkboxSupport
debug[20:01:02,560]: Look up queue with name 'formQueue'
debug[20:01:02,561]: Found form queue 'formID:formQueue'
debug[20:01:02,562]: Queue is empty now
debug[20:01:02,562]: New request added to queue 'formID:formQueue'. Queue similarityGroupingId changed to formID:queueStraightforwardSubviewID:checkboxSupport
debug[20:01:02,563]: Queue will wait 5000ms before submit
debug[20:01:05,205]: Have Event [object Object] with properties: target: [object HTMLInputElement], srcElement: undefined, type: keyup
debug[20:01:05,207]: Query preparation for form 'formID' requested
...
debug[20:01:05,237]: parameter formID:queueStraightforwardSubviewID:inputSupport with value formID:queueStraightforwardSubviewID:inputSupport
debug[20:01:05,239]: Look up queue with name 'formQueue'
debug[20:01:05,240]: Found form queue 'formID:formQueue'
debug[20:01:05,241]: Last queue entry is not the last anymore. Stopping requestDelay timer and marking entry as ready for submission
debug[20:01:05,242]: Queue 'formID:formQueue' will submit request NOW
debug[20:01:05,243]: NEW AJAX REQUEST !!! with form: formID
debug[20:01:05,245]: Start XmlHttpRequest
debug[20:01:05,246]: Reqest state : 1
debug[20:01:05,247]: QueryString: ...
debug[20:01:05,257]: Reqest state : 1
debug[20:01:05,258]: New request added to queue 'formID:formQueue'. Queue similarityGroupingId changed to formID:queueStraightforwardSubviewID:inputSupport
debug[20:01:05,259]: Queue will wait 5000ms before submit
debug[20:01:05,526]: Reqest state : 2
debug[20:01:05,529]: Reqest state : 3
debug[20:01:05,530]: Reqest state : 3
debug[20:01:05,532]: Reqest state : 4
debug[20:01:05,532]: Reqest end with state 4
debug[20:01:05,533]: Response with content-type: text/xml;charset=UTF-8
debug[20:01:05,534]: Full response content: <?xml version="1.0"?...
...
debug[20:01:10,258]: Queue 'formID:formQueue' will submit request NOW
debug[20:01:10,259]: NEW AJAX REQUEST !!! with form: formID
debug[20:01:10,261]: Start XmlHttpRequest
debug[20:01:10,262]: Reqest state : 1
debug[20:01:10,264]: QueryString:...
debug[20:01:10,268]: Reqest state : 1
debug[20:01:10,986]: Reqest state : 2
debug[20:01:10,989]: Reqest state : 3
debug[20:01:10,991]: Reqest state : 3
debug[20:01:10,992]: Reqest state : 4
debug[20:01:10,994]: Reqest end with state 4
debug[20:01:10,995]: Response with content-type: text/xml;charset=UTF-8
debug[20:01:10,996]: Full response content: ...
...
debug[20:01:12,738]: Call local oncomplete function after processing updates
debug[20:01:12,739]: After request: queue 'formID:formQueue'
debug[20:01:12,741]: There are 0 requests more in this queue
debug[20:01:12,742]: Queue is empty now
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months