-
Notifications
You must be signed in to change notification settings - Fork 75
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
Stuck in "Initializing Profile..." #1136
Comments
Are you using the Web Proxy settings in DROID. Were these invalid signature files downloaded automatically from within DROID. And could you share us the contents of your Help->About box (i.e. OS, Java Versions etc). Do redact/remove anything you don't want to share, such as your username. |
I have the same issue with the current version of DROID (v6.8.0) both on Windows 10 (with the bundled JDK) and Linux (Debian 12 with their OpenJDK 64-Bit Server VM (build 17.0.13+11-Debian-2deb12u1, mixed mode, sharing)) after downloading the signature file v119. I do not use a web proxy. On the Linux command line, I can see this error message when starting the app: $ ./droid.sh [372/2566]
Error parsing gtk-icon-sizes string: ''
2024-11-12T15:15:02,379 INFO [AWT-EventQueue-0] DroidMainFrame:288 - Starting DROID.
2024-11-12T15:15:04,949 INFO [AWT-EventQueue-0] ProfileManagerImpl:129 - Creating profile: 1731420904948
Nov 12, 2024 3:15:05 PM org.openide.util.ImageUtilities$CachedLookupLoader getLoader
WARNING: No interface org.openide.util.spi.SVGLoader instance found in ProxyLookup(class=class org.openide.util.Lookup$DefLookup)->[MetaInfServicesLookup[jdk.internal.loader.ClassLoaders$AppClassLoader@30946e09], SingletonLookup[jdk.internal.loader.ClassLoaders$AppClassLoader@30946
e09]]
Nov 12, 2024 3:15:05 PM org.openide.util.ImageUtilities getIcon
INFO: No SVG loader available for loading jar:file:/home/user/Downloads/droid/lib/org-netbeans-swing-outline-RELEASE130.jar!/org/netbeans/swing/etable/columns.svg
2024-11-12T15:15:05,069 INFO [SwingWorker-pool-3-thread-1] ProfileManagerImpl:222 - Opening profile: 1731420904948
2024-11-12T15:15:06,891 ERROR [AWT-EventQueue-0] NewProfileAction:137 - org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'archiveHandlerLocator' defined in class path resource [META-INF/spring-results.xml]: Cannot resolve reference to bean 'zip
Handler' while setting bean property 'handlers' with key [TypedStringValue: value [ZIP], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zipHandler' defined in class path resource [META-INF/spring-resu
lts.xml]: Cannot resolve reference to bean 'submissionGateway' while setting bean property 'droidCore'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'submissionGateway' defined in class path resource [META-INF/spring-res
ults.xml]: Cannot resolve reference to bean 'droid' while setting bean property 'droidCore'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'droid' defined in class path resource [META-INF/spring-results.xml]: Invocation o
f init method failed; nested exception is java.lang.NullPointerException: Cannot invoke "uk.gov.nationalarchives.droid.core.signature.droid6.FFSignatureFile.prepareForUse()" because "this.sigFile" is null
java.util.concurrent.ExecutionException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'archiveHandlerLocator' defined in class path resource [META-INF/spring-results.xml]: Cannot resolve reference to bean 'zipHandler' while setting bean pro
perty 'handlers' with key [TypedStringValue: value [ZIP], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zipHandler' defined in class path resource [META-INF/spring-results.xml]: Cannot resolve refere
nce to bean 'submissionGateway' while setting bean property 'droidCore'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'submissionGateway' defined in class path resource [META-INF/spring-results.xml]: Cannot resolve refer
ence to bean 'droid' while setting bean property 'droidCore'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'droid' defined in class path resource [META-INF/spring-results.xml]: Invocation of init method failed; nested ex
ception is java.lang.NullPointerException: Cannot invoke "uk.gov.nationalarchives.droid.core.signature.droid6.FFSignatureFile.prepareForUse()" because "this.sigFile" is null
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
at java.desktop/javax.swing.SwingWorker.get(SwingWorker.java:613) ~[?:?]
at uk.gov.nationalarchives.droid.gui.action.NewProfileAction.done(NewProfileAction.java:131) ~[droid-ui-6.8.0.jar:6.8.0]
at java.desktop/javax.swing.SwingWorker$5.run(SwingWorker.java:750) ~[?:?]
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:848) ~[?:?]
at java.desktop/sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112) ~[?:?]
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:858) ~[?:?]
at java.desktop/javax.swing.Timer.fireActionPerformed(Timer.java:311) ~[?:?]
at java.desktop/javax.swing.Timer$DoPostEvent.run(Timer.java:243) ~[?:?]
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) ~[?:?]
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) ~[?:?]
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) ~[?:?]
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) ~[?:?]
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) [?:?]
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) [?:?]
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) [?:?]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'archiveHandlerLocator' defined in class path resource [META-INF/spring-results.xml]: Cannot resolve reference to bean 'zipHandler' while setting bean property 'handlers' with key [Typ
edStringValue: value [ZIP], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zipHandler' defined in class path resource [META-INF/spring-results.xml]: Cannot resolve reference to bean 'submissionGateway
' while setting bean property 'droidCore'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'submissionGateway' defined in class path resource [META-INF/spring-results.xml]: Cannot resolve reference to bean 'droid' while set
ting bean property 'droidCore'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'droid' defined in class path resource [META-INF/spring-results.xml]: Invocation of init method failed; nested exception is java.lang.NullPoint
erException: Cannot invoke "uk.gov.nationalarchives.droid.core.signature.droid6.FFSignatureFile.prepareForUse()" because "this.sigFile" is null
… When I do a fresh install and deny downloading the signature file, everything is fine. |
Thanks, I can reproduce this now. If downloading the signatures manually from here https://www.nationalarchives.gov.uk/aboutapps/pronom/droid-signature-files.htm they are fine, but if served from the SOAP API to DROID then the xmlns is https which breaks things. @tnafrancesca would you be able to take a look at what's happening with PRONOM signature 119. |
I can confirm that replacing |
We think we've found the cause of the issue with the PRONOM SOAP API that serves these signature files, and hopefully fixed it. Would you be able to remove your v119 signature file and try to download the signature afresh and see if it works now. |
worked for me! well done 👍 |
Hey Guys!
I have two cases of Droid stuck in "Initializing Profiles..." after downloading signature File V119 and Droid 6.8.0 and 6.7.0
I compared to Droid on a third System and there it worked.
The difference was:
the non-working Signature File had xmlns="https://www.nationalarchives.gov.uk/pronom/SignatureFile" with https,
the workung Signature-File had xmlns="http://www.nationalarchives.gov.uk/pronom/SignatureFile" with http.
Changing the non-working Signature-Files actually maked Droid to work again.
Now is the question: why did that happen?
Kind Regards,
Alfred Wutschka
The text was updated successfully, but these errors were encountered: