Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot open forbidden folders #406

Closed
jcharlet opened this issue Mar 2, 2020 · 0 comments
Closed

cannot open forbidden folders #406

jcharlet opened this issue Mar 2, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@jcharlet
Copy link
Contributor

jcharlet commented Mar 2, 2020

Issue

crashes when adding forbidden folders

  • on Windows: can add a folder, but crashes on running profile
  • on linux: cannot add a forbidden folder like /root, crashes immediately

Context

already there on 6.4 on linux

introduced on Windows on #167 (tested after Merge pull request #191 from rhubner/nio2-test-fix sulemanchaudhry* 26/10/2017, 11:07)

Logs

Windows on 6.5

2020-02-11T21:50:27,264  INFO [AWT-EventQueue-0] DroidMainFrame:289 - Starting DROID.
2020-02-11T21:50:36,686  INFO [AWT-EventQueue-0] DroidMainFrame:212 - Checking for new signature updates -last update check was on: Mon 2019-12-16
2020-02-11T21:50:37,499  INFO [AWT-EventQueue-0] ProfileManagerImpl:120 - Creating profile: 1581457837499
2020-02-11T21:50:37,570  INFO [SwingWorker-pool-4-thread-2] ProfileManagerImpl:202 - Opening profile: 1581457837499
2020-02-11T21:50:42,813  INFO [AWT-EventQueue-0] ProfileInstance:319 - Attempting state change [INITIALISING] to [VIRGIN]
2020-02-11T21:53:00,361  INFO [AWT-EventQueue-0] DroidMainFrame:289 - Starting DROID.
2020-02-11T21:53:16,254  INFO [AWT-EventQueue-0] ProfileManagerImpl:120 - Creating profile: 1581457996253
2020-02-11T21:53:16,366  INFO [SwingWorker-pool-4-thread-1] ProfileManagerImpl:202 - Opening profile: 1581457996253
2020-02-11T21:53:25,188  INFO [AWT-EventQueue-0] ProfileInstance:319 - Attempting state change [INITIALISING] to [VIRGIN]
2020-02-11T21:53:43,140  INFO [AWT-EventQueue-0] ProfileManagerImpl:120 - Creating profile: 1581458023139
2020-02-11T21:53:43,173  INFO [SwingWorker-pool-4-thread-2] ProfileManagerImpl:202 - Opening profile: 1581458023139
2020-02-11T21:53:50,523  INFO [AWT-EventQueue-0] ProfileInstance:319 - Attempting state change [INITIALISING] to [VIRGIN]
2020-02-11T21:54:00,065  INFO [SwingWorker-pool-4-thread-3] ProfileManagerImpl:248 - Starting profile: 1581458023139
2020-02-11T21:54:00,077  INFO [SwingWorker-pool-4-thread-3] ProfileInstance:319 - Attempting state change [VIRGIN] to [RUNNING]
2020-02-11T21:54:00,113 ERROR [pool-6-thread-1] FileWalker:195 - File system appears to be unavailable for file: [C:\CSC]
2020-02-11T21:54:00,115 ERROR [pool-6-thread-1] ProfileInstanceManagerImpl$$EnhancerBySpringCGLIB$$f24ecd3e:287 - C:\CSC
java.io.IOException: C:\CSC
	at uk.gov.nationalarchives.droid.submitter.FileWalker.handleDirectory(FileWalker.java:196) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at uk.gov.nationalarchives.droid.submitter.FileWalker.walk(FileWalker.java:163) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at uk.gov.nationalarchives.droid.submitter.FileWalker.walk(FileWalker.java:150) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at uk.gov.nationalarchives.droid.submitter.ProfileSpecWalkerImpl.walk(ProfileSpecWalkerImpl.java:162) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at uk.gov.nationalarchives.droid.profile.ProfileInstanceManagerImpl$WalkerTask.run(ProfileInstanceManagerImpl.java:282) [droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
	at java.lang.Thread.run(Unknown Source) [?:?]
2020-02-11T21:54:00,174 ERROR [SwingWorker-pool-4-thread-3] DroidJob:172 - uk.gov.nationalarchives.droid.profile.ProfileException: java.io.IOException: C:\CSC
java.util.concurrent.ExecutionException: uk.gov.nationalarchives.droid.profile.ProfileException: java.io.IOException: C:\CSC
	at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:?]
	at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:?]
	at uk.gov.nationalarchives.droid.gui.worker.DroidJob.doInBackground(DroidJob.java:170) [droid-ui-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at uk.gov.nationalarchives.droid.gui.worker.DroidJob.doInBackground(DroidJob.java:62) [droid-ui-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at javax.swing.SwingWorker$1.call(Unknown Source) [?:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
	at javax.swing.SwingWorker.run(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
	at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: uk.gov.nationalarchives.droid.profile.ProfileException: java.io.IOException: C:\CSC
	at uk.gov.nationalarchives.droid.profile.ProfileInstanceManagerImpl$WalkerTask.run(ProfileInstanceManagerImpl.java:288) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?]
	... 3 more
Caused by: java.io.IOException: C:\CSC
	at uk.gov.nationalarchives.droid.submitter.FileWalker.handleDirectory(FileWalker.java:196) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at uk.gov.nationalarchives.droid.submitter.FileWalker.walk(FileWalker.java:163) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at uk.gov.nationalarchives.droid.submitter.FileWalker.walk(FileWalker.java:150) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at uk.gov.nationalarchives.droid.submitter.ProfileSpecWalkerImpl.walk(ProfileSpecWalkerImpl.java:162) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at uk.gov.nationalarchives.droid.profile.ProfileInstanceManagerImpl$WalkerTask.run(ProfileInstanceManagerImpl.java:282) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?]
	... 3 more
2020-02-11T21:54:00,308 ERROR [AWT-EventQueue-0] DroidJob:191 - java.io.IOException: C:\CSC
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.IOException: C:\CSC
	at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:?]
	at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:?]
	at javax.swing.SwingWorker.get(Unknown Source) ~[?:?]
	at uk.gov.nationalarchives.droid.gui.worker.DroidJob.done(DroidJob.java:187) [droid-ui-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at javax.swing.SwingWorker$5.run(Unknown Source) [?:?]
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source) [?:?]
	at sun.swing.AccumulativeRunnable.run(Unknown Source) [?:?]
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source) [?:?]
	at javax.swing.Timer.fireActionPerformed(Unknown Source) [?:?]
	at javax.swing.Timer$DoPostEvent.run(Unknown Source) [?:?]
	at java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:?]
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:?]
	at java.awt.EventQueue$4.run(Unknown Source) [?:?]
	at java.awt.EventQueue$4.run(Unknown Source) [?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:?]
	at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.run(Unknown Source) [?:?]
