我有这个问题,我无法找到解决方法。我有一个动态网格,其中包含允许选择选项,我有过滤器,如果他们更改了网格,则重新加载并且可能比以前的行少。当我选择一行时出现问题,例如数字10,然后我重新加载网格,并且只有例如4行。当我试图把#34; Apply" (它适用于过滤器并重新加载网格)它发送着名的" ArrayIndexOutOfBoundsException"。这是因为它会记住所选的最后一行。有没有办法清理它?要忘记所选的行?
我正在使用GeneXus X Evolution 1版本10.1.32504 U2.5
这是错误跟踪:
javax.servlet.ServletException: java.lang.ArrayIndexOutOfBoundsException: 9 >= 6
at java.util.Vector.elementAt(Unknown Source)
at com.genexus.GXObjectCollectionBase.elementAt(GXObjectCollectionBase.java:424)
at com.si.ayc.aycampliacionesgeneralpaso1_43_impl.strup8N0(aycampliacionesgeneralpaso1_43_impl.java:1008)
at com.si.ayc.aycampliacionesgeneralpaso1_43_impl.start8N2(aycampliacionesgeneralpaso1_43_impl.java:305)
at com.si.ayc.aycampliacionesgeneralpaso1_43_impl.executeStartEvent(aycampliacionesgeneralpaso1_43_impl.java:137)
at com.si.ayc.mpprincipalayc_impl.start042(mpprincipalayc_impl.java:216)
at com.si.ayc.mpprincipalayc_impl.ws042(mpprincipalayc_impl.java:225)
at com.si.ayc.mpprincipalayc_impl.webExecute(mpprincipalayc_impl.java:56)
at com.si.ayc.aycampliacionesgeneralpaso1_43_impl.webExecute(aycampliacionesgeneralpaso1_43_impl.java:110)
at com.genexus.webpanels.GXWebObjectBase.doExecute(GXWebObjectBase.java:177)
at com.si.ayc.aycampliacionesgeneralpaso1_43.doExecute(aycampliacionesgeneralpaso1_43.java:21)
at com.genexus.webpanels.GXWebObjectStub.callExecute(GXWebObjectStub.java:44)
at com.genexus.webpanels.GXWebObjectStub.doPost(GXWebObjectStub.java:18)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:402)
at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:170)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:157)
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:131)
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:128)
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:286)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Unknown Source)
感谢您阅读并尝试提供帮助。
和Manuela