NullPointerExceptio...
 
Share:
Notifications
Clear all

May 27 2026 APP 2.0.0-beta45 has been released !

Fully Multi-Threaded LNC, many improvements for the registration engine, platform upgrade, and further tuning of internal memory consumption and memory release back to OS.

Apr 14 2026: Google Pay, Apple Pay & WeChat Pay added as payment options

Update on the 2.0.0 release & the full manual

We are getting close to the 2.0.0 stable release and the full manual. The manual will soon become available on the website and also in PDF format. Both versions will be identical and once released, will start to follow the APP release cycle and thus will stay up-to-date to the latest APP version.

Once 2.0.0 is released, the price for APP will increase. Owner's license holders will not need to pay an upgrade fee to use 2.0.0, neither do Renter's license holders.

 

NullPointerException in Batch Crop

1 Posts
1 Users
0 Reactions
13 Views
(@museceleste)
Red Giant
Joined: 4 years ago
Posts: 37
Topic starter  

Hello

I keep getting the following error when I batch crop images; typically they are normalized Broadband (OSC) and Narrowband (dual NB) Fit files. This started to occur at beta44 (wasn't a problem before) and it is still there in beta45. It occurs NOT during the crop but during the save... Here is the error in beta44:

---
Astro Pixel Processor - 2.0.0-beta44
Oracle JDK 26.0.1 - Windows-64-bit

Encountered error in module:
FileDetailListUpdater

Error message:
java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "this.a[<local25>]" is null

Cause:
Cannot invoke "String.equals(Object)" because "this.a[<local25>]" is null
astropixelprocessor@2.0.0-beta44/com.ariesproductions.frameDetails.t.a(FileDetailListUpdater.java:437)
astropixelprocessor@2.0.0-beta44/com.ariesproductions.frameDetails.t.doInBackground(FileDetailListUpdater.java:39)
java.desktop/javax.swing.SwingWorker$1.call(Unknown Source)
java.base/java.util.concurrent.FutureTask.run(Unknown Source)
---

Please note, however, that as far as I can tell, the crops appear to have been successful.

Here is the log portion (I added the "arrows"):
---
11:57:24 - Batch crop tool: processed frame 2 of 3 frames - W:\AstroPhoto\IC5070 Pelican\Integrate\A+B\A\03 Crop\IC_5070_A-Multi-NB-Ha-02_graxpert_Prism-crop.fits
11:57:24 - Batch crop tool: processing frame 3 of 3 frames...
11:57:24 - GENERAL IMAGE LOADER: loading frame W:\AstroPhoto\IC5070 Pelican\Integrate\A+B\A\02 Grax Prism\IC_5070_A-Multi-NB-O3-02_graxpert_Prism.fits
11:57:24 - FITS FRAME SAVER: W:\AstroPhoto\IC5070 Pelican\Integrate\A+B\A\03 Crop\IC_5070_A-Multi-NB-Ha-02_graxpert_Prism-crop.fits : finished successfully
11:57:24 - GENERAL FRAME SAVER: null : finished successfully
11:57:25 - GENERAL IMAGE LOADER: frame W:\AstroPhoto\IC5070 Pelican\Integrate\A+B\A\02 Grax Prism\IC_5070_A-Multi-NB-O3-02_graxpert_Prism.fits was loaded successfully
11:57:26 - GENERAL FRAME SAVER: file name: IC_5070_A-Multi-NB-O3-02_graxpert_Prism-crop
11:57:26 - GENERAL FRAME SAVER: directory: W:\AstroPhoto\IC5070 Pelican\Integrate\A+B\A\03 Crop
11:57:26 - GENERAL FRAME SAVER: file type: FITS
11:57:26 - GENERAL FRAME SAVER: bit depth: 32 bits floats
11:57:26 - GENERAL FRAME SAVER: DPI (Dots Per Inch): 72
11:57:26 - GENERAL FRAME SAVER: ICC profiles: Linear Gray
11:57:26 - GENERAL FRAME SAVER: W:\AstroPhoto\IC5070 Pelican\Integrate\A+B\A\03 Crop\IC_5070_A-Multi-NB-O3-02_graxpert_Prism-crop.fits : starting...
11:57:26 - GENERAL FRAME SAVER: performing bitdepth conversion if required...
11:57:26 - IMAGE CONVERTER: image conversion not needed, data is already normalized...
11:57:26 - GENERAL FRAME SAVER: W:\AstroPhoto\IC5070 Pelican\Integrate\A+B\A\03 Crop\IC_5070_A-Multi-NB-O3-02_graxpert_Prism-crop.fits : starting FITS FRAME SAVER
11:57:26 - FITS FRAME SAVER: W:\AstroPhoto\IC5070 Pelican\Integrate\A+B\A\03 Crop\IC_5070_A-Multi-NB-O3-02_graxpert_Prism-crop.fits : starting...
11:57:26 - FITS FRAME SAVER: W:\AstroPhoto\IC5070 Pelican\Integrate\A+B\A\03 Crop\IC_5070_A-Multi-NB-O3-02_graxpert_Prism-crop.fits : constructing 32-bits FLOAT databuffer..
11:57:26 - FITS FRAME SAVER: W:\AstroPhoto\IC5070 Pelican\Integrate\A+B\A\03 Crop\IC_5070_A-Multi-NB-O3-02_graxpert_Prism-crop.fits : creating FITS HEADER...
11:57:26 - FITS FRAME SAVER: W:\AstroPhoto\IC5070 Pelican\Integrate\A+B\A\03 Crop\IC_5070_A-Multi-NB-O3-02_graxpert_Prism-crop.fits : writing to disc...
11:57:27 - Batch crop tool: processed frame 3 of 3 frames - W:\AstroPhoto\IC5070 Pelican\Integrate\A+B\A\03 Crop\IC_5070_A-Multi-NB-O3-02_graxpert_Prism-crop.fits
11:57:27 - FITS FRAME SAVER: W:\AstroPhoto\IC5070 Pelican\Integrate\A+B\A\03 Crop\IC_5070_A-Multi-NB-O3-02_graxpert_Prism-crop.fits : finished successfully
11:57:27 - GENERAL FRAME SAVER: null : finished successfully
11:57:27 - FRAME DETAILS UPDATER: starting...
11:57:27 - FRAME DETAILS UPDATER: checking for duplicates in new frames...
11:57:27 - FRAME DETAILS UPDATER: adding 1 new frames...
11:57:27 - FRAME DETAILS UPDATER: encountered an execution exception <==========
11:57:31 - SWITCH APPLICATION BUSY STATE : restoring imageviewer zoom factor to 1.00
11:57:31 - SWITCH APPLICATION BUSY STATE : restoring imageviewer splitpane position to 0.00
11:57:31 - SWITCH APPLICATION BUSY STATE : exiting busy state...
11:57:31 - SWITCH APPLICATION BUSY STATE : restarting image viewer mouse listener...
11:57:31 - SWITCH APPLICATION BUSY STATE : buttons are turned on.
11:57:31 - SWITCH APPLICATION BUSY STATE : enabling frame list table
11:57:31 - CONSTRUCT FRAME DETAILS LIST: starting...
11:57:31 - CONSTRUCT FRAME DETAILS LIST: finished
11:57:31 - FRAME DETAILS UPDATER: starting...
11:57:31 - FRAME DETAILS UPDATER: checking for duplicates in new frames...
11:57:31 - FRAME DETAILS UPDATER: adding 1 new frames...
11:57:31 - FRAME DETAILS UPDATER: encountered an execution exception <==========
11:57:32 - SWITCH APPLICATION BUSY STATE : no change in busy state
11:57:33 - CONSTRUCT FRAME DETAILS LIST: starting...
11:57:33 - CONSTRUCT FRAME DETAILS LIST: finished
11:57:33 - FRAME DETAILS UPDATER: starting...
11:57:33 - FRAME DETAILS UPDATER: checking for duplicates in new frames...
11:57:33 - FRAME DETAILS UPDATER: adding 1 new frames...
11:57:33 - FRAME DETAILS UPDATER: encountered an execution exception <==========
11:57:33 - SWITCH APPLICATION BUSY STATE : no change in busy state
11:57:33 - CONSTRUCT FRAME DETAILS LIST: starting...
11:57:33 - CONSTRUCT FRAME DETAILS LIST: finished
===



   
ReplyQuote
Share: