Java error during n...
 
Share:
Notifications
Clear all

15th Feb 2024: Astro Pixel Processor 2.0.0-beta29 released - macOS native File Chooser, macOS CMD-Q fixed, read-only Fits on network fixed and other bug fixes

7th December 2023:  added payment option Alipay to purchase Astro Pixel Processor from China, Hong Kong, Macau, Taiwan, Korea, Japan and other countries where Alipay is used.

 

[Solved] Java error during normalization

12 Posts
5 Users
9 Likes
1,482 Views
(@dominique-mackenzie)
White Dwarf
Joined: 5 years ago
Posts: 13
Topic starter  

using version 1.074.1 Normalisation of a 3 session job bugs out trying to cast a float to a double. have I done something wrong?

Untitled

. Sorry. Forgot to post attachment

Log:

09:06:47 - 2) CALIBRATE: VERIFY CALIBRATION MASTERS: all frames are verified
09:06:47 - FRAME DETAILS UPDATER: starting...
09:06:47 - FRAME DETAILS UPDATER: no new frames to add
09:06:47 - FRAME DETAILS UPDATER: rebuilding all frame details...
09:06:47 - FRAME DETAILS UPDATER: checking if frames were identified earlier...
09:06:47 - FRAME DETAILS UPDATER: adding frame marks...
09:06:47 - FRAME DETAILS UPDATER: updated succesfully
09:06:47 - 5) NORMALIZE: starting...
09:06:47 - 5) NORMALIZE: encountered an execution exception...
09:06:52 - FRAME DETAILS UPDATER: starting...
09:06:52 - FRAME DETAILS UPDATER: no new frames to add
09:06:52 - FRAME DETAILS UPDATER: rebuilding all frame details...
09:06:52 - FRAME DETAILS UPDATER: checking if frames were identified earlier...
09:06:52 - FRAME DETAILS UPDATER: adding frame marks...
09:06:52 - FRAME DETAILS UPDATER: updated succesfully

Job:

Multi Session with 3 sessions of lights, Master darks, Master flats and Master dark flats; one shot colour. One session is binned. 2 bad pixel maps. Did calibrate, analyse stars and register. Execution exception occurs at beginning of the normalize step.

This topic was modified 5 years ago 3 times by DMacK
This topic was modified 5 years ago by Mabula-Admin

   
Mabula-Admin reacted
ReplyQuote
(@1cm69)
Neutron Star
Joined: 6 years ago
Posts: 133
 

Hi,

there are many reports of Java errors in this latest version of APP if you look through the forum. I assume Mabula is aware & working on a fix, I hope so. 😉 

I would imagine that you have just found this error too & it is not something that you have done incorrectly.

Regards..,


   
Mabula-Admin reacted
ReplyQuote
(@vincent-mod)
Universe Admin
Joined: 7 years ago
Posts: 5707
 

If you could provide us with the exact error (maybe a screenshot), that would be handy. Also what kind of data and steps were involved. Thanks! 

ps. Mabula is abroad at the moment, APP is getting so successful he's getting busier. I did notify him about these type of errors, if he has access to his laptop he will probably have a look.


   
Mabula-Admin reacted
ReplyQuote
(@dominique-mackenzie)
White Dwarf
Joined: 5 years ago
Posts: 13
Topic starter  

Think I just found my error.

In reviewing file list I notice the Reference frame was deselected. I selected it and the normalization proceeded.

In the end it was my error but there is an opportunity for error checking at this point.

Thanks for your help.


   
Mabula-Admin reacted
ReplyQuote
(@vincent-mod)
Universe Admin
Joined: 7 years ago
Posts: 5707
 

That's very interesting, is this repeatable? If so, it should be a relative easy bug to squash.


   
Mabula-Admin reacted
ReplyQuote
(@dominique-mackenzie)
White Dwarf
Joined: 5 years ago
Posts: 13
Topic starter  

Yes, this is repeatable. If you attempt normalization with the reference frame unchecked, it provokes and exception error.


   
Mabula-Admin reacted
ReplyQuote
(@vincent-mod)
Universe Admin
Joined: 7 years ago
Posts: 5707
 

Excellent! Let me tag Mabula (@mabula-admin) so he can have a closer look. Might take a while as he's abroad right now.


   
Mabula-Admin reacted
ReplyQuote
(@itarchitectkev)
Neutron Star
Joined: 6 years ago
Posts: 111
 

I just got this error when I'm combining two different fields of view where previously I've used the technique of running through calibrating all my images from one scope, but including a frame from another scope - the idea that the end result is registered according to the same orientation to allow combining. 

No matter the combination of selecting, selecting ref frame, unselecting things - I get Java errors on Normalisation.

Previously I made notes on this process and worked great. I assume something changed with Normalisation between 1.073 and 1.074. I tried 1.074 and 1.074.1.


   
Mabula-Admin reacted
ReplyQuote
(@vincent-mod)
Universe Admin
Joined: 7 years ago
Posts: 5707
 

Ok, check (@Mabula-admin). This suddenly seems to be a very specific error that crops up with very specific data, Mabula already told me this should be possible to solve as it points to the data processing part of the program. I hope he gets to it fast.


   
Mabula-Admin reacted
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 7 years ago
Posts: 4366
 

Hi @dominique-mackenzie, @1cm69, @vincent-mod, @itarchitectkev,

DMacK, Thank you for reporting the issue, I will test today the issue with the unselected reference frame in normalization. Do you know by any chance if this only happens in multi-session mode ?

And I will do additional tests to make sure there are no more such bugs in the normalization engine.

If any of you have a workflow that always gives a bug, please describe it as precise as possible, I will then be able to sort this out very quickly 😉

Apologies for the long delay in my response 😉

Kind regards,

Mabula


   
ReplyQuote
(@dominique-mackenzie)
White Dwarf
Joined: 5 years ago
Posts: 13
Topic starter  

Sorry. We did not do any other testing.


   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 7 years ago
Posts: 4366
 

Hi @dominique-mackenzie, @1cm69, @vincent-mod, @itarchitectkev,

I have located the source of this bug and it is now fixed. APP 1.075 will contain this fix 😉

Previously I made notes on this process and worked great. I assume something changed with Normalisation between 1.073 and 1.074. I tried 1.074 and 1.074.1.

Indeed, this actually is a regression bug caused by optimizing star analysis in 1.074.1,  the star analysis processing in 1.074.1 is done now in floats instead of doubles, and the normalization engine wasn't updated properly for the case of an unselected reference frame. APP will automatically select another reference frame for normalization if the reference for registration is deselected before starting normalization and to be able to do that it needs to read the analytical results from star analysis...

Kind regards,

Mabula


   
ReplyQuote
Share: