Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27823

error while Configuring a Jenkins Job for Veracode Analysis

XMLWordPrintable

      Hey ,
      i want to configure a Jenkins Job for Veracode Analysis
      i use exists jenkins job and add the configuration for veracode
      and i get error :

      javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class com.veracode.jenkins.plugin.VeracodeNotifier from {"appname":"eWXifPNJvV55cuKUu3RSnREtsoDevgYewDos3jtwMAg=","createprofile":false,"criticality":"EyfMO+rq6E+xW66bF+ATElZqV96tr36ltWm1DFSfZ1Q=","sandboxname":"r6dVQWb0hvPfPhVYTVTCsw==","createsandbox":false,"version":"YsBsaurW4vLBgjko+uucfxEtsoDevgYewDos3jtwMAg=","uploadincludespattern":"bDDj/V3GHLT8UbeMoISTYLcbo+yPWQY6PJWMaom8VLA=","uploadexcludespattern":"r6dVQWb0hvPfPhVYTVTCsw==","scanincludespattern":"r6dVQWb0hvPfPhVYTVTCsw==","scanexcludespattern":"r6dVQWb0hvPfPhVYTVTCsw==","filenamepattern":"r6dVQWb0hvPfPhVYTVTCsw==","replacementpattern":"r6dVQWb0hvPfPhVYTVTCsw==","credentials":{"vuser":"CCX2RD+bn1Dd0JhwSapj+FePR5gurmHqCtiTsawx0xcdDKPT7MWdRL+xTGPQfgt9","vpassword":"tD684Mcd7F9C6XPEkllLZB0Mo9PsxZ1Ev7FMY9B+C30="},"stapler-class":"com.veracode.jenkins.plugin.VeracodeNotifier","kind":"com.veracode.jenkins.plugin.VeracodeNotifier","$class":"vvhrZXx9/XAtMIZ89EIg7ucGQfVOYuljjvwB+X5HHnNghkYPMCSg85kie6zfQz6GES2ygN6+Bh7AOizeO3AwCA=="}
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123)
      	at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:120)
      	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      	at org.eclipse.jetty.server.Server.handle(Server.java:370)
      	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
      	at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)
      	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)
      	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
      	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
      	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
      	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:744)
      Caused by: java.lang.RuntimeException: Failed to instantiate class com.veracode.jenkins.plugin.VeracodeNotifier from {"appname":"eWXifPNJvV55cuKUu3RSnREtsoDevgYewDos3jtwMAg=","createprofile":false,"criticality":"EyfMO+rq6E+xW66bF+ATElZqV96tr36ltWm1DFSfZ1Q=","sandboxname":"r6dVQWb0hvPfPhVYTVTCsw==","createsandbox":false,"version":"YsBsaurW4vLBgjko+uucfxEtsoDevgYewDos3jtwMAg=","uploadincludespattern":"bDDj/V3GHLT8UbeMoISTYLcbo+yPWQY6PJWMaom8VLA=","uploadexcludespattern":"r6dVQWb0hvPfPhVYTVTCsw==","scanincludespattern":"r6dVQWb0hvPfPhVYTVTCsw==","scanexcludespattern":"r6dVQWb0hvPfPhVYTVTCsw==","filenamepattern":"r6dVQWb0hvPfPhVYTVTCsw==","replacementpattern":"r6dVQWb0hvPfPhVYTVTCsw==","credentials":{"vuser":"CCX2RD+bn1Dd0JhwSapj+FePR5gurmHqCtiTsawx0xcdDKPT7MWdRL+xTGPQfgt9","vpassword":"tD684Mcd7F9C6XPEkllLZB0Mo9PsxZ1Ev7FMY9B+C30="},"stapler-class":"com.veracode.jenkins.plugin.VeracodeNotifier","kind":"com.veracode.jenkins.plugin.VeracodeNotifier","$class":"vvhrZXx9/XAtMIZ89EIg7ucGQfVOYuljjvwB+X5HHnNghkYPMCSg85kie6zfQz6GES2ygN6+Bh7AOizeO3AwCA=="}
      	at hudson.model.Descriptor.newInstance(Descriptor.java:577)
      	at com.veracode.jenkins.plugin.VeracodeNotifier$VeracodeDescriptor.newInstance(VeracodeNotifier.java:230)
      	at com.veracode.jenkins.plugin.VeracodeNotifier$VeracodeDescriptor.newInstance(VeracodeNotifier.java:68)
      	at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:919)
      	at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:900)
      	at hudson.util.DescribableList.rebuildHetero(DescribableList.java:205)
      	at hudson.maven.MavenModuleSet.submit(MavenModuleSet.java:1208)
      	at hudson.model.Job.doConfigSubmit(Job.java:1203)
      	at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:785)
      	at sun.reflect.GeneratedMethodAccessor603.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
      	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
      	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
      	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      	... 50 more
      Caused by: java.lang.IllegalArgumentException: Failed to instantiate class com.veracode.jenkins.plugin.VeracodeNotifier from {"appname":"eWXifPNJvV55cuKUu3RSnREtsoDevgYewDos3jtwMAg=","createprofile":false,"criticality":"EyfMO+rq6E+xW66bF+ATElZqV96tr36ltWm1DFSfZ1Q=","sandboxname":"r6dVQWb0hvPfPhVYTVTCsw==","createsandbox":false,"version":"YsBsaurW4vLBgjko+uucfxEtsoDevgYewDos3jtwMAg=","uploadincludespattern":"bDDj/V3GHLT8UbeMoISTYLcbo+yPWQY6PJWMaom8VLA=","uploadexcludespattern":"r6dVQWb0hvPfPhVYTVTCsw==","scanincludespattern":"r6dVQWb0hvPfPhVYTVTCsw==","scanexcludespattern":"r6dVQWb0hvPfPhVYTVTCsw==","filenamepattern":"r6dVQWb0hvPfPhVYTVTCsw==","replacementpattern":"r6dVQWb0hvPfPhVYTVTCsw==","credentials":{"vuser":"CCX2RD+bn1Dd0JhwSapj+FePR5gurmHqCtiTsawx0xcdDKPT7MWdRL+xTGPQfgt9","vpassword":"tD684Mcd7F9C6XPEkllLZB0Mo9PsxZ1Ev7FMY9B+C30="},"stapler-class":"com.veracode.jenkins.plugin.VeracodeNotifier","kind":"com.veracode.jenkins.plugin.VeracodeNotifier","$class":"vvhrZXx9/XAtMIZ89EIg7ucGQfVOYuljjvwB+X5HHnNghkYPMCSg85kie6zfQz6GES2ygN6+Bh7AOizeO3AwCA=="}
      	at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:602)
      	at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:404)
      	at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:400)
      	at hudson.model.Descriptor.newInstance(Descriptor.java:568)
      	... 67 more
      Caused by: java.lang.IllegalArgumentException: Class vvhrZXx9/XAtMIZ89EIg7ucGQfVOYuljjvwB+X5HHnNghkYPMCSg85kie6zfQz6GES2ygN6+Bh7AOizeO3AwCA== is specified in JSON, but no such class found in classLoader hudson.PluginManager$UberClassLoader
      	at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:596)
      	... 70 more
      Caused by: java.lang.ClassNotFoundException: cached miss for vvhrZXx9/XAtMIZ89EIg7ucGQfVOYuljjvwB+X5HHnNghkYPMCSg85kie6zfQz6GES2ygN6+Bh7AOizeO3AwCA==
      	at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:1104)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:591)
      	... 70 more
      

      i use java version "1.7.0_45" on jenkins server
      Please help me to fix it,
      thank you

            mbockus Mike Bockus
            kineret_amor kineret amor
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: