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

JEP-200 due to ObjectId in OrganizationContainer

XMLWordPrintable

      https://wiki.jenkins.io/display/JENKINS/Plugins+affected+by+fix+for+JEP-200

      java.lang.UnsupportedOperationException: Refusing to marshal org.bson.types.ObjectId for security reasons; see https://jenkins.io/redirect/class-filter/
      	at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:541)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
      	at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:262)
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:249)
      Caused: java.lang.RuntimeException: Failed to serialize com.groupon.jenkins.dynamic.organizationcontainer.OrganizationContainer#id for class com.groupon.jenkins.dynamic.organizationcontainer.OrganizationContainer
      	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:253)
      	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:221)
      	at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
      	at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:207)
      	at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:148)
      	at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
      	at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
      	at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
      	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
      	at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)
      	at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)
      	at com.thoughtworks.xstream.XStream.toXML(XStream.java:988)
      	at hudson.XmlFile.write(XmlFile.java:195)
      Caused: java.io.IOException
      	at hudson.XmlFile.write(XmlFile.java:202)
      	at hudson.model.AbstractItem.save(AbstractItem.java:609)
      	at hudson.model.ItemGroupMixIn.createProject(ItemGroupMixIn.java:317)
      	at jenkins.model.Jenkins.createProject(Jenkins.java:2973)
      	at jenkins.model.Jenkins.createProject(Jenkins.java:2969)
      	at jenkins.model.Jenkins.createProject(Jenkins.java:3004)
      	at com.groupon.jenkins.dynamic.organizationcontainer.OrganizationContainerRepository.getOrCreateContainer(OrganizationContainerRepository.java:34)
      	at com.groupon.jenkins.dynamic.build.repository.DynamicProjectRepository.createNewProject(DynamicProjectRepository.java:150)
      

            Unassigned Unassigned
            wfollonier Wadeck Follonier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: