java.lang.InstantiationException: java.lang.ExceptionInInitializerError

Jenkins JIRA | abjoshi | 6 years ago
  1. 0

    Hi Team, I recently installed CCM plugin on hudson 1.384. It gives following error at start-up and plug-in fails to initialize. Nov 24, 2010 1:03:07 AM hudson.ExtensionFinder$Sezpoz find WARNING: Failed to load hudson.plugins.ccm.CCMBuilder java.lang.InstantiationException: java.lang.ExceptionInInitializerError at net.java.sezpoz.IndexItem.instance(IndexItem.java:180) at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:156) at hudson.ExtensionFinder._find(ExtensionFinder.java:92) at hudson.ExtensionList.load(ExtensionList.java:259) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:216) at hudson.ExtensionList.iterator(ExtensionList.java:113) at hudson.model.Hudson.getDescriptorByType(Hudson.java:958) 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:291) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at hudson.model.Hudson$3.runTask(Hudson.java:691) 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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ExceptionInInitializerError at sun.misc.Unsafe.ensureClassInitialized(Native Method) at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(Unknown Source) at sun.reflect.ReflectionFactory.newFieldAccessor(Unknown Source) at java.lang.reflect.Field.acquireFieldAccessor(Unknown Source) at java.lang.reflect.Field.getFieldAccessor(Unknown Source) at java.lang.reflect.Field.get(Unknown Source) at net.java.sezpoz.IndexItem.instance(IndexItem.java:172) Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: hudson.plugins.ccm.CCMBuilderDescription : hudson.plugins.ccm.CCMBuilderDescription 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:142) 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.CachingMapper.realClass(CachingMapper.java:56) at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:136) 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:80) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at hudson.XmlFile.unmarshal(XmlFile.java:148) at hudson.model.Descriptor.load(Descriptor.java:659) at hudson.plugins.ccm.CCMBuilderDescriptor.<init>(CCMBuilderDescriptor.java:50) at hudson.plugins.ccm.CCMBuilder.<clinit>(CCMBuilder.java:102) ... 24 more

    Jenkins JIRA | 6 years ago | abjoshi
    java.lang.InstantiationException: java.lang.ExceptionInInitializerError
  2. 0

    Hi Team, I recently installed CCM plugin on hudson 1.384. It gives following error at start-up and plug-in fails to initialize. Nov 24, 2010 1:03:07 AM hudson.ExtensionFinder$Sezpoz find WARNING: Failed to load hudson.plugins.ccm.CCMBuilder java.lang.InstantiationException: java.lang.ExceptionInInitializerError at net.java.sezpoz.IndexItem.instance(IndexItem.java:180) at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:156) at hudson.ExtensionFinder._find(ExtensionFinder.java:92) at hudson.ExtensionList.load(ExtensionList.java:259) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:216) at hudson.ExtensionList.iterator(ExtensionList.java:113) at hudson.model.Hudson.getDescriptorByType(Hudson.java:958) 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:291) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at hudson.model.Hudson$3.runTask(Hudson.java:691) 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(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ExceptionInInitializerError at sun.misc.Unsafe.ensureClassInitialized(Native Method) at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(Unknown Source) at sun.reflect.ReflectionFactory.newFieldAccessor(Unknown Source) at java.lang.reflect.Field.acquireFieldAccessor(Unknown Source) at java.lang.reflect.Field.getFieldAccessor(Unknown Source) at java.lang.reflect.Field.get(Unknown Source) at net.java.sezpoz.IndexItem.instance(IndexItem.java:172) Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: hudson.plugins.ccm.CCMBuilderDescription : hudson.plugins.ccm.CCMBuilderDescription 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:142) 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.CachingMapper.realClass(CachingMapper.java:56) at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:136) 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:80) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at hudson.XmlFile.unmarshal(XmlFile.java:148) at hudson.model.Descriptor.load(Descriptor.java:659) at hudson.plugins.ccm.CCMBuilderDescriptor.<init>(CCMBuilderDescriptor.java:50) at hudson.plugins.ccm.CCMBuilder.<clinit>(CCMBuilder.java:102) ... 24 more

    Jenkins JIRA | 6 years ago | abjoshi
    java.lang.InstantiationException: java.lang.ExceptionInInitializerError
  3. 0

    Eclipse Community Forums: Hudson ยป Can't restart Hudson after a JVM crash

    eclipse.org | 1 year ago
    org.jvnet.hudson.reactor.ReactorException: com.google.common.util.concurrent.UncheckedExecutionException: com.google.common.util.concurrent.UncheckedExecutionException: com.thoughtworks.xstream.mapper.CannotResolveClassException: jbr
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Redeploy from Hudson to Jenkins with classnotfound exception

    Google Groups | 6 years ago | Josch
    com.thoughtworks.xstream.mapper.CannotResolveClassException: maven2- moduleset : maven2-moduleset
  6. 0

    Getting some error while installing Hudson?

    Stack Overflow | 3 years ago | mfsi_SudhansuPanda1
    org.jvnet.hudson.reactor.ReactorException: com.google.common.util.concurrent.UncheckedExecutionException: com.thoughtworks.xstream.mapper.CannotResolveClassException: maven2-moduleset

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.thoughtworks.xstream.mapper.CannotResolveClassException

      hudson.plugins.ccm.CCMBuilderDescription : hudson.plugins.ccm.CCMBuilderDescription

      at com.thoughtworks.xstream.mapper.DefaultMapper.realClass()
    2. XStream Core
      MapperWrapper.realClass
      1. com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68)
      2. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      3. com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71)
      4. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      5. com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
      6. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      7. com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:86)
      8. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      9. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      10. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      11. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      12. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      13. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      14. com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:96)
      15. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      16. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      17. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      18. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      19. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      20. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      21. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      22. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      22 frames
    3. Hudson
      XStream2$CompatibilityMapper.realClass
      1. hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:142)
      1 frame
    4. XStream Core
      XStream.unmarshal
      1. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      2. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      3. com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:56)
      4. com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
      5. com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:136)
      6. com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
      7. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926)
      7 frames
    5. Hudson
      XStream2.unmarshal
      1. hudson.util.XStream2.unmarshal(XStream2.java:80)
      1 frame
    6. XStream Core
      XStream.unmarshal
      1. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912)
      1 frame
    7. Hudson
      Descriptor.load
      1. hudson.XmlFile.unmarshal(XmlFile.java:148)
      2. hudson.model.Descriptor.load(Descriptor.java:659)
      2 frames
    8. hudson.plugins.ccm
      CCMBuilder.<clinit>
      1. hudson.plugins.ccm.CCMBuilderDescriptor.<init>(CCMBuilderDescriptor.java:50)
      2. hudson.plugins.ccm.CCMBuilder.<clinit>(CCMBuilder.java:102)
      2 frames
    9. Java RT
      Field.get
      1. sun.misc.Unsafe.ensureClassInitialized(Native Method)
      2. sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(Unknown Source)
      3. sun.reflect.ReflectionFactory.newFieldAccessor(Unknown Source)
      4. java.lang.reflect.Field.acquireFieldAccessor(Unknown Source)
      5. java.lang.reflect.Field.getFieldAccessor(Unknown Source)
      6. java.lang.reflect.Field.get(Unknown Source)
      6 frames
    10. SezPoz
      IndexItem.instance
      1. net.java.sezpoz.IndexItem.instance(IndexItem.java:172)
      1 frame