Caused by: java.lang.RuntimeException: java.io.IOException: C:\CSC
	at uk.gov.nationalarchives.droid.gui.worker.DroidJob.doInBackground(DroidJob.java:173) ~[droid-ui-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at uk.gov.nationalarchives.droid.gui.worker.DroidJob.doInBackground(DroidJob.java:62) ~[droid-ui-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at javax.swing.SwingWorker$1.call(Unknown Source) ~[?:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?]
	at javax.swing.SwingWorker.run(Unknown Source) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
	at java.lang.Thread.run(Unknown Source) ~[?:?]
Caused by: uk.gov.nationalarchives.droid.profile.ProfileException: java.io.IOException: C:\CSC
	at uk.gov.nationalarchives.droid.profile.ProfileInstanceManagerImpl$WalkerTask.run(ProfileInstanceManagerImpl.java:288) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
	at java.lang.Thread.run(Unknown Source) ~[?:?]
Caused by: java.io.IOException: C:\CSC
	at uk.gov.nationalarchives.droid.submitter.FileWalker.handleDirectory(FileWalker.java:196) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at uk.gov.nationalarchives.droid.submitter.FileWalker.walk(FileWalker.java:163) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at uk.gov.nationalarchives.droid.submitter.FileWalker.walk(FileWalker.java:150) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at uk.gov.nationalarchives.droid.submitter.ProfileSpecWalkerImpl.walk(ProfileSpecWalkerImpl.java:162) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at uk.gov.nationalarchives.droid.profile.ProfileInstanceManagerImpl$WalkerTask.run(ProfileInstanceManagerImpl.java:282) ~[droid-results-6.5-SNAPSHOT.jar:6.5-SNAPSHOT]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
	at java.lang.Thread.run(Unknown Source) ~[?:?]
2020-02-11T21:54:00,311  INFO [AWT-EventQueue-0] ProfileManagerImpl:220 - Stopping profile: 1581458023139
2020-02-11T21:54:00,315  INFO [AWT-EventQueue-0] ProfileInstance:319 - Attempting state change [RUNNING] to [STOPPED]
2020-02-11 21:56:44,947  INFO [AWT-EventQueue-0] DroidMainFrame:286 - Starting DROID.
2020-02-11 21:56:54,276  INFO [AWT-EventQueue-0] ProfileManagerImpl:95 - Creating profile: 1581458214276
2020-02-11 21:56:54,375  INFO [SwingWorker-pool-3-thread-1] ProfileManagerImpl:168 - Opening profile: 1581458214276
2020-02-11 21:56:56,644 ERROR [AWT-EventQueue-0] NewProfileAction:137 - org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [META-INF/spring-jpa.xml]: Invocation of init method failed; nested exception is java.sql.SQLException: Failed to start database 'C:\Users\jcharlet\.droid6\profiles\1581458214276\db' with class loader sun.misc.Launcher$AppClassLoader@55f96302, see the next exception for details.
java.util.concurrent.ExecutionException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [META-INF/spring-jpa.xml]: Invocation of init method failed; nested exception is java.sql.SQLException: Failed to start database 'C:\Users\jcharlet\.droid6\profiles\1581458214276\db' with class loader sun.misc.Launcher$AppClassLoader@55f96302, see the next exception for details.
	at java.util.concurrent.FutureTask.report(Unknown Source)
	at java.util.concurrent.FutureTask.get(Unknown Source)
	at javax.swing.SwingWorker.get(Unknown Source)
	at uk.gov.nationalarchives.droid.gui.action.NewProfileAction.done(NewProfileAction.java:131)
	at javax.swing.SwingWorker$5.run(Unknown Source)
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
	at sun.swing.AccumulativeRunnable.run(Unknown Source)
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
	at javax.swing.Timer.fireActionPerformed(Unknown Source)
	at javax.swing.Timer$DoPostEvent.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [META-INF/spring-jpa.xml]: Invocation of init method failed; nested exception is java.sql.SQLException: Failed to start database 'C:\Users\jcharlet\.droid6\profiles\1581458214276\db' with class loader sun.misc.Launcher$AppClassLoader@55f96302, see the next exception for details.
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1553)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
	at uk.gov.nationalarchives.droid.profile.SpringProfileInstanceFactory.getProfileInstanceManager(SpringProfileInstanceFactory.java:91)
	at uk.gov.nationalarchives.droid.profile.ProfileContextLocator.openProfileInstanceManager(ProfileContextLocator.java:205)
	at uk.gov.nationalarchives.droid.profile.ProfileManagerImpl.openProfile(ProfileManagerImpl.java:175)
	at uk.gov.nationalarchives.droid.gui.action.NewProfileAction.doInBackground(NewProfileAction.java:151)
	at uk.gov.nationalarchives.droid.gui.action.NewProfileAction.doInBackground(NewProfileAction.java:61)
	at javax.swing.SwingWorker$1.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at javax.swing.SwingWorker.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.sql.SQLException: Failed to start database 'C:\Users\jcharlet\.droid6\profiles\1581458214276\db' with class loader sun.misc.Launcher$AppClassLoader@55f96302, see the next exception for details.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
	at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
	at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
	at org.apache.derby.jdbc.Driver20.connect(Unknown Source)
	at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at uk.gov.nationalarchives.droid.profile.datasource.DerbyPooledDataSource.init(DerbyPooledDataSource.java:80)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1681)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1620)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1549)
	... 20 more
