IllegalStateException: A file has already been uploaded at FinalSeminarUploadControllerImpl.storeSeminarDocument(FinalSeminarUploadControllerImpl.java:51) #1

Open
opened 2024-05-30 16:23:40 +02:00 by ansv7779 · 0 comments
Owner
2024-05-29 11:52:48 [INFO] AdditionalExceptionLogger: Current user: User(id=28864, identifier=172235, firstName=Sara, lastName=Laroussi Salah, emailAddress=sarasalahs@hotmail.com, deceased=false, degreeType=BACHELOR) (28864)
2024-05-29 11:52:48 [INFO] AdditionalExceptionLogger: Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
2024-05-29 11:52:48 [INFO] AdditionalExceptionLogger: Request url: POST project/finalseminar?24-1.-seminar-thesis-upload&pid=7961
2024-05-29 11:52:48 [INFO] AdditionalExceptionLogger: Request parameter: 24-1.-seminar-thesis-upload=[]
2024-05-29 11:52:48 [INFO] AdditionalExceptionLogger: Request parameter: pid=[7961]
2024-05-29 11:52:48 [ERROR] DefaultExceptionMapper: Unexpected error occurred
java.lang.IllegalStateException: A file has already been uploaded
        at se.su.dsv.scipro.finalseminar.FinalSeminarUploadControllerImpl.storeSeminarDocument(FinalSeminarUploadControllerImpl.java:51) ~[core-0.1-SNAPSHOT.jar:?]
        at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:66) ~[guice-persist-7.0.0.jar:?]
        at jdk.internal.reflect.GeneratedMethodAccessor687.invoke(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
        at org.apache.wicket.proxy.jdk.JdkProxyFactory$JdkHandler.invoke(JdkProxyFactory.java:172) ~[wicket-ioc-10.0.0.jar:10.0.0]
        at jdk.proxy2.$Proxy170.storeSeminarDocument(Unknown Source) ~[?:?]
        at se.su.dsv.scipro.finalseminar.SeminarThesisPanel$NewSeminarDocumentUploadForm.onSubmit(SeminarThesisPanel.java:162) ~[classes/:?]
        at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1378) ~[wicket-core-10.0.0.jar:10.0.0]
        at org.apache.wicket.markup.html.form.Form.process(Form.java:1034) ~[wicket-core-10.0.0.jar:10.0.0]
        at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:858) ~[wicket-core-10.0.0.jar:10.0.0]
        at org.apache.wicket.markup.html.form.Form.onRequest(Form.java:759) ~[wicket-core-10.0.0.jar:10.0.0]
        at org.apache.wicket.core.request.handler.ListenerRequestHandler.internalInvoke(ListenerRequestHandler.java:300) ~[wicket-core-10.0.0.jar:10.0.0]
        at org.apache.wicket.core.request.handler.ListenerRequestHandler.invoke(ListenerRequestHandler.java:249) ~[wicket-core-10.0.0.jar:10.0.0]
        at org.apache.wicket.core.request.handler.ListenerRequestHandler.invokeListener(ListenerRequestHandler.java:209) ~[wicket-core-10.0.0.jar:10.0.0]
        at org.apache.wicket.core.request.handler.ListenerRequestHandler.respond(ListenerRequestHandler.java:202) ~[wicket-core-10.0.0.jar:10.0.0]
        at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:910) ~[wicket-core-10.0.0.jar:10.0.0]
        at org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:63) ~[wicket-request-10.0.0.jar:10.0.0]
        at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:294) [wicket-core-10.0.0.jar:10.0.0]
        at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:255) [wicket-core-10.0.0.jar:10.0.0]
        at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:277) [wicket-core-10.0.0.jar:10.0.0]
        at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:208) [wicket-core-10.0.0.jar:10.0.0]
        at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:307) [wicket-core-10.0.0.jar:10.0.0]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-7.0.0.jar:?]
        at com.google.inject.persist.PersistFilter.doFilter(PersistFilter.java:94) [guice-persist-7.0.0.jar:?]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-7.0.0.jar:?]
        at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121) [guice-servlet-7.0.0.jar:?]
        at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133) [guice-servlet-7.0.0.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) [tomcat10-catalina-10.1.6.jar:10.1.6]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) [tomcat10-catalina-10.1.6.jar:10.1.6]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:166) [tomcat10-catalina-10.1.6.jar:10.1.6]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) [tomcat10-catalina-10.1.6.jar:10.1.6]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) [tomcat10-catalina-10.1.6.jar:10.1.6]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) [tomcat10-catalina-10.1.6.jar:10.1.6]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) [tomcat10-catalina-10.1.6.jar:10.1.6]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:676) [tomcat10-catalina-10.1.6.jar:10.1.6]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat10-catalina-10.1.6.jar:10.1.6]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) [tomcat10-catalina-10.1.6.jar:10.1.6]
        at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:440) [tomcat10-coyote-10.1.6.jar:10.1.6]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) [tomcat10-coyote-10.1.6.jar:10.1.6]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:894) [tomcat10-coyote-10.1.6.jar:10.1.6]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) [tomcat10-coyote-10.1.6.jar:10.1.6]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) [tomcat10-coyote-10.1.6.jar:10.1.6]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat10-util-10.1.6.jar:10.1.6]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat10-util-10.1.6.jar:10.1.6]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat10-util-10.1.6.jar:10.1.6]
        at java.lang.Thread.run(Thread.java:840) [?:?]
