BaseX-10.7: error selecting CSV parser when creating a new database in the GUI

Monday, 2 October 2023 · 3 messages · last reply 3 Oct 2023
R
ron.vdbranden2 Oct 2023 18:10 #
Hi all, I think I'm experiencing a regression in the BaseX-10.7 GUI w.r.t. the CSV parser, when creating a new database. When I select CSV in the "Input format" dropdown on the "General" tab, nothing seems to be selected: * the dropdown stays open * no file mask is changed in "File patterns" * the "Parsing" tab doesn't show the CSV parsing options Additionally, I'm seeing logs starting with:
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: arraycopy: length -1 is negative
         at java.base/java.lang.System.arraycopy(Native Method)
         at org.basex.util.Array.copy(Array.java:124)
This looks like an error to me; worked perfectly in 10.6. Best, Ron
CG
Christian Grün3 Oct 2023 14:33 #
Hi Ron, Thanks for the observation. I believe to remember this has been fixed in the latest snapshot [1]. If not, I’ll be glad to look at it next week. Best, Christian [1] https://files.basex.org/releases/latest/ ron.vdbranden at gmail.com <ron.vdbranden at gmail.com> schrieb am Mo., 2. Okt. 2023, 18:10:
Quoted text · ron.vdbranden · 26 lines
> Hi all, > > I think I'm experiencing a regression in the BaseX-10.7 GUI w.r.t. the CSV > parser, when creating a new database. > > When I select CSV in the "Input format" dropdown on the "General" tab, > nothing seems to be selected: > > - the dropdown stays open > - no file mask is changed in "File patterns" > - the "Parsing" tab doesn't show the CSV parsing options > > Additionally, I'm seeing logs starting with: > > Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: arraycopy: length -1 is negative > at java.base/java.lang.System.arraycopy(Native Method) > at org.basex.util.Array.copy(Array.java:124) > > > This looks like an error to me; worked perfectly in 10.6. > > Best, > > Ron > >
R
ron.vdbranden3 Oct 2023 14:43 #
Hi Christian, Thanks for pointing that out. I can confirm it's working fine in the latest snapshot. Non-issue; apologies if I had missed that! Best, Ron
Quoted text · Christian Grün · 45 lines
On 3/10/2023 14:33, Christian Grün wrote: > Hi Ron, > > Thanks for the observation. > > I believe to remember this has been fixed in the latest snapshot [1]. > If not, I’ll be glad to look at it next week. > > Best, > Christian > > [1] https://files.basex.org/releases/latest/ > > > > > > ron.vdbranden at gmail.com <ron.vdbranden at gmail.com> schrieb am Mo., 2. > Okt. 2023, 18:10: > > Hi all, > > I think I'm experiencing a regression in the BaseX-10.7 GUI w.r.t. > the CSV parser, when creating a new database. > > When I select CSV in the "Input format" dropdown on the "General" > tab, nothing seems to be selected: > > * the dropdown stays open > * no file mask is changed in "File patterns" > * the "Parsing" tab doesn't show the CSV parsing options > > Additionally, I'm seeing logs starting with: > > Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: arraycopy: length -1 is negative > at java.base/java.lang.System.arraycopy(Native Method) > at org.basex.util.Array.copy(Array.java:124) > > > This looks like an error to me; worked perfectly in 10.6. > > Best, > > Ron >

⚡Generated with XQuery