Caused by: java.sql.SQLException: Failed to start database 'C:\Users\jcharlet\.droid6\profiles\1581458214276\db' with class loader sun.misc.Launcher$AppClassLoader@55f96302, see the next exception for details.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
	... 40 more
Caused by: java.sql.SQLException: Database at C:\Users\jcharlet\.droid6\profiles\1581458214276\db has an incompatible format with the current version of the software.  The database was created by or upgraded by version 10.13.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
	... 37 more
Caused by: ERROR XSLAN: Database at C:\Users\jcharlet\.droid6\profiles\1581458214276\db has an incompatible format with the current version of the software.  The database was created by or upgraded by version 10.13.
	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
	at org.apache.derby.impl.store.raw.log.LogToFile.readControlFile(Unknown Source)
	at org.apache.derby.impl.store.raw.log.LogToFile.boot(Unknown Source)
	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
	at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
	at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.bootLogFactory(Unknown Source)
	at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.setRawStoreFactory(Unknown Source)
	at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
	at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
	at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source)
	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
	at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
	at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
	at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
	at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
	at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
	at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source)
	at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
	at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
	at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
	... 37 more
2020-02-11 21:56:56,650  INFO [AWT-EventQueue-0] ProfileInstance:304 - Attempting state change [INITIALISING] to [VIRGIN]

