Author Topic: Upgrade 1.5.5 to 1.6.0.1 - NoSuchMethodError  (Read 3679 times)

emilec

  • Newbie
  • *
  • Posts: 43
  • Karma: 4
    • View Profile
    • Email
Upgrade 1.5.5 to 1.6.0.1 - NoSuchMethodError
« on: March 30, 2010, 13:54:10 »
Hi

I have just upgraded a client from 1.5.5 to 1.6.0.1. When I now try and make changes to a user and click save I get the following error:
Quote
StandardContext[/QueueMetrics]LowayTransactionController: [D86358B29651FE0968BD494A4BD08E0B] [ERR] -- Inner Exception --
Exception: java.lang.NoSuchMethodError
Error:
java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;Stack trace:
java.lang.NoSuchMethodError: java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
        at it.loway.app.queuemetrics.configurazione.cfg2.ptUsers.PTValidateRecord(ptUsers.java:136)
        at it.loway.tpf.transaction.db.PagedTransactor.processEditor(PagedTransactor.java:166)
        at it.loway.tpf.transaction.db.PagedTransactor.PTProcessVerb(PagedTransactor.java:85)
        at it.loway.app.queuemetrics.configurazione.cfg2.ptUsers.doRun(ptUsers.java:60)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.runVerb(LowayTransactionController.java:255)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequest(LowayTransactionController.java:543)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequestWrapper(LowayTransactionController.java:365)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.doPost(LowayTransactionController.java:217)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:162)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:534)
-- End Inner Exception --

I have cleared out my work directory, have only one instance of QM in webapps and restarted tomcat a number of times. This problem looks similar to this report: http://forum.queuemetrics.com/index.php?topic=464.msg1983#msg1983 Which suggests Java 1.4 might be the issue. I am currently running. 1.4:
Quote
java version "1.4.2_17"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_17-b06)
Java HotSpot(TM) Client VM (build 1.4.2_17-b06, mixed mode)

OS is SLES10 SP x64. Any suggestions?



QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Upgrade 1.5.5 to 1.6.0.1 - NoSuchMethodError
« Reply #1 on: March 30, 2010, 14:16:27 »
Yes this is a compatibility issue with 1.4. We'll fix that, meanwhile better if you upgrade to 1.5 or 1.6.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Upgrade 1.5.5 to 1.6.0.1 - NoSuchMethodError
« Reply #2 on: March 30, 2010, 14:18:19 »
We track this as bug #1037.

emilec

  • Newbie
  • *
  • Posts: 43
  • Karma: 4
    • View Profile
    • Email
Re: Upgrade 1.5.5 to 1.6.0.1 - NoSuchMethodError
« Reply #3 on: March 30, 2010, 16:57:53 »
Thanks for the feedback. Maybe you should merge this into the other forum topic as they are related?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Upgrade 1.5.5 to 1.6.0.1 - NoSuchMethodError
« Reply #4 on: March 31, 2010, 10:00:46 »
Which one?