Project

General

Profile

Actions

Bug #14186

open

Horizontal scrolling issue when there are many table columns

Added by Marnik Roosen 2 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
12/05/2025
Due date:
% Done:

0%

Estimated time:

Description

Scrolling horizontally in a WTableView with 90+ columns resulted in the following exception:

eu.webtoolkit.jwt.WtException: Jsignal: not enough arguments in JavaScript call
    at eu.webtoolkit.jwt.AbstractJSignal.unMarshal(AbstractJSignal.java:88)
    at eu.webtoolkit.jwt.JSignal4.processDynamic(JSignal4.java:128)
    at eu.webtoolkit.jwt.WebSession.processSignal(WebSession.java:2041)
    at eu.webtoolkit.jwt.WebSession.notifySignal(WebSession.java:2145)
    at eu.webtoolkit.jwt.WebSession.notify(WebSession.java:564)
    at eu.webtoolkit.jwt.WApplication.notify(WApplication.java:2650)
    at com.genomedetective.database.gui.widgets.generic.DboApplication.doNotify(DboApplication.java:47)
    at com.genomedetective.database.gui.DbApplication.doNotify(DbApplication.java:247)
    at com.genomedetective.database.gui.widgets.generic.DboApplication.lambda$notify$0(DboApplication.java:37)
    at com.genomedetective.core.db.Database.inTransaction(Database.java:515)
    at com.genomedetective.database.gui.widgets.generic.DboApplication.notify(DboApplication.java:35)
    at eu.webtoolkit.jwt.WebSession.handleRequest(WebSession.java:1671)
    at eu.webtoolkit.jwt.WtServlet.doHandleRequest(WtServlet.java:380)
    at eu.webtoolkit.jwt.ServletApi.handleRequest(ServletApi.java:213)
    at eu.webtoolkit.jwt.ServletApi$4.run(ServletApi.java:289)
    at org.apache.catalina.core.AsyncContextImpl$RunnableWrapper.run(AsyncContextImpl.java:561)
    at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
    at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
    at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
    at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
    at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
    at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
    at java.base/java.util.Objects.checkIndex(Objects.java:374)
    at java.base/java.util.ArrayList.get(ArrayList.java:459)
    at eu.webtoolkit.jwt.AbstractJSignal.unMarshal(AbstractJSignal.java:58)
    ... 19 more

The concrete problem is that the scroll update signal request is parsed, and failed to find the arguments.
The request itself did send the arguments:

request=jsupdate&ackId=-495691104&pageId=1&Wt-params=&signal=user&id=oa4ee48ed&name=scrolled&an=4&a0=13555&a1=973&a2=1096&a3=378
&oa4ee4dd6=0%3B0&oa4ee4d1d=0%3B0&oa4ee4e3f=0%3B0&oa4ee4c7f=0% ... (continues for 13k lines)

Possibly an argument parsing issue due to the length of the request?

No data to display

Actions

Also available in: Atom PDF