``` 2024-05-29 11:52:48 [INFO] AdditionalExceptionLogger: Current user: User(id=28864, identifier=172235, firstName=Sara, lastName=Laroussi Salah, emailAddress=sarasalahs@hotmail.com, deceased=false, degreeType=BACHELOR) (28864) 2024-05-29 11:52:48 [INFO] AdditionalExceptionLogger: Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 2024-05-29 11:52:48 [INFO] AdditionalExceptionLogger: Request url: POST project/finalseminar?24-1.-seminar-thesis-upload&pid=7961 2024-05-29 11:52:48 [INFO] AdditionalExceptionLogger: Request parameter: 24-1.-seminar-thesis-upload=[] 2024-05-29 11:52:48 [INFO] AdditionalExceptionLogger: Request parameter: pid=[7961] 2024-05-29 11:52:48 [ERROR] DefaultExceptionMapper: Unexpected error occurred java.lang.IllegalStateException: A file has already been uploaded at se.su.dsv.scipro.finalseminar.FinalSeminarUploadControllerImpl.storeSeminarDocument(FinalSeminarUploadControllerImpl.java:51) ~[core-0.1-SNAPSHOT.jar:?] at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:66) ~[guice-persist-7.0.0.jar:?] at jdk.internal.reflect.GeneratedMethodAccessor687.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at org.apache.wicket.proxy.jdk.JdkProxyFactory$JdkHandler.invoke(JdkProxyFactory.java:172) ~[wicket-ioc-10.0.0.jar:10.0.0] at jdk.proxy2.$Proxy170.storeSeminarDocument(Unknown Source) ~[?:?] at se.su.dsv.scipro.finalseminar.SeminarThesisPanel$NewSeminarDocumentUploadForm.onSubmit(SeminarThesisPanel.java:162) ~[classes/:?] at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1378) ~[wicket-core-10.0.0.jar:10.0.0] at org.apache.wicket.markup.html.form.Form.process(Form.java:1034) ~[wicket-core-10.0.0.jar:10.0.0] at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:858) ~[wicket-core-10.0.0.jar:10.0.0] at org.apache.wicket.markup.html.form.Form.onRequest(Form.java:759) ~[wicket-core-10.0.0.jar:10.0.0] at org.apache.wicket.core.request.handler.ListenerRequestHandler.internalInvoke(ListenerRequestHandler.java:300) ~[wicket-core-10.0.0.jar:10.0.0] at org.apache.wicket.core.request.handler.ListenerRequestHandler.invoke(ListenerRequestHandler.java:249) ~[wicket-core-10.0.0.jar:10.0.0] at org.apache.wicket.core.request.handler.ListenerRequestHandler.invokeListener(ListenerRequestHandler.java:209) ~[wicket-core-10.0.0.jar:10.0.0] at org.apache.wicket.core.request.handler.ListenerRequestHandler.respond(ListenerRequestHandler.java:202) ~[wicket-core-10.0.0.jar:10.0.0] at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:910) ~[wicket-core-10.0.0.jar:10.0.0] at org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:63) ~[wicket-request-10.0.0.jar:10.0.0] at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:294) [wicket-core-10.0.0.jar:10.0.0] at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:255) [wicket-core-10.0.0.jar:10.0.0] at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:277) [wicket-core-10.0.0.jar:10.0.0] at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:208) [wicket-core-10.0.0.jar:10.0.0] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:307) [wicket-core-10.0.0.jar:10.0.0] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-7.0.0.jar:?] at com.google.inject.persist.PersistFilter.doFilter(PersistFilter.java:94) [guice-persist-7.0.0.jar:?] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-7.0.0.jar:?] at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121) [guice-servlet-7.0.0.jar:?] at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133) [guice-servlet-7.0.0.jar:?] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) [tomcat10-catalina-10.1.6.jar:10.1.6] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) [tomcat10-catalina-10.1.6.jar:10.1.6] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:166) [tomcat10-catalina-10.1.6.jar:10.1.6] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) [tomcat10-catalina-10.1.6.jar:10.1.6] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) [tomcat10-catalina-10.1.6.jar:10.1.6] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) [tomcat10-catalina-10.1.6.jar:10.1.6] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) [tomcat10-catalina-10.1.6.jar:10.1.6] at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:676) [tomcat10-catalina-10.1.6.jar:10.1.6] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat10-catalina-10.1.6.jar:10.1.6] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) [tomcat10-catalina-10.1.6.jar:10.1.6] at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:440) [tomcat10-coyote-10.1.6.jar:10.1.6] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) [tomcat10-coyote-10.1.6.jar:10.1.6] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:894) [tomcat10-coyote-10.1.6.jar:10.1.6] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) [tomcat10-coyote-10.1.6.jar:10.1.6] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) [tomcat10-coyote-10.1.6.jar:10.1.6] at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat10-util-10.1.6.jar:10.1.6] at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat10-util-10.1.6.jar:10.1.6] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat10-util-10.1.6.jar:10.1.6] at java.lang.Thread.run(Thread.java:840) [?:?] ```
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: DMC/scipro#1
No description provided.