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

Internal error after submitting a collection from third party repository #190

Open
WillemElbers opened this issue May 11, 2022 · 0 comments

Comments

@WillemElbers
Copy link
Contributor

WillemElbers commented May 11, 2022

Submitting https://snd.gu.se/en/catalogue/study/ext0354 to the VCR results in a internal server error.

After trying this on a different macbook the submisssion is working.

Stacktrace in the log:

2022-05-11 12:29:44,871 INFO [eu.clarin.cmdi.virtualcollectionregistry.model.VirtualCollectionBuilder#setOrigin:61] - Setting origin to: https://arche.acdh.oeaw.ac.at
2022-05-11 12:29:44,873 DEBUG [eu.clarin.cmdi.virtualcollectionregistry.model.VirtualCollectionBuilder#addResource:187] - Resource input: {"description":"The most wide-spread contemporary use of English throughout the world is that of Eng
lish as a lingua franca (ELF), i.e. English used as a common means of communication among speakers from different first-language backgrounds (Seidlhofer 2011). Nevertheless, linguistic descriptions before the mid-2000s focused almost enti
rely on English as spoken and written by its native speakers. Starting in 2005, the VOICE project sought to redress the balance by compiling the first general corpus capturing spoken ELF interactions as they happen naturally in various co
ntexts. VOICE was designed and compiled to make possible linguistic descriptions of this most common contemporary use of English by providing a corpus of spoken ELF interactions which has been freely accessible to linguistic researchers a
ll over the world since 2009. The Vienna-Oxford International Corpus of English (VOICE) was initially created by Barbara Seidlhofer (founding director) and Angelika Breiteneder, Theresa Klimpfinger, Stefan Majewski, Marie-Luise Pitzl (pro
ject researchers) from 2005 to 2011 at the English Department at the University of Vienna. VOICE 1.0 Online was released in 2009, VOICE 1.0 XML in 2011. VOICE POS XML 2.0 was the first part-of-speech tagged version of VOICE and was based
on the same data as VOICE 2.0 XML. Both VOICE 2.0 XML and VOICE 2.0 POS XML were released in 2013. Additional researchers centrally involved in the creation of VOICE 2.0 POS XML were Ruth Osimk-Teasdale, Michael Radeka and Nora Dorn. VOIC
E 2.0 XML and VOICE POS XML 2.0 included minor revisions with regard to previous versions. VOICE 3.0 XML and VOICE 3.0 Online are based on the same data as VOICE 1.0\/2.0 and were created from spring 2020 to autumn 2021 in the VOICE CLARI
AH project. VOICE 3.0 XML is a new, merged TEI-conform XML version of VOICE 2.0 XML and VOICE POS XML 2.0, which contains spoken mark-up as well as part-of-speech and lemma information in TEI-XML format. The members of the VOICE CLARIAH t
eam who created VOICE 3.0 were: Marie-Luise Pitzl (PI), Daniel Schopper, Barbara Seidlhofer, Hans Christian Breuer, Ruth Osmik-Teasdale, Hannes Pirker, Stefanie Riegler, Omar Siam.","uri":"https:\/\/hdl.handle.net\/21.11115\/0000-000E-BCE
0-1","label":"Vienna-Oxford International Corpus of English (VOICE) XML"}
2022-05-11 12:29:44,990 DEBUG [eu.clarin.cmdi.virtualcollectionregistry.model.VirtualCollectionBuilder#addResource:190] - Parsed JSON input: uri=https://hdl.handle.net/21.11115/0000-000E-BCE0-1, label=Vienna-Oxford International Corpus of
 English (VOICE) XML, description=The most wide-spread contemporary use of English throughout the world is that of English as a lingua franca (ELF), i.e. English used as a common means of communication among speakers from different first-
language backgrounds (Seidlhofer 2011). Nevertheless, linguistic descriptions before the mid-2000s focused almost entirely on English as spoken and written by its native speakers. Starting in 2005, the VOICE project sought to redress the
balance by compiling the first general corpus capturing spoken ELF interactions as they happen naturally in various contexts. VOICE was designed and compiled to make possible linguistic descriptions of this most common contemporary use of
 English by providing a corpus of spoken ELF interactions which has been freely accessible to linguistic researchers all over the world since 2009. The Vienna-Oxford International Corpus of English (VOICE) was initially created by Barbara
 Seidlhofer (founding director) and Angelika Breiteneder, Theresa Klimpfinger, Stefan Majewski, Marie-Luise Pitzl (project researchers) from 2005 to 2011 at the English Department at the University of Vienna. VOICE 1.0 Online was released
 in 2009, VOICE 1.0 XML in 2011. VOICE POS XML 2.0 was the first part-of-speech tagged version of VOICE and was based on the same data as VOICE 2.0 XML. Both VOICE 2.0 XML and VOICE 2.0 POS XML were released in 2013. Additional researcher
s centrally involved in the creation of VOICE 2.0 POS XML were Ruth Osimk-Teasdale, Michael Radeka and Nora Dorn. VOICE 2.0 XML and VOICE POS XML 2.0 included minor revisions with regard to previous versions. VOICE 3.0 XML and VOICE 3.0 O
nline are based on the same data as VOICE 1.0/2.0 and were created from spring 2020 to autumn 2021 in the VOICE CLARIAH project. VOICE 3.0 XML is a new, merged TEI-conform XML version of VOICE 2.0 XML and VOICE POS XML 2.0, which contains
 spoken mark-up as well as part-of-speech and lemma information in TEI-XML format. The members of the VOICE CLARIAH team who created VOICE 3.0 were: Marie-Luise Pitzl (PI), Daniel Schopper, Barbara Seidlhofer, Hans Christian Breuer, Ruth
Osmik-Teasdale, Hannes Pirker, Stefanie Riegler, Omar Siam.
2022-05-11 12:29:45,023 WARN [org.apache.wicket.markup.resolver.AutoLinkResolver#newAutoComponent:462] - Did not find corresponding java class: eu.clarin.cmdi.virtualcollectionregistry.gui.pages.submission.AboutPage
2022-05-11 12:29:45,024 WARN [org.apache.wicket.markup.resolver.AutoLinkResolver#newAutoComponent:462] - Did not find corresponding java class: eu.clarin.cmdi.virtualcollectionregistry.gui.pages.submission.AboutPage
2022-05-11 12:31:33,917 INFO [eu.clarin.cmdi.virtualcollectionregistry.gui.pages.submission.SubmitVirtualCollectionPage#onBeforeRender:52] - Collection stored in session, redirect to edit page
2022-05-11 12:31:33,987 INFO [eu.clarin.cmdi.virtualcollectionregistry.gui.pages.submission.MergeCollectionsPage#<init>:90] - Processing submitted collection. id=null
2022-05-11 12:31:33,987 ERROR [org.apache.wicket.DefaultExceptionMapper#mapUnexpectedExceptions:170] - Unexpected error occurred
org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public eu.clarin.cmdi.virtualcollectionregistry.gui.pages.submission.MergeCollectionsPage(org.apache.wicket.request.mapper.parameter.PageParameters) throw
s eu.clarin.cmdi.virtualcollectionregistry.VirtualCollectionRegistryException' and argument ''. An exception has been thrown during construction!
        at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:194) ~[wicket-core-7.12.0.jar:7.12.0]
	at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:76) ~[wicket-core-7.12.0.jar:7.12.0]
	at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:102) ~[wicket-core-7.12.0.jar:7.12.0]
	at org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:271) ~[wicket-core-7.12.0.jar:7.12.0]
	at org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:169) ~[wicket-core-7.12.0.jar:7.12.0]
	at org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78) ~[wicket-core-7.12.0.jar:7.12.0]
	at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:231) ~[wicket-core-7.12.0.jar:7.12.0]
	at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175) ~[wicket-core-7.12.0.jar:7.12.0]
	at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895) ~[wicket-core-7.12.0.jar:7.12.0]
	at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) ~[wicket-request-7.12.0.jar:7.12.0]
	at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265) ~[wicket-core-7.12.0.jar:7.12.0]
	at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222) ~[wicket-core-7.12.0.jar:7.12.0]
	at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293) ~[wicket-core-7.12.0.jar:7.12.0]
	at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261) ~[wicket-core-7.12.0.jar:7.12.0]
	at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203) ~[wicket-core-7.12.0.jar:7.12.0]
	at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284) ~[wicket-core-7.12.0.jar:7.12.0]
	at eu.clarin.cmdi.virtualcollectionregistry.VcrWicketFilter.doFilter(VcrWicketFilter.java:46) ~[classes/:?]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.70]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.70]
	at eu.clarin.cmdi.virtualcollectionregistry.gui.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:34) ~[classes/:?]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.70]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.70]
	at eu.clarin.cmdi.virtualcollectionregistry.rest.PersistenceFilter.doFilter(PersistenceFilter.java:34) ~[classes/:?]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.70]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.70]
	at de.mpg.aai.shhaa.AuthFilter.doFilter(AuthFilter.java:96) ~[mpgaai-shhaa-1.0.13.jar:?]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.70]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.70]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:196) ~[catalina.jar:8.5.70]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) ~[catalina.jar:8.5.70]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:544) ~[catalina.jar:8.5.70]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) ~[catalina.jar:8.5.70]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) ~[catalina.jar:8.5.70]
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:698) ~[catalina.jar:8.5.70]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) ~[catalina.jar:8.5.70]
	at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:769) ~[catalina.jar:8.5.70]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:364) ~[catalina.jar:8.5.70]
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:624) ~[tomcat-coyote.jar:8.5.70]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) ~[tomcat-coyote.jar:8.5.70]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831) ~[tomcat-coyote.jar:8.5.70]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1650) ~[tomcat-coyote.jar:8.5.70]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-coyote.jar:8.5.70]
	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) ~[tomcat-util.jar:8.5.70]
	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-util.jar:8.5.70]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-util.jar:8.5.70]
	at java.lang.Thread.run(Thread.java:834) ~[?:?]
