java.lang.NoSuchMethodError: org.labkey.api.settings.HeaderProperties: method 'void <init>()' not found Chuz_SA  2020-02-27 22:38
Status: Active
 

Hi All

After our upgrade to 19.3 we get the following error, please assist:

An unexpected error occurred. If contacting support regarding this error, please refer to error code: YGSHYY

java.lang.NoSuchMethodError: org.labkey.api.settings.HeaderProperties: method 'void <init>()' not found

java.lang.NoSuchMethodError: org.labkey.api.settings.HeaderProperties: method 'void <init>()' not found
at org.labkey.jsp.compiled.org.labkey.core.view.template.bootstrap.header_jsp._jspService(header_jsp.java:127)
at org.labkey.api.view.JspView.renderView(JspView.java:174)
at org.labkey.api.view.WebPartView.renderInternal(WebPartView.java:372)
at org.labkey.api.view.HttpView.render(HttpView.java:134)
at org.labkey.api.view.HttpView.render(HttpView.java:119)
at org.labkey.api.view.HttpView.include(HttpView.java:518)
at org.labkey.api.view.HttpView.include(HttpView.java:494)
at org.labkey.jsp.compiled.org.labkey.core.view.template.bootstrap.pageTemplate_jsp._jspService(pageTemplate_jsp.java:159)
at org.labkey.api.view.JspView.renderView(JspView.java:174)
at org.labkey.api.view.WebPartView.renderInternal(WebPartView.java:372)
at org.labkey.api.view.HttpView.render(HttpView.java:134)
at org.labkey.api.view.HttpView.render(HttpView.java:119)
at org.labkey.api.action.SpringActionController.renderInTemplate(SpringActionController.java:619)
at org.labkey.api.action.SpringActionController.handleRequest(SpringActionController.java:499)
at org.labkey.api.module.DefaultModule.dispatch(DefaultModule.java:1299)
at org.labkey.api.view.ViewServlet._service(ViewServlet.java:204)
at org.labkey.api.view.ViewServlet.service(ViewServlet.java:131)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.labkey.api.data.TransactionFilter.doFilter(TransactionFilter.java:38)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.labkey.api.module.ModuleLoader.doFilter(ModuleLoader.java:1226)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.labkey.api.security.AuthFilter.doFilter(AuthFilter.java:215)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.labkey.core.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:830)

request attributes
LABKEY.OriginalURL = http://localhost:8080/labkey/study/Tutorials/Importable Demo Study/dataset.view?datasetId=5008&QCState=6%2C5%2C4%2C-1
LABKEY.StartTime = 1582871778453
LABKEY.action = dataset
org.springframework.web.servlet.DispatcherServlet.CONTEXT = Study WebApplicationContext: startup date [Thu Feb 27 15:24:41 SAST 2020]; parent: Root WebApplicationContext
LABKEY.controller = study
LABKEY.Counter = 1
X-LABKEY-CSRF = e1ebbc72ca6c5417996b76b7e0eb4942
LABKEY.container = /Tutorials/Importable Demo Study
LABKEY.RequestURL = /labkey/study/Tutorials/Importable%20Demo%20Study/dataset.view?datasetId=5008&QCState=6%2C5%2C4%2C-1
LABKEY.OriginalURLHelper = /labkey/study/Tutorials/Importable%20Demo%20Study/dataset.view?datasetId=5008&QCState=6%2C5%2C4%2C-1

core schema database configuration
Server URL jdbc:postgresql://localhost/labkey
Product Name PostgreSQL
Product Version 11.2
Driver Name PostgreSQL JDBC Driver
Driver Version 42.2.8

 
 
chetc (LabKey Support) responded:  2020-03-02 09:42

Hello,

Thank you for reaching out to us!

An error like this usually the result of a partial upgrade, where some but not all of the binaries get upgraded.

To resolve this we recommend

  1. Shut down the tomcat service
  2. Delete your modules and labkeyWebapp directories
  3. Recopy those directories form the new version you downloaded
  4. Restart the tomcat service

Please let me know if you have troubles finding what to delete or if this doesn't work.

Thanks,
Chet

 
chetc (LabKey Support) responded:  2020-03-06 10:36

Hello,

We appreciate you utilizing our forums!

However this forum will become inactive very soon. To follow up on this question or to ask new question please use our new forum.

LabKey Support Forum - https://www.labkey.org/home/Support/LabKey Support Forum/project-begin.view?

Thanks,
Chet