java.lang.IllegalArgumentException: -10

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Data pager in icefaces not paging
    via Stack Overflow by wantobegeek
    ,
  • DataPaginator throwing IllegalArgumentException:-10
    via by akshaydeshmukh,
  • DataPaginator throwing IllegalArgumentException:-10
    via by akshaydeshmukh,
  • DataPaginator throwing IllegalArgumentException:-10
    via by akshaydeshmukh,
  • Issue scenario: A dataTable has the capability for a user to remove/add rows. If all table rows are removed and new data is entered in again. The dataPaginator associated with the table throws an IllegalArgumentException: java.lang.IllegalArgumentException: -5 at javax.faces.component.UIData.setFirst(UIData.java:275) at com.icesoft.faces.component.datapaginator.DataPaginator.broadcast(DataPaginator.java:160) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393) 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.Http11AprProcessor.process(Http11AprProcessor.java:859) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555) at java.lang.Thread.run(Thread.java:619)
    via by Arran Mccullough,
  • Issue scenario: A dataTable has the capability for a user to remove/add rows. If all table rows are removed and new data is entered in again. The dataPaginator associated with the table throws an IllegalArgumentException: java.lang.IllegalArgumentException: -5 at javax.faces.component.UIData.setFirst(UIData.java:275) at com.icesoft.faces.component.datapaginator.DataPaginator.broadcast(DataPaginator.java:160) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393) 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.Http11AprProcessor.process(Http11AprProcessor.java:859) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555) at java.lang.Thread.run(Thread.java:619)
    via by Arran Mccullough,
  • dataPaginator: Illegal value for first row: -15
    via by dave.rogers,
  • After upgrade from icefaces-ee-3.3.0.GA_P01 to icefaces-ee-3.3.0.GA_P02 there is a strange exception for some views. But only first time during the session. The second time the view is shown correctly without any problem. 14:38:43,990 SCHWERWIEGEND [javax.enterprise.resource.webcontainer.jsf.application] (http--0.0.0.0-8080-1) Error Rendering View[/pages/common/ResourcesRolesMappings.xhtml]: java.lang.IllegalArgumentException: -1 at javax.faces.component.UIData.setFirst(UIData.java:274) [jsf-api-2.1.28.jar:2.1] at org.icefaces.impl.component.UISeriesBase.restoreSeriesState(UISeriesBase.java:789) [icefaces-ee-3.3.0.GA_P02.jar:] at org.icefaces.impl.component.UISeriesBase.restoreChild(UISeriesBase.java:757) [icefaces-ee-3.3.0.GA_P02.jar:] at org.icefaces.impl.component.UISeriesBase.restoreChildState(UISeriesBase.java:693) [icefaces-ee-3.3.0.GA_P02.jar:] at org.icefaces.impl.component.UISeriesBase.restoreChildState(UISeriesBase.java:696) [icefaces-ee-3.3.0.GA_P02.jar:] at org.icefaces.impl.component.UISeriesBase.restoreChildrenState(UISeriesBase.java:680) [icefaces-ee-3.3.0.GA_P02.jar:] at org.icefaces.impl.component.UISeriesBase.setRowIndex(UISeriesBase.java:127) [icefaces-ee-3.3.0.GA_P02.jar:] at org.icefaces.impl.component.UISeriesBase.visitRows(UISeriesBase.java:1209) [icefaces-ee-3.3.0.GA_P02.jar:] at org.icefaces.impl.component.UISeriesBase.visitTree(UISeriesBase.java:1065) [icefaces-ee-3.3.0.GA_P02.jar:] at javax.faces.component.UIComponent.visitTree(UIComponent.java:1663) [jsf-api-2.1.28.jar:2.1] at javax.faces.component.UIComponent.visitTree(UIComponent.java:1663) [jsf-api-2.1.28.jar:2.1] at javax.faces.component.UIForm.visitTree(UIForm.java:371) [jsf-api-2.1.28.jar:2.1] at javax.faces.component.UIComponent.visitTree(UIComponent.java:1663) [jsf-api-2.1.28.jar:2.1] at javax.faces.component.UIComponent.visitTree(UIComponent.java:1663) [jsf-api-2.1.28.jar:2.1] at javax.faces.component.UIComponent.visitTree(UIComponent.java:1663) [jsf-api-2.1.28.jar:2.1] at javax.faces.component.UIComponent.visitTree(UIComponent.java:1663) [jsf-api-2.1.28.jar:2.1] at com.sun.faces.application.view.FaceletPartialStateManagementStrategy.saveView(FaceletPartialStateManagementStrategy.java:472) [jsf-impl-2.1.28.jar:2.1.28] at com.sun.faces.application.StateManagerImpl.saveView(StateManagerImpl.java:89) [jsf-impl-2.1.28.jar:2.1.28] at com.sun.faces.application.view.WriteBehindStateWriter.flushToWriter(WriteBehindStateWriter.java:225) [jsf-impl-2.1.28.jar:2.1.28] at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:464) [jsf-impl-2.1.28.jar:2.1.28] at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125) [jsf-impl-2.1.28.jar:2.1.28] at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286) [jsf-api-2.1.28.jar:2.1] at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286) [jsf-api-2.1.28.jar:2.1] at org.apache.myfaces.tomahawk.application.ResourceViewHandlerWrapper.renderView(ResourceViewHandlerWrapper.java:93) [tomahawk20-1.1.13.jar:1.1.13] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) [jsf-impl-2.1.28.jar:2.1.28] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.28.jar:2.1.28] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.28.jar:2.1.28] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jsf-api-2.1.28.jar:2.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:] at de.jtel.webapp.common.AccessFilter.doFilter(AccessFilter.java:133) [classes:] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:] at de.jtel.webapp.common.RewriteFilter.doFilter(RewriteFilter.java:90) [classes:] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:] at de.jtel.webapp.common.LoggingFilter.doFilter(LoggingFilter.java:53) [classes:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
    via by Lewis Graham,
    • java.lang.IllegalArgumentException: -10 at javax.faces.component.UIData.setFirst(UIData.java:275) at com.icesoft.faces.component.datapaginator.DataPaginator.broadcast(DataPaginator.java:160)
    No Bugmate found.