Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Grant Limberg, 2 years ago
hudson.util.StreamTaskListener cannot be cast to hudson.model.BuildListener
via Jenkins JIRA by Patrick Renaud, 1 year ago
hudson.util.StreamTaskListener cannot be cast to hudson.model.BuildListener
via Jenkins JIRA by Grant Limberg, 1 year ago
hudson.util.StreamTaskListener cannot be cast to hudson.model.BuildListener
via Jenkins JIRA by Patrick Renaud, 2 years ago
hudson.util.StreamTaskListener cannot be cast to hudson.model.BuildListener
java.lang.ClassCastException: hudson.util.StreamTaskListener cannot be cast to hudson.model.BuildListener at hudson.plugins.git.util.GitUtils.getPollEnvironment(GitUtils.java:170) at hudson.plugins.git.GitSCM.pollChanges(GitSCM.java:428) at hudson.scm.SCM.poll(SCM.java:372) at hudson.model.AbstractProject.poll(AbstractProject.java:1195) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:417) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:446) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)