Unhandled NullPoint...
 
Share:
Notifications
Clear all

Unhandled NullPointerException in CreateCalibrationDetails  

  RSS

(@mountainair)
Brown Dwarf Customer
Joined: 6 months ago
Posts: 8
February 22, 2021 03:42  

I unfortunately captured my lights at the wrong gain compared to my flats, darks, dark flats.  I understand I can't calibrate the lights with these masters, but the application should probably tell the user that vs throwing the javascript error below.  Also, it might be interesting to give the user a choice, just to see how it turns out.  My gain is only slightly off.

 

Encountered error in module:

CreateCalibrationDetails

 

Error Message: java.lang.NullPointerException

Cause:

null

bV.a(Unknown Source)

bV.doInBackground(Unknown Source)

javax.swing.SwingWorke$1.call(SwingWorker.java:295)

java.util.concurrent.FutureTask.run(FutureTask.java:266)


ReplyQuote
(@vincent-mod)
Universe Admin
Joined: 4 years ago
Posts: 3216
February 22, 2021 12:31  

Yes, that would be a better flow, I agree. A somewhat more readable error maybe. 🙂 We aren't changing the rules of the program in the sense of giving the user a choice to use data that doesn't work with calibration, it wouldn't result into data that is nice to look at. In cases like this it's better not to calibrate at all or at least retake the bias and darks with another gain.


ReplyQuote
Share: