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.

Analytic View Pane Null Pointer

See original GitHub issue

Prerequisites

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

  1. Open Analytic View
  2. Open Categories and Questions
  3. Select/Deselect various plugins and parameters (Exception may have occurred here)
  4. 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:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
antares1470commented, May 14, 2020

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.

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)

1reaction
formalhaut69commented, May 14, 2020

@formalhaut69 I know this was a little bit ago but do you happen to remember exactly which analytics in the centrality category you selected when the error occurred?

Also when trying to reproduce the error, did you close Constellation between each attempt or just close the graph between each attempt?

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.

Read more comments on GitHub >

github_iconTop 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 >

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