Analytic View Pane Null Pointer
See original GitHub issuePrerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Running the latest version of Constellation
- Attached the Support Package via
Help
>Support Package
- Checked the FAQs: https://github.com/constellation-app/constellation/wiki/FAQ
- Checked that your issue isn’t already filed: https://github.com/constellation-app/constellation/issues
- Checked that there is not already a module that provides the described functionality: https://github.com/constellation-app/constellation/wiki/Catalogue-of-Repositories
Description
A null pointer with the below stack trace occurs when no graph is opened, and categories or questions are opened and selected/deselected. I then opened a new blank graph and noticed the exception. I did not notice the exact point in time which this occurred - but it does happen.
java.lang.NullPointerException
at au.gov.asd.tac.constellation.views.analyticview.AnalyticConfigurationPane.lambda$updateSelectablePluginsParameters$29(AnalyticConfigurationPane.java:528)
at java.base/java.lang.Iterable.forEach(Unknown Source)
at au.gov.asd.tac.constellation.views.analyticview.AnalyticConfigurationPane.updateSelectablePluginsParameters(AnalyticConfigurationPane.java:524)
at au.gov.asd.tac.constellation.views.analyticview.AnalyticConfigurationPane.setPluginsFromSelectedQuestion(AnalyticConfigurationPane.java:509)
at au.gov.asd.tac.constellation.views.analyticview.AnalyticConfigurationPane.lambda$new$17(AnalyticConfigurationPane.java:236)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
[catch] at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Steps to Reproduce
- Open Analytic View
- Open Categories and Questions
- Select/Deselect various plugins and parameters (Exception may have occurred here)
- Open a new blank graph. (Exception may have occurred here)
The exact replicator is not known. Running .exe of 2.0 beta Expected behaviour: No exception
Actual behaviour: Exception - Null pointer
Reproduces how often: Only appeared once
Additional Information
Does not appear to occur in previous releases
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
AM Impl- View Object not found- Null pointer exception
This opens a pane showing all public available methods (which are part of the client interface). Select your method from the method select...
Read more >JavaFX8 Null Pointer Exception while loading an FXML file ...
Once the Menu.fxml is loaded, I have a button in Menu.fxml which when clicked should load an fxml file (One.fxml) in the centre...
Read more >Eclipse Platform » Console view causes null pointer exception
Hi. I am using linux with the newest kernel and the newest updated version of eclipse (Helios), and I use axis2 version 1.5.1...
Read more >54804 - A null-pointer exception occurs in the SAS® 9.4 Web ...
In the first maintenance release for SAS 9.4, a null-pointer exception occurs when you select Users in the left navigation pane of the...
Read more >Thread: Null pointer exception in strange place in tableOutput
Null pointer exception in strange place in tableOutput. Hi, Saw this in our test env last night, one off failure, it seems to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cheers @formalhaut69. I’m just looking for more reliable ways of replicating the bug. It sounds like you’ve exhausted most of the options though so I guess my primary focus will be on the stack trace that you and @aldebaran30701 managed to get (maybe I’ll get lucky and replicate it myself)
Sorry @antares1470 I don’t remember which options I selected. At first I was just selecting options at random which got it to occur. I had another go at this issue a few weeks ago and I went through and tested each section by selecting each option from it, then I selected a bunch at random again and still couldn’t reproduce it ☹️.
I was doing both, I tried a few times just closing the graph and then I would restart constellation. If I recall correctly, the one time I reproduced it, it occurred right after I had relaunched constellation.