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.

Find causing a null pointer error

See original GitHub issue

Prerequisites

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

  1. [First Step]
  2. [Second Step]
  3. [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:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
formalhaut69commented, Apr 8, 2020

@serpens24 would you be able to upload the fix you have made so far. That will help me out to get a reproducer of the original issue. Thank you.

@arcturus2 I had the changes on my machine so I’ve made a pull request with them.

0reactions
arcturus2commented, Apr 9, 2020

OK thanks @formalhaut69. I wasn’t able to reproduce the original issue anymore either.

Read more comments on GitHub >

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

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