Caused by: java.lang.reflect.InvocationTargetException
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
	at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:171) ~[wicket-core-7.12.0.jar:7.12.0]
	... 45 more
Caused by: java.lang.IllegalArgumentException: value == null
	at eu.clarin.cmdi.virtualcollectionregistry.QueryOptions$Filter.add(QueryOptions.java:179) ~[classes/:?]
	at eu.clarin.cmdi.virtualcollectionregistry.gui.table.PrivateCollectionsProvider.addSpaceFilter(PrivateCollectionsProvider.java:17) ~[classes/:?]
	at eu.clarin.cmdi.virtualcollectionregistry.gui.table.CollectionsProvider.getFilter(CollectionsProvider.java:89) ~[classes/:?]
	at eu.clarin.cmdi.virtualcollectionregistry.gui.table.CollectionsProvider.size(CollectionsProvider.java:52) ~[classes/:?]
	at eu.clarin.cmdi.virtualcollectionregistry.gui.table.CollectionsProvider.getList(CollectionsProvider.java:63) ~[classes/:?]
	at eu.clarin.cmdi.virtualcollectionregistry.gui.pages.submission.MergeCollectionsPage.<init>(MergeCollectionsPage.java:133) ~[classes/:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
	at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:171) ~[wicket-core-7.12.0.jar:7.12.0]
	... 45 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant