java.lang.ClassCastException: hudson.maven.MavenModule cannot be cast to hudson.model.TopLevelItem

Jenkins JIRA | Jorge Rodríguez Pedrianes | 3 years 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

    ClassCastException in JMS ConnectionFactory lookup in JNDI

    Stack Overflow | 5 years ago | Bash
    java.lang.ClassCastException: org.jboss.jms.client.JBossConnectionFactory cannot be cast to javax.jms.QueueConnectionFactory 09:22:20,731 ERROR [STDERR] at com.cat.clv.util.InQueueReinjectMessage.sendMessage(InQueueReinjectMessage.java:63) 09:22:20,731 ERROR [STDERR] at com.cat.clv.util.RejectedMessageReinject.reProcessedMessage(RejectedMessageReinject.java:65) 09:22:20,731 ERROR [STDERR] at com.cat.clv.service.ReinjectMessagesServiceImpl.reinjectRejectedMessages(ReinjectMessagesServiceImpl.java:106) 09:22:20,731 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 09:22:20,731 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    db:: 4.18::abqbills exec15/exec.exe stdout not re-directed when -c switch is used a7

    hivmr.com | 1 year ago
    java.lang.ClassCastException: org.apache.myfaces.renderkit.html.ext.HtmlButtonRenderer0:50:40,852 INFO [STDOUT] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:876)0:50:40,852 INFO [STDOUT] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:925)0:50:40,852 INFO [STDOUT] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:406)0:50:40,852 INFO [STDOUT] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)0:50:40,852 INFO [STDOUT] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)0:50:40,852 INFO [STDOUT] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)0:50:40,852 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)0:50:40,852 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)0:50:40,852 INFO [STDOUT] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)0:50:40,852 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)0:50:40,852 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)0:50:40,852 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)0:50:40,852 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)0:50:40,852 INFO [STDOUT] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)0:50:40,852 INFO [STDOUT] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)0:50:40,852 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)0:50:40,852 INFO [STDOUT] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)0:50:40,852 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)0:50:40,852 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)0:50:40,852 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)0:50:40,852 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)0:50:40,852 INFO [STDOUT] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)0:50:40,852 INFO [STDOUT] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)0:50:40,852 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)0:50:40,852 INFO [STDOUT] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:280)0:50:40,852 INFO [STDOUT] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88)0:50:40,852 INFO [STDOUT] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)0:50:40,852 INFO [STDOUT] at org.jboss.web.WebModule.startModule(WebModule.java:68)0:50:40,852 INFO [STDOUT] at org.jboss.web.WebModule.startService(WebModule.java:46)0:50:40,852 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)0:50:40,852 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)0:50:40,852 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  4. 0

    db:: 3.64::Routing query output to STDOUT 3a

    hivmr.com | 1 year ago
    java.lang.ClassCastException: org.apache.myfaces.renderkit.html.ext.HtmlButtonRenderer0:50:40,852 INFO [STDOUT] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:876)0:50:40,852 INFO [STDOUT] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:925)0:50:40,852 INFO [STDOUT] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:406)0:50:40,852 INFO [STDOUT] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)0:50:40,852 INFO [STDOUT] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)0:50:40,852 INFO [STDOUT] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)0:50:40,852 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)0:50:40,852 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)0:50:40,852 INFO [STDOUT] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)0:50:40,852 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)0:50:40,852 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)0:50:40,852 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)0:50:40,852 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)0:50:40,852 INFO [STDOUT] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)0:50:40,852 INFO [STDOUT] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)0:50:40,852 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)0:50:40,852 INFO [STDOUT] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)0:50:40,852 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)0:50:40,852 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)0:50:40,852 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)0:50:40,852 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)0:50:40,852 INFO [STDOUT] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)0:50:40,852 INFO [STDOUT] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)0:50:40,852 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)0:50:40,852 INFO [STDOUT] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:280)0:50:40,852 INFO [STDOUT] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88)0:50:40,852 INFO [STDOUT] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)0:50:40,852 INFO [STDOUT] at org.jboss.web.WebModule.startModule(WebModule.java:68)0:50:40,852 INFO [STDOUT] at org.jboss.web.WebModule.startService(WebModule.java:46)0:50:40,852 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)0:50:40,852 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)0:50:40,852 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

    Root Cause Analysis

    1. java.lang.ClassCastException

      hudson.maven.MavenModule cannot be cast to hudson.model.TopLevelItem

      at hudson.plugins.view.dashboard.core.UnstableJobsPortlet.getUnstableJobs()
    2. hudson.plugins.view
      UnstableJobsPortlet.getUnstableJobs
      1. hudson.plugins.view.dashboard.core.UnstableJobsPortlet.getUnstableJobs(UnstableJobsPortlet.java:44)
      2. hudson.plugins.view.dashboard.core.UnstableJobsPortlet.getUnstableJobs(UnstableJobsPortlet.java:46)
      2 frames
    3. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.GeneratedMethodAccessor597.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2 frames