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.

 

Java error message in Integration

14 Posts
4 Users
3 Likes
880 Views
(@jochen-scharmann)
Neutron Star
Joined: 5 years ago
Posts: 82
Topic starter  

Hi, 

I am receiving a strange error while trying to do a double-stack (one for Luminance, one for RGB, shot with different filters). I have completed Luminance and now selected the Luminance reference frame for Color stack Registration as well. Color stack Registration  went fine, as well as Color stack Normalization. After starting Integration, I get the following error which doesn't mean anything to me: 

Encountered error in module:
ImageNormalizer

Error message:
java.lang.NullPointerException: Cannot load from object array because "this.a" is null

Cause:
Cannot load from object array because "this.a" is null
m.a(Unknown Source)
m.doInBackground(Unknown Source)
java.desktop/javax.swing.SwingWorker$1.call(Unknown Source)
java.base/java.util.concurrent.FutureTask.run(Unknown Source)

 

I have no clue what "this.a", "M.a" and "m.do" might are. In the console, APP is just trying to load the reference frame at this point. I'm not sure if I understand why it worked for Registration & Normalization, but is failing now.

Any help, please?

 

Jochen


   
ReplyQuote
(@wvreeven)
Quasar
Joined: 6 years ago
Posts: 2133
 

@jochen-scharmann Java error messages unfortunately can be very cryptic and unfortunately it is impossible to know what it means without running APP in a debugger.

Perhaps you can explain what you are trying to do so we can help you improve your workflow. If I understand your description well, you want to do one L integration and one RGB integration where the latter uses R, G and B lights, correct? And such that the RGB integration is aligned with the L integration, right? Probably the easiest way to do this is to load all L files into session 1 and all R, G and B fles into session 2. Then go straight to tab 6 and choose the following settings at the top:

Screenshot 2022 08 11 at 12.03.27

Then simply go to the bottom of tab 6 and click the integrate button. APP will execute all intermediary steps, including selecting the best light for reference, all by itself and will produce one L and one RGB integration.

HTH, Wouter


   
ReplyQuote
(@jochen-scharmann)
Neutron Star
Joined: 5 years ago
Posts: 82
Topic starter  

@wvreeven

Thanks Wouter for the response. I will certainly try that and let You know.

What i am trying to do: I have a number of douband filter subs Which I want to use as L. For Color, I will use subs shot with a Clear( UV/IR) filter. All subs are RGB using DSLR. I have all subs still loaded in APP, but the error seems to block it (hung up) Do I have to re-calibrate/analyze/register&normalize all of those subs again when loading new? or can I just save the already registered subs of the color stack and load those?

Thanks,

Jochen


   
ReplyQuote
(@wvreeven)
Quasar
Joined: 6 years ago
Posts: 2133
 

@jochen-scharmann Hi Jochen,

If APP is completely blocked then you'll need to kill it and start from scratch, sorry.

Wouter


   
ReplyQuote
(@jochen-scharmann)
Neutron Star
Joined: 5 years ago
Posts: 82
Topic starter  

Hi Wouter,

yes I did and Your approach went OK for both integration sessions. However with 600 frames its a heavy lift even with 64GB Ram and 300 GB available storage. Both numbers ran into red territory during integration, but finally it got done. First time I got behind the multiple session, thanks! Will need to see what I may do with it in post.

Cheers,

Jochen


   
ReplyQuote
(@wvreeven)
Quasar
Joined: 6 years ago
Posts: 2133
 

@jochen-scharmann Another possibility may be to process the "L" and RGB images separately. Then you can load the two integration results (one for "L" and one for RGB) without loading calibration data as lights and register them against each other. Then you can cave the registered files and use those for post processing.


   
ReplyQuote
(@jochen-scharmann)
Neutron Star
Joined: 5 years ago
Posts: 82
Topic starter  

@wvreeven OK, got it - I need to re-load the results as lights. I first tried to use the existing integration results in file mapper which produces the "Analyze Stars first"- error. Thanks again for Your help.

Jochen


   
ReplyQuote
(@jochen-scharmann)
Neutron Star
Joined: 5 years ago
Posts: 82
Topic starter  

Hi,

providing more detail on this error: It occurs when I load an integration file as light, along with other lights,  choose the integration file (light) as reference after star analysis and try to integrate other lights after successful calibration, registration & normalization.

The very step the console output is thrown off after clicking INTEGRATE in tab 6 says something like "loading  reference frame to get adaptive pedestal level..." and the error insist that "this.a is null" I hope this is detailed enough for You to reproduce this scenario so it may create a meanigful error message - it is not that urgent, I can get along using the "Integrate All" method.

Maybe I try to individually register two integrations and finally re-load both as lights to register against each other.

Jochen


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

That's a very interesting situation, would you be able to upload the integrated file and some lights for us to test this? That may be a bug perhaps.


   
ReplyQuote
(@jochen-scharmann)
Neutron Star
Joined: 5 years ago
Posts: 82
Topic starter  

Would like to but sorry i can't log in. File station says it was sending something to my mobile and I should click the number sent in some App - just that I am lucky not using a smartphone, just  a simple mobile. So I would need to have some key sent to my e-mail to be entered online as most other providers do

 

Cheers,

Jochen


   
ReplyQuote
(@gary-clayton)
Main Sequence Star
Joined: 4 years ago
Posts: 23
 

@jochen-scharmann I just checked the upload for you and had no issues logging in, suggest that you try again


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

That's strange, that would be a 2-factor request probably, but I don't get that on the upload server, are you sure you're using the link I mention above and the username and password that's simply called: upload?


   
ReplyQuote
(@jochen-scharmann)
Neutron Star
Joined: 5 years ago
Posts: 82
Topic starter  

Vincent,

the issue was my computer auto-filled my name as username. Using upload / upload it worked now. I provided 5 Lights for the "color" stack, along with  matching MasterDark & MasterFlat (which had been calibrated using matching Flatdarks beforehand). Also upload is the "luminance" Integration (made of 2 nights) which I tried to load as Light, analyzed,  and chose as reference frame then registered and normalized successfully, before integration produced above error ( I also tried with other Luminance Integration out of just 1 night which have basically the same dimensions), still producing the same error.

Good Luck debugging...

Jochen 


   
ReplyQuote
(@jochen-scharmann)
Neutron Star
Joined: 5 years ago
Posts: 82
Topic starter  

Oh, I forgot to mention I was using the MacOS ARM 64 bit version on a Mac Studio w/ M1 Max & 64 GB Ram...

OS is Monterrey 12.5

Jochen


   
ReplyQuote
Share: