ganesansays / build-pipeline-plugin

Automatically exported from code.google.com/p/build-pipeline-plugin
0 stars 0 forks source link

When trying to create a new view, build-pipeline-plugin doesnt show up #121

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install build-pipeline-plugin
2. in jenkins Jenkins ver. 1.474, click (+) (new View)
3.

What is the expected output? What do you see instead?
Now you should be able to create a  new list view or a new pipeline view. This 
is not the case, only the creation of a new list view is offered.

What version of the product are you using? On what operating system?
Jenkins ver. 1.474
build-pipeline-plugin 1.3.3

Please provide any additional information below.
I have this warning in the jenkins logs, maybe it is related?
Jul 26, 2012 12:01:31 PM hudson.ExtensionFinder$Sezpoz _find
WARNING: Failed to load 
au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView$DescriptorIm
pl
java.lang.InstantiationException: 
file:/var/lib/jenkins/plugins/build-pipeline-plugin/WEB-INF/classes/META-INF/ann
otations/hudson.Extension might need to be rebuilt: 
java.lang.ClassNotFoundException: 
au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView$DescriptorIm
pl
    at net.java.sezpoz.IndexItem.element(IndexItem.java:144)
    at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:608)
    at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:597)
    at hudson.ExtensionFinder._find(ExtensionFinder.java:151)
    at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:296)
    at hudson.ExtensionList.load(ExtensionList.java:295)
    at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248)
    at hudson.ExtensionList.iterator(ExtensionList.java:138)
    at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289)
    at hudson.ExtensionList.load(ExtensionList.java:295)
    at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248)
    at hudson.ExtensionList.iterator(ExtensionList.java:138)
    at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1124)
    at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:100)
    at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35)
    at hudson.PluginManager$2$1$2.run(PluginManager.java:332)
    at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
    at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
    at jenkins.model.Jenkins$7.runTask(Jenkins.java:878)
    at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
    at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
    at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassNotFoundException: 
au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView$DescriptorIm
pl
    at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:782)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at net.java.sezpoz.IndexItem.element(IndexItem.java:134)
    ... 23 more

Original issue reported on code.google.com by jochen.k...@gmail.com on 26 Jul 2012 at 8:20

GoogleCodeExporter commented 9 years ago
Did you upgrade from an older version of the plugin?  If possible, can you try 
to  completely removed the build pipeline plugin files and reinstalled the 
plugin?

Original comment by marc...@centrumsystems.com.au on 31 Jul 2012 at 12:31

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
yes, i upgraded from a previous version.

do you mean i should delete the whole build pipeline folder from the jenkins 
plugins directory? in the config files i could not find any references to the 
build plugin.

Original comment by jochen.k...@gmail.com on 31 Jul 2012 at 8:14

GoogleCodeExporter commented 9 years ago
Ya, the whole build pipeline folder in the jenkins plugins directory.

Original comment by marc...@centrumsystems.com.au on 1 Aug 2012 at 2:09

GoogleCodeExporter commented 9 years ago
Hello,
I had the same problem. I've solved it using JDK 1.6 instead of 1.5 for my 
Tomcat server.

Hope it helps you.

Original comment by Florent....@gmail.com on 10 Aug 2012 at 7:14

GoogleCodeExporter commented 9 years ago
Can we close this ticket or are there still problems?

Original comment by marcin...@gmail.com on 14 Aug 2012 at 2:22

GoogleCodeExporter commented 9 years ago
that was it, this ticket can be closed, thanks!

Original comment by jochen.k...@gmail.com on 24 Sep 2012 at 9:18

GoogleCodeExporter commented 9 years ago
Can we please reopen this ticket?

I have deleted the build pipeline dir under plugins, as suggested above.

However, upgrading to JDK 1.6 is not an option, as I'm running under WAS 6.1 
(JDK 1.5), which is what Jenkins' minimum requirement is.

This error, fully shown below only occured when upgrading from 1.2.3 to 1.3.3.

I am still unable to see/create any pipeline views.

[11/2/12 12:50:30:102 EST] 0000002e RobustCollect W   Failed to resolve class
                                 com.thoughtworks.xstream.mapper.CannotResolveClassException: au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView : au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView
        at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:86)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:96)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:244)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at hudson.util.xstream.MapperDelegate.realClass(MapperDelegate.java:43)
        at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
        at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:56)
        at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
        at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:70)
        at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:85)
        at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
        at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:76)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:332)
        at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:274)
        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:221)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
        at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
        at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:85)
        at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
        at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:76)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:332)
        at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:274)
        at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:221)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
        at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926)
        at hudson.util.XStream2.unmarshal(XStream2.java:103)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912)
        at hudson.XmlFile.unmarshal(XmlFile.java:160)
        at hudson.model.User.load(User.java:136)
        at hudson.model.User.<init>(User.java:120)
        at hudson.model.User.getOrCreate(User.java:338)
        at hudson.model.User.getAll(User.java:384)
        at hudson.model.User$FullNameIdResolver.resolveCanonicalId(User.java:707)
        at hudson.model.User.get(User.java:322)
        at hudson.model.User.get(User.java:295)
        at hudson.security.HudsonPrivateSecurityRealm.loadUserByUsername(HudsonPrivateSecurityRealm.java:160)
        at hudson.security.HudsonPrivateSecurityRealm.authenticate(HudsonPrivateSecurityRealm.java:171)
        at hudson.security.HudsonPrivateSecurityRealm.authenticate(HudsonPrivateSecurityRealm.java:89)
        at hudson.security.AbstractPasswordBasedSecurityRealm$Authenticator.retrieveUser(AbstractPasswordBasedSecurityRealm.java:137)
        at org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:119)
        at org.acegisecurity.providers.ProviderManager.doAuthentication(ProviderManager.java:195)
        at org.acegisecurity.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:45)
        at org.acegisecurity.ui.webapp.AuthenticationProcessingFilter.attemptAuthentication(AuthenticationProcessingFilter.java:71)
        at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:252)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
        at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
        at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
        at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
        at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
        at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:850)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:693)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:589)
        at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:535)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3574)
        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:831)
        at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:450)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:508)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:296)
        at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)

Thanks!

-Chris

Original comment by ChrisGW...@gmail.com on 2 Nov 2012 at 1:53

GoogleCodeExporter commented 9 years ago
Looking at the bytpe code, it appears that this plugin reqires Java 6.

Can we please release it for java 5, which is still Jenkin's minimum 
requirement?

Ta.

-Chris

Original comment by ChrisGW...@gmail.com on 2 Nov 2012 at 5:38