Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via labkey.org by Unknown author, 1 year ago
Module has already been set.
via labkey.org by Unknown author, 1 year ago
java.lang.IllegalStateException: Module has already been set.	at org.labkey.api.view.BaseWebPartFactory.setModule(BaseWebPartFactory.java:177)	at org.labkey.api.module.DefaultModule.getWebPartFactories(DefaultModule.java:414)	at org.labkey.api.view.Portal.getPartsToAdd(Portal.java:1178)	at org.labkey.api.view.Portal.addCustomizeDropdowns(Portal.java:905)	at org.labkey.api.view.Portal.populatePortalView(Portal.java:1027)	at org.labkey.api.view.Portal.populatePortalView(Portal.java:950)	at org.labkey.core.portal.ProjectController$BeginAction.getView(ProjectController.java:327)	at org.labkey.core.portal.ProjectController$BeginAction.getView(ProjectController.java:280)	at org.labkey.api.action.SimpleViewAction.handleRequest(SimpleViewAction.java:80)	at org.labkey.api.action.BaseViewAction.handleRequest(BaseViewAction.java:178)	at org.labkey.api.action.SpringActionController.handleRequest(SpringActionController.java:409)	at org.labkey.api.module.DefaultModule.dispatch(DefaultModule.java:1281)	at org.labkey.api.view.ViewServlet._service(ViewServlet.java:190)	at org.labkey.api.view.ViewServlet.service(ViewServlet.java:124)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at org.labkey.api.data.TransactionFilter.doFilter(TransactionFilter.java:38)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at org.labkey.core.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at org.labkey.api.module.ModuleLoader.doFilter(ModuleLoader.java:1144)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at org.labkey.api.security.AuthFilter.doFilter(AuthFilter.java:205)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Thread.java:745)