Null Pointer except...
 
Share:

Null Pointer exception  

Page 2 / 2
  RSS

(@gotak)
White Dwarf Customer
Joined: 1 year ago
Posts: 15
August 21, 2019 05:44  

I can upload the calibration frames. I did not see any issue with calibration.

The settings are the same as when I do a regular integration but just with the registration and integration setting changed to mosaic settings. So I doubt the settings other the the mosaic specific ones are the issue.

So I used the default setting with the following changes:

Normally used:

  1. BGGR and force CFA
  2. Adaptive pedestal checked
  3. Sigma clip calibration frames (Bias, Flat and Dark)
  4. LN Sigma clip for integration

For mosaic:

  1. Set star num to 2500
  2. 2nd degree LNC
  3. MBB set to 10%
  4. use dynamic distortion correction

ReplyQuote
(@gotak)
White Dwarf Customer
Joined: 1 year ago
Posts: 15
August 21, 2019 05:47  

Cal frames are being uploaded.


ReplyQuote
(@vincent-mod)
Galaxy Moderator
Joined: 2 years ago
Posts: 725
August 21, 2019 10:46  

Thanks a lot @gotak! Hopefully they will help.


ReplyQuote
(@gotak)
White Dwarf Customer
Joined: 1 year ago
Posts: 15
August 23, 2019 05:52  

So still no idea what the cause is?


ReplyQuote
(@vincent-mod)
Galaxy Moderator
Joined: 2 years ago
Posts: 725
August 23, 2019 12:27  

Bug hunting, especially when it's not consistent takes time.. 🙂


ReplyQuote
(@mabula-admin)
Quasar Admin
Joined: 2 years ago
Posts: 2127
August 23, 2019 19:52  

Hi @gotak,

I am trying to reproduce the issue right now with your calibration frames, I will let you know what I find 😉

Mabula

Main developer of Astro Pixel Processor and owner of Aries Productions


ReplyQuote
(@mabula-admin)
Quasar Admin
Joined: 2 years ago
Posts: 2127
August 23, 2019 21:28  
Posted by: @gotak

I can upload the calibration frames. I did not see any issue with calibration.

The settings are the same as when I do a regular integration but just with the registration and integration setting changed to mosaic settings. So I doubt the settings other the the mosaic specific ones are the issue.

So I used the default setting with the following changes:

Normally used:

  1. BGGR and force CFA
  2. Adaptive pedestal checked
  3. Sigma clip calibration frames (Bias, Flat and Dark)
  4. LN Sigma clip for integration

For mosaic:

  1. Set star num to 2500
  2. 2nd degree LNC
  3. MBB set to 10%
  4. use dynamic distortion correction

Hi @gotak, @jamesmrobins & @vincent-mod,

Hmm,  I have just run Gotak's data including his calibration data (masterbias, masterdark & created a masterflat from the individual flats) and no nullpointer occured. I have used the settings that Gotak indicated...

Maybe, there is another setting that is overlooked? How about the LN sigma clipping settings? Just 1 iterations with sigma 3, or more iterations and lower sigma ?

Mabula

Main developer of Astro Pixel Processor and owner of Aries Productions


ReplyQuote
(@jamesmrobins)
Brown Dwarf Customer
Joined: 1 year ago
Posts: 6
August 25, 2019 00:32  

@mabula-admin @gotak 

I think I found it! At least for me...

I have frames loaded but not selected. Registration reports that frames that are not selected "Can't be registered" (of course, there should be no attempt to register them) - see attached screen shot. If this occurs then Integration fails with the Null Pointer Exception previously reported.

BUT If I only load the frames that I intend to integrate and select all those files, then there are no errors reported at registration and integration succeeds.

Settings are exactly the same in both instances - the only difference is that I have frames loaded that I don't have checked. This explains why it was intermittent for me.

Screen Shot 2019 08 25 at 8.21.25 am

------

Settings:

I have 12Gb allocated to APP. I restarted APP after creating the panels to ensure default settings were applied then changed the following:

Analyse Stars: 2500

Register: Scale Stop 10, file descriptors on, use dynamic distortion correction on, same camera/optics off, Mosaic mode

Normalize: multiply-scale

Integrate: equal weight, medium, Not LNC, MBB 30%, Scale 0.3

 

 

This post was modified 4 weeks ago by jamesmrobins

ReplyQuote
(@gotak)
White Dwarf Customer
Joined: 1 year ago
Posts: 15
August 25, 2019 04:44  

@jamesmrobins

Well that should help. I did have 1 frame that failed to register in my full set. So I think you managed to find the root cause. Good job!

@Mabula 

I was going to do a stack trace if I could but since James seems to have found the problem... maybe future versions should have better logging? Null pointers sucks but usually it's shouldn't be this hard to figure out in java program.


ReplyQuote
Page 2 / 2
Share: