question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Aggregation Method Combo Box IndexOutOfBounds Exception

See original GitHub issue

Prerequisites

Description

In the Analytic View, when attempting to change the Aggregation Method combo box after making a selection of nodes/transactions on the graph an IndexOutOfBounds Exception is thrown. An Analytic must be chosen from the categories above the combo box for the exception to occur.

Steps to Reproduce

  1. Open a Sphere Graph and the Analytic View
  2. Choose an analytic from the categories list
  3. Make a selection on the graph and attempt to change the aggregation method combo box

Expected behaviour: The combo box to update to the new value

Actual behaviour: An IndexOutOfBounds Exception is thrown

Reproduces how often: 100%

Additional Information

Example of the bug:

aggregationLevel2

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Delphinus8821commented, Dec 10, 2020

@arcturus2 I did some testing and could not reproduce the issue on version 2.0. In version 2.0, when making a selection of transactions on a graph the aggregation combo box would reset to displaying as empty but the rest of the functionality still worked and a value was able to be reselected. @Polaris5514 was looking into this issue for a while with the now fixed issue #842, so this issue has been present for ~2 months.

0reactions
Nova-2119commented, Dec 18, 2020

Currently I would bet that the issue is actually AnalyticViewTopComponent:127-131. In this bit of code createParameters() is called but if you look at the javadoc for it it says: “This method will only be called once and the results will be cached for future use.” Which makes it seem like it shouldn’t be getting called here and instead we should be updating the parameters a different way.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JavaFX IndexOutOfBoundsException when calling ComboBox ...
I have a ComboBox with some Integers, e.g. lets say 3 Integer 1,2 and 3. When the user selects one of them the...
Read more >
IndexOutOfBoundsException (Java Platform SE 7 )
Constructs an IndexOutOfBoundsException with the specified detail message. Method Summary. Methods inherited from class java.lang.Throwable · addSuppressed, ...
Read more >
out of bounds. Index 0 for empty list." | OutSystems
If you want to display all Sheet1, then an Aggregate is the right choice to read them, but accessing them by indexing the...
Read more >
Levenshtein Distance Single Choice fields resets everytime a ...
The Aggregation method selection will also throw an IndexOutOfBounds Exception when the change of selection occurs.
Read more >
Accessors and Mutators
To use one of the methods of an object element of an array: ... If index > myList.size(), the method throws an IndexOutOfBounds...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found