Skip to content

Instantly share code, notes, and snippets.

@Sciss
Last active Jun 1, 2021
Embed
What would you like to do?
Exception: CloneException - Unable to clone object field: private final java.beans.PropertyChangeSupport com.kitfox.svg.app.beans.SVGIcon.changes
com.alee.api.clone.behavior.ReflectionCloneBehavior.clone(ReflectionCloneBehavior.java:133)
com.alee.api.clone.Clone$InternalClone.clone(Clone.java:137)
com.alee.api.clone.Clone.clone(Clone.java:109)
com.alee.extended.svg.SvgIcon.clone(SvgIcon.java:483)
com.alee.extended.svg.SvgIcon.createDisabledCopy(SvgIcon.java:456)
com.alee.extended.svg.SvgIcon.createDisabledCopy(SvgIcon.java:53)
com.alee.utils.ImageUtils.createDisabledCopy(ImageUtils.java:555)
com.alee.utils.ImageUtils.getDisabledCopy(ImageUtils.java:535)
com.alee.managers.icon.LazyIcon.createDisabledCopy(LazyIcon.java:108)
com.alee.managers.icon.LazyIcon.createDisabledCopy(LazyIcon.java:38)
com.alee.utils.ImageUtils.createDisabledCopy(ImageUtils.java:555)
com.alee.utils.ImageUtils.getDisabledCopy(ImageUtils.java:535)
com.alee.laf.WebLookAndFeel.getDisabledIcon(WebLookAndFeel.java:1399)
java.desktop/javax.swing.AbstractButton.getDisabledIcon(AbstractButton.java:633)
com.alee.laf.button.ButtonIcon.getIcon(ButtonIcon.java:69)
com.alee.laf.button.ButtonIcon.getIcon(ButtonIcon.java:35)
com.alee.painter.decoration.content.AbstractIconContent.isEmpty(AbstractIconContent.java:48)
com.alee.painter.decoration.layout.AbstractContentLayout.isEmpty(AbstractContentLayout.java:122)
com.alee.painter.decoration.layout.IconTextLayout.getIconTextPreferredSize(IconTextLayout.java:317)
com.alee.painter.decoration.layout.IconTextLayout.getContentPreferredSize(IconTextLayout.java:298)
com.alee.painter.decoration.content.AbstractContent.getPreferredSize(AbstractContent.java:390)
com.alee.painter.decoration.ContentDecoration.getPreferredSize(ContentDecoration.java:177)
com.alee.painter.decoration.AbstractDecorationPainter.getPreferredSize(AbstractDecorationPainter.java:1429)
com.alee.painter.PainterSupport.getPreferredSize(PainterSupport.java:613)
com.alee.painter.PainterSupport.getPreferredSize(PainterSupport.java:577)
com.alee.laf.button.WebButtonUI.getPreferredSize(WebButtonUI.java:179)
java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680)
com.alee.laf.button.WebButton.getPreferredSize(WebButton.java:1045)
com.alee.utils.SwingUtils.equalizeComponentsSizeImpl(SwingUtils.java:2527)
com.alee.utils.SwingUtils.equalizeComponentsSizeImpl(SwingUtils.java:2491)
com.alee.utils.SwingUtils.equalizeComponentsWidth(SwingUtils.java:2409)
com.alee.laf.filechooser.WebFileChooserPanel.createControls(WebFileChooserPanel.java:1086)
com.alee.laf.filechooser.WebFileChooserPanel.<init>(WebFileChooserPanel.java:302)
de.sciss.submin.SubminFileChooserPanel.<init>(SubminFileChooserPanel.java:48)
de.sciss.submin.SubminFileChooserUI.createPanel(SubminFileChooserUI.java:17)
com.alee.laf.filechooser.WebFileChooserUI.installUI(WebFileChooserUI.java:96)
java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
java.desktop/javax.swing.JFileChooser.updateUI(JFileChooser.java:1825)
java.desktop/javax.swing.JFileChooser.setup(JFileChooser.java:382)
java.desktop/javax.swing.JFileChooser.<init>(JFileChooser.java:348)
java.desktop/javax.swing.JFileChooser.<init>(JFileChooser.java:295)
de.sciss.fscape.FScape$.init(FScape.scala:114)
de.sciss.desktop.impl.SwingApplicationImpl.$anonfun$main$1(ApplicationImpl.scala:61)
scala.swing.Swing$$anon$1.run(Swing.scala:39)
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
java.base/java.security.AccessController.doPrivileged(Native Method)
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ReflectionException - Unable to instantiate class: class java.beans.PropertyChangeSupport
com.alee.utils.reflection.Unsafe.allocateInstance(Unsafe.java:74)
com.alee.api.clone.behavior.ReflectionCloneBehavior.clone(ReflectionCloneBehavior.java:78)
com.alee.api.clone.Clone$InternalClone.clone(Clone.java:137)
com.alee.api.clone.behavior.ReflectionCloneBehavior.clone(ReflectionCloneBehavior.java:125)
com.alee.api.clone.Clone$InternalClone.clone(Clone.java:137)
com.alee.api.clone.Clone.clone(Clone.java:109)
com.alee.extended.svg.SvgIcon.clone(SvgIcon.java:483)
com.alee.extended.svg.SvgIcon.createDisabledCopy(SvgIcon.java:456)
com.alee.extended.svg.SvgIcon.createDisabledCopy(SvgIcon.java:53)
com.alee.utils.ImageUtils.createDisabledCopy(ImageUtils.java:555)
com.alee.utils.ImageUtils.getDisabledCopy(ImageUtils.java:535)
com.alee.managers.icon.LazyIcon.createDisabledCopy(LazyIcon.java:108)
com.alee.managers.icon.LazyIcon.createDisabledCopy(LazyIcon.java:38)
com.alee.utils.ImageUtils.createDisabledCopy(ImageUtils.java:555)
com.alee.utils.ImageUtils.getDisabledCopy(ImageUtils.java:535)
com.alee.laf.WebLookAndFeel.getDisabledIcon(WebLookAndFeel.java:1399)
java.desktop/javax.swing.AbstractButton.getDisabledIcon(AbstractButton.java:633)
com.alee.laf.button.ButtonIcon.getIcon(ButtonIcon.java:69)
com.alee.laf.button.ButtonIcon.getIcon(ButtonIcon.java:35)
com.alee.painter.decoration.content.AbstractIconContent.isEmpty(AbstractIconContent.java:48)
com.alee.painter.decoration.layout.AbstractContentLayout.isEmpty(AbstractContentLayout.java:122)
com.alee.painter.decoration.layout.IconTextLayout.getIconTextPreferredSize(IconTextLayout.java:317)
com.alee.painter.decoration.layout.IconTextLayout.getContentPreferredSize(IconTextLayout.java:298)
com.alee.painter.decoration.content.AbstractContent.getPreferredSize(AbstractContent.java:390)
com.alee.painter.decoration.ContentDecoration.getPreferredSize(ContentDecoration.java:177)
com.alee.painter.decoration.AbstractDecorationPainter.getPreferredSize(AbstractDecorationPainter.java:1429)
com.alee.painter.PainterSupport.getPreferredSize(PainterSupport.java:613)
com.alee.painter.PainterSupport.getPreferredSize(PainterSupport.java:577)
com.alee.laf.button.WebButtonUI.getPreferredSize(WebButtonUI.java:179)
java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680)
com.alee.laf.button.WebButton.getPreferredSize(WebButton.java:1045)
com.alee.utils.SwingUtils.equalizeComponentsSizeImpl(SwingUtils.java:2527)
com.alee.utils.SwingUtils.equalizeComponentsSizeImpl(SwingUtils.java:2491)
com.alee.utils.SwingUtils.equalizeComponentsWidth(SwingUtils.java:2409)
com.alee.laf.filechooser.WebFileChooserPanel.createControls(WebFileChooserPanel.java:1086)
com.alee.laf.filechooser.WebFileChooserPanel.<init>(WebFileChooserPanel.java:302)
de.sciss.submin.SubminFileChooserPanel.<init>(SubminFileChooserPanel.java:48)
de.sciss.submin.SubminFileChooserUI.createPanel(SubminFileChooserUI.java:17)
com.alee.laf.filechooser.WebFileChooserUI.installUI(WebFileChooserUI.java:96)
java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
java.desktop/javax.swing.JFileChooser.updateUI(JFileChooser.java:1825)
java.desktop/javax.swing.JFileChooser.setup(JFileChooser.java:382)
java.desktop/javax.swing.JFileChooser.<init>(JFileChooser.java:348)
java.desktop/javax.swing.JFileChooser.<init>(JFileChooser.java:295)
de.sciss.fscape.FScape$.init(FScape.scala:114)
de.sciss.desktop.impl.SwingApplicationImpl.$anonfun$main$1(ApplicationImpl.scala:61)
scala.swing.Swing$$anon$1.run(Swing.scala:39)
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
java.base/java.security.AccessController.doPrivileged(Native Method)
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: NoSuchMethodException - Constructor was not found: java.beans.PropertyChangeSupport()
com.alee.utils.ReflectUtils.getConstructor(ReflectUtils.java:1374)
com.alee.utils.ReflectUtils.createInstance(ReflectUtils.java:1274)
com.alee.utils.reflection.Unsafe.allocateInstanceThroughReflection(Unsafe.java:127)
com.alee.utils.reflection.Unsafe.allocateInstance(Unsafe.java:62)
com.alee.api.clone.behavior.ReflectionCloneBehavior.clone(ReflectionCloneBehavior.java:78)
com.alee.api.clone.Clone$InternalClone.clone(Clone.java:137)
com.alee.api.clone.behavior.ReflectionCloneBehavior.clone(ReflectionCloneBehavior.java:125)
com.alee.api.clone.Clone$InternalClone.clone(Clone.java:137)
com.alee.api.clone.Clone.clone(Clone.java:109)
com.alee.extended.svg.SvgIcon.clone(SvgIcon.java:483)
com.alee.extended.svg.SvgIcon.createDisabledCopy(SvgIcon.java:456)
com.alee.extended.svg.SvgIcon.createDisabledCopy(SvgIcon.java:53)
com.alee.utils.ImageUtils.createDisabledCopy(ImageUtils.java:555)
com.alee.utils.ImageUtils.getDisabledCopy(ImageUtils.java:535)
com.alee.managers.icon.LazyIcon.createDisabledCopy(LazyIcon.java:108)
com.alee.managers.icon.LazyIcon.createDisabledCopy(LazyIcon.java:38)
com.alee.utils.ImageUtils.createDisabledCopy(ImageUtils.java:555)
com.alee.utils.ImageUtils.getDisabledCopy(ImageUtils.java:535)
com.alee.laf.WebLookAndFeel.getDisabledIcon(WebLookAndFeel.java:1399)
java.desktop/javax.swing.AbstractButton.getDisabledIcon(AbstractButton.java:633)
com.alee.laf.button.ButtonIcon.getIcon(ButtonIcon.java:69)
com.alee.laf.button.ButtonIcon.getIcon(ButtonIcon.java:35)
com.alee.painter.decoration.content.AbstractIconContent.isEmpty(AbstractIconContent.java:48)
com.alee.painter.decoration.layout.AbstractContentLayout.isEmpty(AbstractContentLayout.java:122)
com.alee.painter.decoration.layout.IconTextLayout.getIconTextPreferredSize(IconTextLayout.java:317)
com.alee.painter.decoration.layout.IconTextLayout.getContentPreferredSize(IconTextLayout.java:298)
com.alee.painter.decoration.content.AbstractContent.getPreferredSize(AbstractContent.java:390)
com.alee.painter.decoration.ContentDecoration.getPreferredSize(ContentDecoration.java:177)
com.alee.painter.decoration.AbstractDecorationPainter.getPreferredSize(AbstractDecorationPainter.java:1429)
com.alee.painter.PainterSupport.getPreferredSize(PainterSupport.java:613)
com.alee.painter.PainterSupport.getPreferredSize(PainterSupport.java:577)
com.alee.laf.button.WebButtonUI.getPreferredSize(WebButtonUI.java:179)
java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680)
com.alee.laf.button.WebButton.getPreferredSize(WebButton.java:1045)
com.alee.utils.SwingUtils.equalizeComponentsSizeImpl(SwingUtils.java:2527)
com.alee.utils.SwingUtils.equalizeComponentsSizeImpl(SwingUtils.java:2491)
com.alee.utils.SwingUtils.equalizeComponentsWidth(SwingUtils.java:2409)
com.alee.laf.filechooser.WebFileChooserPanel.createControls(WebFileChooserPanel.java:1086)
com.alee.laf.filechooser.WebFileChooserPanel.<init>(WebFileChooserPanel.java:302)
de.sciss.submin.SubminFileChooserPanel.<init>(SubminFileChooserPanel.java:48)
de.sciss.submin.SubminFileChooserUI.createPanel(SubminFileChooserUI.java:17)
com.alee.laf.filechooser.WebFileChooserUI.installUI(WebFileChooserUI.java:96)
java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
java.desktop/javax.swing.JFileChooser.updateUI(JFileChooser.java:1825)
java.desktop/javax.swing.JFileChooser.setup(JFileChooser.java:382)
java.desktop/javax.swing.JFileChooser.<init>(JFileChooser.java:348)
java.desktop/javax.swing.JFileChooser.<init>(JFileChooser.java:295)
de.sciss.fscape.FScape$.init(FScape.scala:114)
de.sciss.desktop.impl.SwingApplicationImpl.$anonfun$main$1(ApplicationImpl.scala:61)
scala.swing.Swing$$anon$1.run(Swing.scala:39)
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
java.base/java.security.AccessController.doPrivileged(Native Method)
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment