You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"message": "interceptedGenePanelDataMultipleStudyFilter size must be between 1 and 10000000"
}
Question
Why does interceptedGenePanelDataMultipleStudyFilter require a size between 1 and 10,000,000?
Context
We set up an empty cBioPortal instance, loading only study metadata and clinical data, without any gene panel data (as we don't have it available currently).
After setting this up, when accessing the study view page, it shows an error page.
Investigation
Upon further investigation, the error originates from the following file in the cBioPortal codebase:
File Path: GenePanelDataController.java
Relevant Code (Line 87):
if (CollectionUtils.isEmpty(interceptedGenePanelDataMultipleStudyFilter.getMolecularProfileIds())) {
// Error occurs here
}
When the payload's molecularProfileIds is empty, getMolecularProfileIds() returns null. Since the program expects a collection or list, this causes an error.
The text was updated successfully, but these errors were encountered:
Issue with
gene-panel-data/fetch
API WhenmolecularProfileIds
is EmptyI am facing an issue when using the API
gene-panel-data/fetch
with an emptymolecularProfileIds
array as the request payload.Working Example
The following request works correctly:
Problematic Request
When we change the request payload to have an empty molecularProfileIds array:
The API responds with an error:
Question
Why does interceptedGenePanelDataMultipleStudyFilter require a size between 1 and 10,000,000?
Context
We set up an empty cBioPortal instance, loading only study metadata and clinical data, without any gene panel data (as we don't have it available currently).
After setting this up, when accessing the study view page, it shows an error page.
Investigation
Upon further investigation, the error originates from the following file in the cBioPortal codebase:
File Path: GenePanelDataController.java
Relevant Code (Line 87):
When the payload's molecularProfileIds is empty, getMolecularProfileIds() returns null. Since the program expects a collection or list, this causes an error.
The text was updated successfully, but these errors were encountered: