core
core copied to clipboard
User can't push publish and throw exception
Describe the bug in 22.03
User push publish produces exception and result as failed bundle
To Reproduce
Just select the user and push publish it and observer logs. In the logs
aused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private static final jdk.internal.misc.Unsafe jdk.internal.misc.InnocuousThread.UNSAFE accessible: module java.base does not "opens jdk.internal.misc" to unnamed module @6b083230 at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:340) ~[?:?] at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:280) ~[?:?] at java.lang.reflect.Field.checkCanSetAccessible(Field.java:176) ~[?:?] at java.lang.reflect.Field.setAccessible(Field.java:170) ~[?:?] at com.thoughtworks.xstream.converters.reflection.FieldDictionary.buildMap(FieldDictionary.java:148) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.FieldDictionary.fieldOrNull(FieldDictionary.java:113) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldOrNull(PureJavaReflectionProvider.java:193) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.canAccess(AbstractReflectionConverter.java:67) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.ReflectionConverter.canConvert(ReflectionConverter.java:42) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.DefaultConverterLookup.lookupConverterForType(DefaultConverterLookup.java:56) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.XStream$1.lookupConverterForType(XStream.java:498) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:48) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.collections.ArrayConverter.marshal(ArrayConverter.java:45) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:256) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:141) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:89) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.collections.ArrayConverter.marshal(ArrayConverter.java:45) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:256) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:141) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:89) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:256) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:141) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:89) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:256) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:141) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:89) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:256) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:141) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:89) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:256) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:141) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:89) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:256) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:141) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:89) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:256) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:141) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:89) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:256) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:141) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:89) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:256) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:141) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:89) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.XStream.marshal(XStream.java:1043) ~[xstream-1.4.8.jar:1.4.8] at com.thoughtworks.xstream.XStream.marshal(XStream.java:1032) ~[xstream-1.4.8.jar:1.4.8] at com.dotcms.publishing.XMLSerializerUtil.marshal(XMLSerializerUtil.java:40) ~[dotcms_22.03.2_999999.jar:?] at com.dotcms.publishing.BundlerUtil.objectToXML(BundlerUtil.java:265) ~[dotcms_22.03.2_999999.jar:?] at com.dotcms.publishing.BundlerUtil.writeBundleXML(BundlerUtil.java:192) ~[dotcms_22.03.2_999999.jar:?] at com.dotcms.publishing.PublisherAPIImpl.addBundleXMLIntoBundle(PublisherAPIImpl.java:171) ~[dotcms_22.03.2_999999.jar:?] at com.dotcms.publishing.PublisherAPIImpl.publish_aroundBody0(PublisherAPIImpl.java:134) ~[dotcms_22.03.2_999999.jar:?] ... 16 more [15/09/22 18:20:47:555 UTC] INFO util.PushPublishLogger: class com.dotcms.publisher.business.PublisherQueueJob : Status Update: Failed to bundle '01GD163FGY3C66ZPAS4J55P8AE'
Expected behavior
User should be published as other content get push