Adding more files, ...
 
Share:

We have updated the forum software 🙂 ! We are now working on upgrading the whole site and the Forum to a dark theme...  so please refresh your internet browser twice to properly update the forum appearance AND functionality... Check your internet browser for the refresh function, on windows, this usually is the F5 button, but it depends on your internet browser.

Adding more files, once Integrated, causes Java Exception: ShowFileListWorker, java.lang.ArrayIndexOutOfBoundsException: 18  

  RSS

(@itarchitectkev)
Main Sequence Star Customer
Joined: 1 year ago
Posts: 28
September 8, 2018 13:21  

APP 1.064

Created (test) mosaic. Integrated it all, decided to add more files from another session. Pressed the Lights button to load lights. Selected files. Java exception popped up. Tried again, same.

 

Encountered error in module:
ShowFileListWorker

Error message:
java.lang.ArrayIndexOutOfBoundsException: 18

Cause:
18
eT.a(Unknown Source)
eT.doInBackground(Unknown Source)
javax.swing.SwingWorker$1.call(SwingWorker.java:295)
java.util.concurrent.FutureTask.run(FutureTask.java:266)


ReplyQuote
(@itarchitectkev)
Main Sequence Star Customer
Joined: 1 year ago
Posts: 28
September 8, 2018 13:25  

And randomly it is displaying a FITS file from a completely different of from my filesystem (in my case, M31 when all my files are to do with NGC6960/6990 - which are from a completely different processing and files area!) when I go to load up the Integration file (that was showing perfectly fine prior to this exception!)


ReplyQuote
(@mabula-admin)
Quasar Admin
Joined: 2 years ago
Posts: 2056
September 8, 2018 13:29  
Posted by: itarchitectkev

APP 1.064

Created (test) mosaic. Integrated it all, decided to add more files from another session. Pressed the Lights button to load lights. Selected files. Java exception popped up. Tried again, same.

 

Encountered error in module:
ShowFileListWorker

Error message:
java.lang.ArrayIndexOutOfBoundsException: 18

Cause:
18
eT.a(Unknown Source)
eT.doInBackground(Unknown Source)
javax.swing.SwingWorker$1.call(SwingWorker.java:295)
java.util.concurrent.FutureTask.run(FutureTask.java:266)

Hi @itarchitectkev,

Thank you for sharing this problem.

Can you share more information?

A screenshot of the complete bottom frame list panel and a screenshot or output of the last 100s of lines of the console panel?

Kind regards,

Mabula

Main developer of Astro Pixel Processor and owner of Aries Productions


ReplyQuote
(@itarchitectkev)
Main Sequence Star Customer
Joined: 1 year ago
Posts: 28
September 8, 2018 15:43  

