[JBoss JIRA] (RF-11793) Fix unstable test OsCacheTest.testExpiration
by Lukáš Fryč (Created) (JIRA)
Fix unstable test OsCacheTest.testExpiration
--------------------------------------------
Key: RF-11793
URL: https://issues.jboss.org/browse/RF-11793
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: tests - unit
Affects Versions: 4.1.0.CR2
Reporter: Lukáš Fryč
Assignee: Lukáš Fryč
org.richfaces.cache.OsCacheTest.testExpiration
expected:<value-a> but was:<null>
Stacktrace
junit.framework.AssertionFailedError: expected:<value-a> but was:<null>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:277)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:71)
at org.richfaces.cache.BaseCacheTest.testExpiration(BaseCacheTest.java:102)
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:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] Created: (RF-11054) Dynamically created tabs within tabPanel causes NPE in getActiveItem()
by Ján Jamrich (JIRA)
Dynamically created tabs within tabPanel causes NPE in getActiveItem()
----------------------------------------------------------------------
Key: RF-11054
URL: https://issues.jboss.org/browse/RF-11054
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: RichFaces 4.1.0-SNAPSHOT r.22526
Metamer r.22526
Mojarra 2.0.4-b09
Apache Tomcat 7.0.12
Java(TM) SE Runtime Environment 1.6.0_19-b04 @ Linux
Chrome 12.0.718.0 @ Linux i686
Reporter: Ján Jamrich
When set switchType on TabPanel to "server" (notice that with "client" everything works correctly, with "ajax" tab switch not work as well as with "null"), all dynamically created tabs causes NPE on tab switch.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] Created: (RF-11017) rich:extendedDataTable: Problems with resizing and ordering of columns with Firefox 4
by Rene O (JIRA)
rich:extendedDataTable: Problems with resizing and ordering of columns with Firefox 4
-------------------------------------------------------------------------------------
Key: RF-11017
URL: https://issues.jboss.org/browse/RF-11017
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.1.0.Milestone1
Environment: Tomcat6 and 7, Java 6, MyFaces 2.1.0-SNAPSHOT (28.05.2011), RichFaces 4.1.0-SNAPSHOT (28.05.2011)
Reporter: Rene O
To reproduce the two issues, i have append a testcase:
Issue 1 (ordering):
1. call http://localhost:8080/jsf2testcase/tableTest.jsf
2. try to change the order of the columns (e.g. A,B,C -> B,A,C)
3. after that, the scrollbar of the table disappears
Note, that this issue appears with Firefox 4.0.1, but not with IE8
Issue 2 (resizing):
1. call http://localhost:8080/jsf2testcase/tableTestB.jsf
2. click button to show table B
3. try to resize the column width of table B
4. resizing doesn't work in table B, but if you try to resize the column width of table A, it will work. So it must be a bug.
Note, that this issue appears with Firefox 4.0.1, but not with IE8
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (RF-11818) 4.1.0 exception thrown on ajax operation
by ravi j (Created) (JIRA)
4.1.0 exception thrown on ajax operation
----------------------------------------
Key: RF-11818
URL: https://issues.jboss.org/browse/RF-11818
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: core
Affects Versions: 4.1.0.Final
Environment: richfaces 4.1.0 + myfaces 2.0.5
Reporter: ravi j
Hi, following exception was thrown on ajax operation(postback). the same page was working well with richfaces 4.0.0.
it was failing in UIDataAdaptor constructor.getFacesContext().getViewRoot() is returning null.
SEVERE: Servlet.service() for servlet faces threw exception
java.lang.NullPointerException
at org.richfaces.component.UIDataAdaptor.<init>(UIDataAdaptor.java:226)
at org.richfaces.component.UISequence.<init>(UISequence.java:52)
at org.richfaces.component.UIRepeat.<init>(UIRepeat.java:38)
at sun.reflect.GeneratedConstructorAccessor127.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:362)
at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:327)
at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.internalRestoreTreeStructure(DefaultFaceletsStateManagementStrategy.java:979)
at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.internalRestoreTreeStructure(DefaultFaceletsStateManagementStrategy.java:989)
at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.restoreView(DefaultFaceletsStateManagementStrategy.java:162)
at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:388)
at org.apache.myfaces.shared_impl.view.ViewDeclarationLanguageBase.restoreView(ViewDeclarationLanguageBase.java:106)
at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.restoreView(FaceletViewDeclarationLanguage.java:1440)
at org.apache.myfaces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:278)
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:83)
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:83)
at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:123)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months