java.lang.IllegalStateException: Module has already been set.

labkey.org | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Messages: /home/Support/Server Forum

    labkey.org | 5 months ago
    java.lang.IllegalStateException: Module has already been set.
  2. 0

    Start Page: /home/Support/Server Forum

    labkey.org | 2 weeks ago
    java.lang.IllegalStateException: Module has already been set.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Module has already been set.

      at org.labkey.api.view.BaseWebPartFactory.setModule()
    2. org.labkey.api
      Portal.populatePortalView
      1. org.labkey.api.view.BaseWebPartFactory.setModule(BaseWebPartFactory.java:177)
      2. org.labkey.api.module.DefaultModule.getWebPartFactories(DefaultModule.java:414)
      3. org.labkey.api.view.Portal.getPartsToAdd(Portal.java:1178)
      4. org.labkey.api.view.Portal.addCustomizeDropdowns(Portal.java:905)
      5. org.labkey.api.view.Portal.populatePortalView(Portal.java:1027)
      6. org.labkey.api.view.Portal.populatePortalView(Portal.java:950)
      6 frames
    3. org.labkey.core
      ProjectController$BeginAction.getView
      1. org.labkey.core.portal.ProjectController$BeginAction.getView(ProjectController.java:327)
      2. org.labkey.core.portal.ProjectController$BeginAction.getView(ProjectController.java:280)
      2 frames
    4. org.labkey.api
      ViewServlet.service
      1. org.labkey.api.action.SimpleViewAction.handleRequest(SimpleViewAction.java:80)
      2. org.labkey.api.action.BaseViewAction.handleRequest(BaseViewAction.java:178)
      3. org.labkey.api.action.SpringActionController.handleRequest(SpringActionController.java:409)
      4. org.labkey.api.module.DefaultModule.dispatch(DefaultModule.java:1281)
      5. org.labkey.api.view.ViewServlet._service(ViewServlet.java:190)
      6. org.labkey.api.view.ViewServlet.service(ViewServlet.java:124)
      6 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      1 frame
    6. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    7. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    9. org.labkey.api
      TransactionFilter.doFilter
      1. org.labkey.api.data.TransactionFilter.doFilter(TransactionFilter.java:38)
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    11. org.labkey.core
      SetCharacterEncodingFilter.doFilter
      1. org.labkey.core.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
      1 frame
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    13. org.labkey.api
      ModuleLoader.doFilter
      1. org.labkey.api.module.ModuleLoader.doFilter(ModuleLoader.java:1144)
      1 frame
    14. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    15. org.labkey.api
      AuthFilter.doFilter
      1. org.labkey.api.security.AuthFilter.doFilter(AuthFilter.java:205)
      1 frame
    16. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)
      10 frames
    17. org.apache.coyote
      AjpProcessor.process
      1. org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
      1 frame
    18. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)
      2. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
      2 frames
    19. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames
    20. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    21. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame