Find causing a null pointer error
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
Constellation is throwing a NullPointerException from the Find View: au.gov.asd.tac.constellation.find.advanced.FindRule.getFloatFirstArg(FindRule.java:398)
Steps to Reproduce
- [First Step]
- [Second Step]
- [and so on…]
Expected behaviour: Find doesn’t throw a null pointer exception
Actual behaviour: Find throws a null pointer exception
Reproduces how often: 100%
Additional Information
N/A
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
java - What is a NullPointerException, and how do I fix it?
Here, we see that the exception is thrown on line 13 (in the printString method). Look at the line and check which values...
Read more >How to Fix and Avoid NullPointerException in Java - Rollbar
The NullPointerException occurs due to a situation in application code where an uninitialized object is attempted to be accessed or modified.
Read more >Java NullPointerException - Detect, Fix, and Best Practices
Detecting NullPointerException is very easy, just look at the exception trace and it will show you the class name and line number of...
Read more >Null Pointer Exception In Java - GeeksforGeeks
NullPointerException is thrown when program attempts to use an object reference that has the null value. These can be: Invoking a method from...
Read more >How to deal with NullPointerException in Java with Examples
This is probably the most common cause of this error, you call method on some object and found that the reference is null,...
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
@arcturus2 I had the changes on my machine so I’ve made a pull request with them.
OK thanks @formalhaut69. I wasn’t able to reproduce the original issue anymore either.