Linux on 6.4 and 6.5

~/Doc/d/droid/droid6.4 ❯ ll                                         at 12:05:23
total 36M
-rw-r--r-- 1 jeremie jeremie 2.9K Aug  1  2017  ChangeLog
-rw-r--r-- 1 jeremie jeremie 5.5K Aug  1  2017  droid.bat
-rw-rw-r-- 1 jeremie jeremie  35M Dec  6 14:03  droid-binary-6.4-bin.zip
-rw-r--r-- 1 jeremie jeremie 136K Aug  1  2017  droid-command-line-6.4.jar
-rwxr-xr-x 1 jeremie jeremie 5.0K Aug  1  2017  droid.sh
-rw-r--r-- 1 jeremie jeremie 658K Aug  1  2017  droid-ui-6.4.jar
drwxrwxrwx 2 jeremie jeremie 4.0K Aug  1  2017  lib
-rw-r--r-- 1 jeremie jeremie 1.6K Aug  1  2017  LICENSE
-rw-r--r-- 1 jeremie jeremie 3.1K Aug  1  2017 'Running DROID.txt'
~/Doc/d/droid/droid6.4 ❯ ./droid.sh                                 at 12:05:23
2020-03-02 12:05:28,571  INFO Starting DROID.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.openide.util.lookup.implspi.ActiveQueue$Impl (file:/home/jeremie/jeremie.charlet@trackener.com/Freelancing/TNA/droid/droid6.4/lib/org-openide-util-lookup-7.2.jar) to field java.lang.ref.ReferenceQueue.lock
WARNING: Please consider reporting this to the maintainers of org.openide.util.lookup.implspi.ActiveQueue$Impl
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2020-03-02 12:05:32,513  INFO Creating profile: 1583150732513
2020-03-02 12:05:32,567  INFO Opening profile: 1583150732513
2020-03-02 12:05:38,165  INFO Attempting state change [INITIALISING] to [VIRGIN]
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
	at java.base/java.util.Vector.elementAt(Vector.java:496)
	at java.desktop/javax.swing.table.DefaultTableColumnModel.getColumn(DefaultTableColumnModel.java:295)
	at uk.gov.nationalarchives.droid.gui.filechooser.ResourceSelectorDialog.initColumnModel(ResourceSelectorDialog.java:343)
	at uk.gov.nationalarchives.droid.gui.filechooser.ResourceSelectorDialog.access$1100(ResourceSelectorDialog.java:93)
	at uk.gov.nationalarchives.droid.gui.filechooser.ResourceSelectorDialog$FileTreeSelectionListener.valueChanged(ResourceSelectorDialog.java:417)
	at java.desktop/javax.swing.JTree.fireValueChanged(JTree.java:2967)
	at java.desktop/javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3456)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:641)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1111)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:297)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:191)
	at java.desktop/javax.swing.JTree.setSelectionPath(JTree.java:1656)
	at java.desktop/javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2736)
	at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:4016)
	at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3955)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6629)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6397)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
	at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
	at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
	at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
	at java.desktop/java.awt.Dialog.show(Dialog.java:1070)
	at java.desktop/java.awt.Component.show(Component.java:1716)
	at java.desktop/java.awt.Component.setVisible(Component.java:1663)
	at java.desktop/java.awt.Window.setVisible(Window.java:1031)
	at java.desktop/java.awt.Dialog.setVisible(Dialog.java:1005)
	at uk.gov.nationalarchives.droid.gui.filechooser.ResourceSelectorDialog.showDialog(ResourceSelectorDialog.java:141)
	at uk.gov.nationalarchives.droid.gui.DroidMainFrame.jButtonAddFileActionPerformed(DroidMainFrame.java:1345)
	at uk.gov.nationalarchives.droid.gui.DroidMainFrame$10.actionPerformed(DroidMainFrame.java:539)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6397)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)


@jcharlet jcharlet added the bug label Mar 2, 2020
@jcharlet jcharlet added this to the 6.5 milestone Mar 2, 2020
@jcharlet jcharlet self-assigned this Mar 2, 2020
@jcharlet jcharlet added this to Backlog in DROID Kanban board 6.5 via automation Mar 2, 2020
@jcharlet jcharlet closed this as completed Mar 6, 2020
DROID Kanban board 6.5 automation moved this from Backlog to Done Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

1 participant