LazyInitializationException: failed to lazily initialize a collection of role: se.su.dsv.scipro.match.ApplicationPeriod.projectTypes: could not initialize proxy - no Session #50
ansv7779
commented 2024-12-02 15:35:35 +01:00
Owner
```
2024-10-21 01:47:25 [INFO] AdditionalExceptionLogger: Current user: User(id=22131, identifier=151726, firstName=xxx, lastName=xxx, emailAddress=xxx, deceased=false, degreeType=BACHELOR) (22131)
2024-10-21 01:47:25 [INFO] AdditionalExceptionLogger: Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
2024-10-21 01:47:25 [INFO] AdditionalExceptionLogger: Request url: GET projectideas/newidea?16&apid=75
2024-10-21 01:47:25 [INFO] AdditionalExceptionLogger: Request parameter: 16=[]
2024-10-21 01:47:25 [INFO] AdditionalExceptionLogger: Request parameter: apid=[75]
2024-10-21 01:47:25 [ERROR] DefaultExceptionMapper: Unexpected error occurred
org.apache.wicket.WicketRuntimeException: Exception in rendering component: [BootstrapRadioChoice [Component id = projectType]]
at org.apache.wicket.Component.internalRenderComponent(Component.java:2534)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1586)
at org.apache.wicket.Component.internalRender(Component.java:2317)
at org.apache.wicket.Component.render(Component.java:2248)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1447)
at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1647)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1622)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1580)
at org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:1780)
at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:70)
at org.apache.wicket.Component.internalRenderComponent(Component.java:2510)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1586)
at org.apache.wicket.Component.internalRender(Component.java:2317)
at org.apache.wicket.Component.render(Component.java:2248)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1447)
at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1647)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1622)
at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:810)
at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:73)
at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:131)
at org.apache.wicket.Component.internalRenderComponent(Component.java:2510)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1586)
at org.apache.wicket.Component.internalRender(Component.java:2317)
at org.apache.wicket.Component.render(Component.java:2248)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1447)
at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1647)
at org.apache.wicket.Page.onRender(Page.java:857)
at org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:126)
at org.apache.wicket.Component.internalRender(Component.java:2317)
at org.apache.wicket.Component.render(Component.java:2248)
at org.apache.wicket.Page.renderPage(Page.java:997)
at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:124)
at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:195)
at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:202)
at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:910)
at org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:63)
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:294)
at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:255)
at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:277)
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:208)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:307)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
at com.google.inject.persist.PersistFilter.doFilter(PersistFilter.java:94)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:166)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:676)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:440)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:894)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:840)
Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: se.su.dsv.scipro.match.ApplicationPeriod.projectTypes: could not initialize proxy - no Session
at org.hibernate.collection.spi.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:634)
at org.hibernate.collection.spi.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:217)
at org.hibernate.collection.spi.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:613)
at org.hibernate.collection.spi.AbstractPersistentCollection.read(AbstractPersistentCollection.java:136)
at org.hibernate.collection.spi.PersistentSet.iterator(PersistentSet.java:166)
at se.su.dsv.scipro.match.ApplicationPeriod.getProjectTypes(ApplicationPeriod.java:164)
at se.su.dsv.scipro.match.ApplicationPeriodServiceImpl.getTypesForStudent(ApplicationPeriodServiceImpl.java:82)
at jdk.internal.reflect.GeneratedMethodAccessor180.invoke(Unknown Source)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:569)
at org.apache.wicket.proxy.jdk.JdkProxyFactory$JdkHandler.invoke(JdkProxyFactory.java:172)
at jdk.proxy2.$Proxy158.getTypesForStudent(Unknown Source)
at se.su.dsv.scipro.match.ProjectIdeaSubmissionPanel$IdeaForm.lambda$addProjectTypeSelection$70b3ca6$1(ProjectIdeaSubmissionPanel.java:150)
at org.apache.wicket.model.IModel$2.getObject(IModel.java:150)
at org.apache.wicket.markup.html.form.AbstractChoice.getChoices(AbstractChoice.java:293)
at org.apache.wicket.markup.html.form.AbstractChoice.onComponentTagBody(AbstractChoice.java:439)
at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:70)
at org.apache.wicket.Component.internalRenderComponent(Component.java:2510)
... 64 more
```
ansv7779
added the 2024-12-02 15:35:35 +01:00
new
label
ansv7779
added the 2024-12-02 15:39:48 +01:00
bug
label
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?