UPDATE FROM MABULA
I have had a very rough 2 months unfortunately health wise. I was struck 3x in a row with bacterial infections. The second infection occurred after a routine hospital checkup and I became very sick. I had to rest and take a lot of antibiotics. Once I was recovering and restarting work 1 month ago, I again became sick. The infection was not yet gone, so even more antibiotics and rest was needed. Needless to say, it took a lot of my energy and I needed a lot of rest.
Finally, the infection is really gone and my energy is coming back step-by-step now and I have started work again. I am terribly sorry to have kept you waiting for support. I will address all outstanding questions and e-mails step-by step and will be on the forum daily from today.
APP 2.0.0-beta47 will come soon as well, a lot of work was already completed before I became very ill, so the release is also nearly ready for you. Beta47 will be much faster actually. Many workflows will be more than 2x faster, mosaics can even be 10x faster than before because registration really received a major boost... all compared to beta46. Before I release it, I will make sure that everything is working properly and then I will release it.
Hello,
I wanted to add frames to a mosaic, but I'm getting this "java.lang.IllegalArgumentException" error, and I can't figure out what's going on. Mosaic using the Sigma 135 / ASI6200MC lens, total is 11 frames. I've already made another mosaic with the same setup of 14 frames, and it "worked" correctly.
Does anyone know the cause of the problem?
Thanks in advance 🙂
message :
Astro Pixel Processor - 2.0.0-beta37
Oracle GraalVM 24.0.1+9.1 - Windows-64-bit
Encountered error in module:
Integrator
Error message:
java.lang.IllegalArgumentException: capacity < 0: (-1778052496 < 0)
Cause:
capacity < 0: (-1778052496 < 0)
java.base/java.nio.Buffer.createCapacityException(Unknown Source)
java.base/java.nio.ByteBuffer.allocate(Unknown Source)
astropixelprocessor@2.0.0-beta37/com.ariesproductions.iO.g.b(MemoryToFileMapper.java:392)
astropixelprocessor@2.0.0-beta37/com.ariesproductions.iO.g.d(MemoryToFileMapper.java:2547)
Hi Breard @bilko29,
Thank you very much for posting your issue and welcome to the APP forum !
That error seems to indicate a problem with writing data to your Working Directory location. With regular internal hard disks, this issue should never happen. Could it be that you have your working directory on an external drive or network, and that the connection could be lost to the external hard disk or network share?
Also, is this error repeatable? Does it happen each time, or did it only occur once? If only once, I think something went wrong with the connection to the harddisk on which the Working directory is.
It would be helpful to understand why this error occurred, so please share as much information as you can. I will try to catch this problem and warn the user about the issue or prevent it from happening.
Mabula
Thank you for your feedback. This error only appears on the "6" tab - Integration. And with this product, when I add a frame to 13 frames, the integration goes well. I add another frame and then I get this error.
And I've had this error since I upgraded to the latest stable version.
I also tested it on another hard drive, same problem.
Hello,
I'm still having this problem.
Error message:
java.lang.IllegalArgumentException: capacity < 0: (-1884069752 < 0)
On a mosaic of 9 frames, up to 8 frames are no problems.
Are the numbers indicated in the error (-1884069752) bytes?
I tested it on standard internal hard drives or SSD
thank you for your feedback 🙂
François
I had the same problem with 24 panel mosaic, I have enough of RAM (128GB) and disk space (TBs) so this is not an issue.
This happens with a local NVME disk, I have plenty of space there, there is no write permission issue. I can reproduce it every time.
Astro Pixel Processor - 2.0.0-beta38
Oracle GraalVM 24.0.1+9.1 - Linux-64-bit
Encountered error in module:
Integrator
Error message:
java.lang.IllegalArgumentException: capacity < 0: (-1432615808 < 0)
Cause:
capacity < 0: (-1432615808 < 0)
java.base/java.nio.Buffer.createCapacityException(Unknown Source)
java.base/java.nio.ByteBuffer.allocate(Unknown Source)
astropixelprocessor@2.0.0-beta38/com.ariesproductions.iO.g.b(MemoryToFileMapper.java:392)
astropixelprocessor@2.0.0-beta38/com.ariesproductions.iO.g.d(MemoryToFileMapper.java:2547)
16:13:19 - 6) INTEGRATE: integrate light frames: got size of 1 frame: 8189 MegaBytes
16:13:19 - 6) INTEGRATE: integrate light frames: got datasize (# of pixels * # of channels) of 1 frame: 2047 Mega Pixels
16:13:19 - 6) INTEGRATE: integrate light frames: using read buffer per thread of 32 KiloBytes
16:13:19 - 6) INTEGRATE: integrate light frames: using total read buffer of 736 KiloBytes
16:13:19 - 6) INTEGRATE: integrate light frames: integration buffer consumes 207 MegaBytes of RAM memory
16:13:19 - 6) INTEGRATE: integrate light frames: loading 1 frame at a time and writing it to the file mapper...
16:13:19 - MEMORY TO FILE MAPPER: trying to create memory to file mapping...
16:13:19 - MEMORY TO FILE MAPPER: file: Light-RGB-session_1
16:13:19 - MEMORY TO FILE MAPPER: number of files: 24
16:13:19 - MEMORY TO FILE MAPPER: size of one file: 2047 Mega Pixels
16:13:19 - MEMORY TO FILE MAPPER: data type: FLOAT
16:13:19 - MEMORY TO FILE MAPPER: using file /run/media/kbryd/endeavouros/tmp/Light-RGB-session_1.dat
16:13:19 - MEMORY TO FILE MAPPER: file mapping succesfully created
16:13:19 - 6) INTEGRATE: integrate light frames: created memory to file mapper for main integration task
16:13:19 - MEMORY TO FILE MAPPER: trying to create memory to file mapping...
16:13:19 - MEMORY TO FILE MAPPER: file: Light-weights-RGB-session_1
16:13:19 - MEMORY TO FILE MAPPER: number of files: 24
16:13:19 - MEMORY TO FILE MAPPER: size of one file: 2047 Mega Pixels
16:13:19 - MEMORY TO FILE MAPPER: data type: SHORT
16:13:19 - MEMORY TO FILE MAPPER: using file /run/media/kbryd/endeavouros/tmp/Light-weights-RGB-session_1.dat
16:13:19 - MEMORY TO FILE MAPPER: file mapping succesfully created
16:13:19 - 6) INTEGRATE: integrate light frames: created memory to file mapper for integration with weights per pixel
16:13:20 - 6) INTEGRATE: integrate light frames: LNC: got center coordinates and area of frame 1 in integration composition
16:13:21 - 6) INTEGRATE: integrate light frames: integration task encountered an execution exception
16:13:55 - MEMORY TO FILE MAPPER: closing memory to file mapper.../run/media/kbryd/endeavouros/tmp/Light-RGB-session_1.dat
16:13:55 - MEMORY TO FILE MAPPER: removing mapped file
16:13:55 - MEMORY TO FILE MAPPER: removed file mapping : true
16:13:55 - MEMORY TO FILE MAPPER: closed succesfully
16:13:55 - MEMORY TO FILE MAPPER: closing memory to file mapper.../run/media/kbryd/endeavouros/tmp/Light-weights-RGB-session_1.dat
16:13:55 - MEMORY TO FILE MAPPER: removing mapped file
16:13:55 - MEMORY TO FILE MAPPER: removed file mapping : true
I decided to upgrade to the beta39 and now I get this, happened during LNC processing.
Encountered error in module:
FirstDegreeRegressionWorker
Error message:
java.lang.NullPointerException: Cannot read the array length because "<parameter1>" is null
Cause:
Cannot read the array length because "<parameter1>" is null
java.base/java.util.Arrays.sort(Unknown Source)
vI.a(Unknown Source)
rS.a(Unknown Source)
rS.doInBackground(Unknown Source)
I have downgraded APP to 2.0.0-beta30, and I am able to register and integrate the mosaic just fine, it is a clearly a regression then.
If you want I can send you the FITS files so you can take a look.
merci pour ce retour, j'étais aussi repassé sous le version XX3.0 fin de créer ma mosaïque de la constellation du Cygne
demain j’installerais cette nouvelle version 2.0.0-beta39
La mosaique en question
https://www.astrobin.com/5ondco/
Hi Breard @bilko29,
Wow, that looks really awesome, great work !
2.0.0-beta39 is not yet released, sorry for the confusion, it will be released within 7-14 days for sure !
Mabula
Hi Breard @bilko29,
Wow, that looks really awesome, great work !
2.0.0-beta39 is not yet released, sorry for the confusion, it will be released within 7-14 days for sure !
Mabula
Looking at the thread itself, I also started to get this error, but only on some Seestar related files. However, reading about the beta 39 changes, it really sounds like it holds major upgrades and it sparked my interest, so the question is, how far from the release is @Mabula?!
I also run into the same error while integrating a mosaic with 3 new panels.
Previously I was able to integrate successfully (before the new 3 panels) but now this error occured.
I guess we'll have to wait for the beta 39 🙂
Greetings,
Pavel