Hmm. I may have to put on hold. I ended up wanting to access my resultant FITS (and I couldn't as per my second message in this thread) so I closed APP before capturing the error in the log window. I tried to replicate the actions again, and couldn't get the error. Will update if I see the problem again.

Or is the information in the log window written out to a file somewhere?


ReplyQuote
(@itarchitectkev)
Main Sequence Star Customer
Joined: 1 year ago
Posts: 28
September 19, 2018 19:45  

This errored the other day:

I ran through a complete session - from adding files to Integration. I decided to add more files (no multi-session, just adding more lights) and I got the error:

ErrorAfterAddingFiles2


ReplyQuote
(@mabula-admin)
Quasar Admin
Joined: 2 years ago
Posts: 2056
October 14, 2018 12:58  
Posted by: itarchitectkev

Hmm. I may have to put on hold. I ended up wanting to access my resultant FITS (and I couldn't as per my second message in this thread) so I closed APP before capturing the error in the log window. I tried to replicate the actions again, and couldn't get the error. Will update if I see the problem again.

Or is the information in the log window written out to a file somewhere?

Hi @itarchitectkev,

First, please accept my apologies for my late response.

To follow-up on this, does the error still occur sometimes with the latest APP version?

Mabula

Main developer of Astro Pixel Processor and owner of Aries Productions


ReplyQuote
(@itarchitectkev)
Main Sequence Star Customer
Joined: 1 year ago
Posts: 28
October 14, 2018 13:18  

Hi @mabula-admin I've not seen this in the latest version. It seemed like an intermittent problem when first reported so if it happens again, I'll update this message.


ReplyQuote
(@mabula-admin)
Quasar Admin
Joined: 2 years ago
Posts: 2056
October 14, 2018 13:23  

Hi @itarchitectkev,

Okay, please do,  thanks 😉

Mabula

Main developer of Astro Pixel Processor and owner of Aries Productions


ReplyQuote
(@itarchitectkev)
Main Sequence Star Customer
Joined: 1 year ago
Posts: 28
January 9, 2019 10:39  

Hi! A while ago I posted a problem whereby I'm getting Java Exception errors thrown when - after Integration - I go back to add more data.

The issue is related to the file listing box. It appears you may have some issue in that the amount of files displayed possibly doesn't match the files loaded, thus causing an exception or some other leak because after getting the frequent ShowFileListWorker exception I went to process an entirely different set of data where I cleared down only my Lights and any artefacts related to that previous session - and it kept failing on Analyse Stars saying it couldn't find a file, which did exist on my filesystem. I ended up closing APP and restarting again (something very frustrating as I was doing a new multi-session - we really WANT project save/load!)

To recreate:

  1. Create a normal Integration, select all defaults - I don't think the processing options make a difference.
  2. Add more Lights
  3. Go through the steps to get a final Integration. Sometimes it happens on Analyse Stars, other times not, other times it's further on in the process.

It happened to me last night. Whilst I'm imaging, I tend to download them to my PC for processing to see how things are progressing. Once more FITS files are completed, I add more and re-process, and at this point all strange things happen - double clicking on a file to view it would actually load up an entirely different frame suggesting a mismatch in the file list. I'm using 1.069 (but this problem has been there for a few releases).


ReplyQuote
(@mabula-admin)
Quasar Admin
Joined: 2 years ago
Posts: 2056
January 9, 2019 22:13  

Hi @itarchitectkev,

Thank you very much for the clear description on how to duplicate the bug and thus fix it. I will test to see if I can find this nasty bug... !

This has been added to my worklist to fix as soon as possible 😉

Kind regards,

Mabula

Main developer of Astro Pixel Processor and owner of Aries Productions


ReplyQuote
(@itarchitectkev)
Main Sequence Star Customer
Joined: 1 year ago
Posts: 28
January 28, 2019 10:49  

Just a heads up - I got this error today after starting new.

Steps to recreate:

  1. Choose multi-session
  2. Load up lights, darks, etc for one session
  3. Load up lights, darks, etc for second session
  4. Run Calibration
  5. Run Analyse Stars
  6. Error Appears

So the problem appears to be related to multi-sessions at least, or you're setting (or a bug in the library) the value of an array, but as a user I'm allowed to add more to this array related to the showing the file list in the File List viewer.

The part of the code is "FRAME DETAILS UPDATER"

FileListError2
FileListError1

 


ReplyQuote
(@mabula-admin)
Quasar Admin
Joined: 2 years ago
Posts: 2056
January 28, 2019 23:06  

Hi @itarchitectkev,

Thank you very much. As promised, I will work on both problems in the coming days to have it fixed in the next release 😉

Kind regards,

Mabula

 

Main developer of Astro Pixel Processor and owner of Aries Productions


ReplyQuote
(@mabula-admin)
Quasar Admin
Joined: 2 years ago
Posts: 2056
January 30, 2019 17:24  
Posted by: itarchitectkev

APP 1.064

Created (test) mosaic. Integrated it all, decided to add more files from another session. Pressed the Lights button to load lights. Selected files. Java exception popped up. Tried again, same.

 

Encountered error in module:
ShowFileListWorker

Error message:
java.lang.ArrayIndexOutOfBoundsException: 18

Cause:
18
eT.a(Unknown Source)
eT.doInBackground(Unknown Source)
javax.swing.SwingWorker$1.call(SwingWorker.java:295)
java.util.concurrent.FutureTask.run(FutureTask.java:266)

Hi @itarchitectkev,

Good news, I have located this error now.

To be sure, do you set the sorting (1) LOAD) of the frames on anything other than the default, for instance on quality ?

I trigger this bug now when I set the sorting to quality, do an integration, then add some frames, reprocess and then it occurs.

This error is in the ShowFileListWorker and has to do with the sorting code.

Kind regards,

Mabula

Main developer of Astro Pixel Processor and owner of Aries Productions


ReplyQuote
(@itarchitectkev)
Main Sequence Star Customer
Joined: 1 year ago
Posts: 28
January 30, 2019 17:35  

Hi @mabula-admin, yes I do. I realise now I didn't post a real full set of steps to recreate as I didn't think that was a consequence. And I can see how that can now manifest itself as  you need to know the full bounds to be able to order it, so then when adding new files or manipulating the list [add/remove] and the array isn't updated correctly/or assumptions made...

Kev


ReplyQuote
(@mabula-admin)
Quasar Admin
Joined: 2 years ago
Posts: 2056
January 30, 2019 20:04  

Hi  @itarchitectkev,

No problem, the error message and the piece of code where the error occured was enough to track this one down.

I have fixed all sorting code 😉 now, so it will be part of the next release.

I will now test your second issue, to see if it was directly related or if it is another bug.

Cheers and thanks,

Mabula

 

Main developer of Astro Pixel Processor and owner of Aries Productions


ReplyQuote
(@mabula-admin)
Quasar Admin
Joined: 2 years ago
Posts: 2056
January 30, 2019 20:25  
Posted by: itarchitectkev

Just a heads up - I got this error today after starting new.

Steps to recreate:

  1. Choose multi-session
  2. Load up lights, darks, etc for one session
  3. Load up lights, darks, etc for second session
  4. Run Calibration
  5. Run Analyse Stars
  6. Error Appears

So the problem appears to be related to multi-sessions at least, or you're setting (or a bug in the library) the value of an array, but as a user I'm allowed to add more to this array related to the showing the file list in the File List viewer.

The part of the code is "FRAME DETAILS UPDATER"

FileListError2
FileListError1

 

Hi  @itarchitectkev,

I have located this bug as well, it's related to the sorting code, but another bug indeed...

Will fix this a.s.a.p. 😉

Mabula

Main developer of Astro Pixel Processor and owner of Aries Productions


ReplyQuote
(@mabula-admin)
Quasar Admin
Joined: 2 years ago
Posts: 2056
January 31, 2019 19:52  
Posted by: itarchitectkev

Just a heads up - I got this error today after starting new.

Steps to recreate:

  1. Choose multi-session
  2. Load up lights, darks, etc for one session
  3. Load up lights, darks, etc for second session
  4. Run Calibration
  5. Run Analyse Stars
  6. Error Appears

So the problem appears to be related to multi-sessions at least, or you're setting (or a bug in the library) the value of an array, but as a user I'm allowed to add more to this array related to the showing the file list in the File List viewer.

The part of the code is "FRAME DETAILS UPDATER"

FileListError2
FileListError1

 

Hi @itarchitectkev,

This bug has now been found and fixed as well. Thank you for reporting this. I have tested and corrected all code relating to sorting that could trigger this bug.

Kind regards,

Mabula

Main developer of Astro Pixel Processor and owner of Aries Productions


ReplyQuote
Share: