Null Pointer except...
 
Share:
Notifications
Clear all

19 June 2021: Our upload server https://upload.astropixelprocessor.com/ has been migrated successfully to our new office with higher upload and download speeds (nearly 10MByte/sec up/down ) ! We now have 1 general upload user called: upload with password: upload. The users upload1 - upload5 have been disabled.

31 May 2021: APP 1.083-beta2 has been released ! APP 1.083 stable will follow soon afterwards. It includes a completely new Star Reducer Tool, New File Saver Module, Improved Comet registration and much more, check the release notes here!

DOWNLOADS are available HERE!

 

Null Pointer exception  

Page 2 / 2
  RSS

(@gotak)
White Dwarf Customer
Joined: 3 years ago
Posts: 17
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: 3 years ago
Posts: 17
August 21, 2019 05:47  

Cal frames are being uploaded.


ReplyQuote
(@vincent-mod)
Universe Admin
Joined: 4 years ago
Posts: 3694
August 21, 2019 10:46  

Thanks a lot @gotak! Hopefully they will help.


ReplyQuote
(@gotak)
White Dwarf Customer
Joined: 3 years ago
Posts: 17
August 23, 2019 05:52  

So still no idea what the cause is?


ReplyQuote
(@vincent-mod)
Universe Admin
Joined: 4 years ago
Posts: 3694
August 23, 2019 12:27  

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


ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 4 years ago
Posts: 2692
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


ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 4 years ago
Posts: 2692
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


ReplyQuote
(@jamesmrobins)
White Dwarf Customer
Joined: 3 years ago
Posts: 10
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 2 years ago by jamesmrobins

ReplyQuote
(@gotak)
White Dwarf Customer
Joined: 3 years ago
Posts: 17
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
(@lantictac)
Hydrogen Atom Customer
Joined: 2 years ago
Posts: 1
March 28, 2021 07:41  

@jamesmrobins Thanks for the workaround!

I ran into exactly the same issue. Tested using 1.083b1 on Windows.


ReplyQuote
(@vincent-mod)
Universe Admin
Joined: 4 years ago
Posts: 3694
March 28, 2021 14:13  

I'll forward this to Mabula, maybe something that can be optimized.


ReplyQuote
(@jamesmrobins)
White Dwarf Customer
Joined: 3 years ago
Posts: 10
July 21, 2021 23:22  

In 1.083b1 and 1.083b2 the error occurs if any frame failed registration, even if that frame is then removed from the list and integration is re-started.


ReplyQuote
Page 2 / 2
Share: