0 Replies Latest reply on Feb 11, 2019 5:20 AM by Ivan Batista Moreno

    Illegal use of nonvirtual function call

    Ivan Batista Moreno Newbie

      Hi

       

      I'm doing update in my web application JBOSS SEAM 2.2.2.Final from wildfly 10 to wildfly 15.

       

      ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 168) MSC000001: Failed to start service jboss.deployment.unit."xxx.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.unit."srop.war".undertow-deployment: java.lang.VerifyError: (class: org/jboss/seam/resteasy/ResteasyBootstrap_$$_javassist_seam_0, method: _d15sessionDidActivate signature: (Ljavax/servlet/http/HttpSessionEvent;)V) Illegal use of nonvirtual function call
      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
      at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
      at java.lang.Thread.run(Thread.java:748)
      at org.jboss.threads.JBossThread.run(JBossThread.java:485)
      Caused by: java.lang.VerifyError: (class: org/jboss/seam/resteasy/ResteasyBootstrap_$$_javassist_seam_0, method: _d15sessionDidActivate signature: (Ljavax/servlet/http/HttpSessionEvent;)V) Illegal use of nonvirtual function call
      at java.lang.Class.getDeclaredFields0(Native Method)
      at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
      at java.lang.Class.getField0(Class.java:2975)
      at java.lang.Class.getField(Class.java:1701)
      at org.jboss.seam.util.ProxyFactory.setField(ProxyFactory.java:365)
      at org.jboss.seam.util.ProxyFactory.createClass3(ProxyFactory.java:354)
      at org.jboss.seam.util.ProxyFactory.createClass2(ProxyFactory.java:327)
      at org.jboss.seam.util.ProxyFactory.createClass(ProxyFactory.java:286)
      at org.jboss.seam.Component.createProxyFactory(Component.java:2452)
      at org.jboss.seam.Component.getProxyFactory(Component.java:1516)
      at org.jboss.seam.Component.wrap(Component.java:1507)
      at org.jboss.seam.Component.instantiateJavaBean(Component.java:1445)
      at org.jboss.seam.Component.instantiate(Component.java:1362)
      at org.jboss.seam.Component.newInstance(Component.java:2148)
      at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
      at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
      at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:143)
      at org.jboss.seam.init.Initialization.init(Initialization.java:744)
      at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
      at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)
      at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:216)
      at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:185)
      at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
      at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
      at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
      at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
      at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
      at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
      at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:250)
      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:96)
      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:78)
      ... 8 more
      
      
      17:59:29,007 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"srop.war\".undertow-deployment" => "java.lang.VerifyError: (class: org/jboss/seam/resteasy/ResteasyBootstrap_$$_javassist_seam_0, method: _d15sessionDidActivate signature: (Ljavax/servlet/http/HttpSessionEvent;)V) Illegal use of nonvirtual function call
          Caused by: java.lang.VerifyError: (class: org/jboss/seam/resteasy/ResteasyBootstrap_$$_javassist_seam_0, method: _d15sessionDidActivate signature: (Ljavax/servlet/http/HttpSessionEvent;)V) Illegal use of nonvirtual function call"}}
      
      
      
      

       

       

      what can I do?

       

      Thank you very much

       

      Ivan