Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't open #99

Open
iodomi opened this issue Feb 14, 2022 · 2 comments
Open

can't open #99

iodomi opened this issue Feb 14, 2022 · 2 comments

Comments

@iodomi
Copy link

iodomi commented Feb 14, 2022

program crash every time i open
spec: win 11, java 17

@CreativityAtItsBest
Copy link

[00:20:49] [INFO] Reading Language XML..
[00:20:49] [INFO] Successfully loaded 187 local resources and 187 default resources
[00:20:49] [INFO] Unicode check finished!
[00:20:49] [INFO] Loading settings...
[00:20:49] [ERROR] Failed to set encoding to UTF-8 (Unable to make field private static volatile java.nio.charset.Charset java.nio.charset.Charset.defaultCharset accessible: module java.base does not "opens java.nio.charset" to unnamed module @2d3fcdbd)
[00:20:49] [INFO] Setting default Look and Feel
[AWT-EventQueue-0] ERROR com.alee.utils.ProprietaryUtils - java.lang.NoSuchFieldException: AA_TEXT_PROPERTY_KEY
java.lang.NoSuchFieldException: AA_TEXT_PROPERTY_KEY
at java.base/java.lang.Class.getField(Class.java:2086)
at com.alee.utils.ReflectUtils.getStaticFieldValue(ReflectUtils.java:440)
at com.alee.utils.ProprietaryUtils.setupUIDefaults(ProprietaryUtils.java:103)
at com.alee.laf.WebLookAndFeel.initComponentDefaults(WebLookAndFeel.java:537)
at java.desktop/javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:153)
at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:592)
at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:638)
at com.alee.utils.LafUtils.setupLookAndFeelSafely(LafUtils.java:1557)
at com.alee.utils.LafUtils.setupLookAndFeelSafely(LafUtils.java:1544)
at com.alee.laf.WebLookAndFeel.install(WebLookAndFeel.java:939)
at com.alee.laf.WebLookAndFeel.install(WebLookAndFeel.java:927)
at me.grax.jbytemod.utils.gui.LookUtils.setLAF(LookUtils.java:15)
at me.grax.jbytemod.JByteMod$1.run(JByteMod.java:166)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
[AWT-EventQueue-0] ERROR com.alee.utils.XmlUtils - java.lang.ExceptionInInitializerError
java.lang.ExceptionInInitializerError
at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:807)
at com.thoughtworks.xstream.XStream.(XStream.java:574)
at com.thoughtworks.xstream.XStream.(XStream.java:496)
at com.thoughtworks.xstream.XStream.(XStream.java:465)
at com.thoughtworks.xstream.XStream.(XStream.java:411)
at com.thoughtworks.xstream.XStream.(XStream.java:378)
at com.alee.utils.XmlUtils.initializeXStream(XmlUtils.java:94)
at com.alee.utils.XmlUtils.getXStream(XmlUtils.java:81)
at com.alee.utils.XmlUtils.processAnnotations(XmlUtils.java:148)
at com.alee.laf.WebLookAndFeel$2.propertyChange(WebLookAndFeel.java:856)
at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:342)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:334)
at java.desktop/javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:92)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:267)
at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:601)
at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:638)
at com.alee.utils.LafUtils.setupLookAndFeelSafely(LafUtils.java:1557)
at com.alee.utils.LafUtils.setupLookAndFeelSafely(LafUtils.java:1544)
at com.alee.laf.WebLookAndFeel.install(WebLookAndFeel.java:939)
at com.alee.laf.WebLookAndFeel.install(WebLookAndFeel.java:927)
at me.grax.jbytemod.utils.gui.LookUtils.setLAF(LookUtils.java:15)
at me.grax.jbytemod.JByteMod$1.run(JByteMod.java:166)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @2d3fcdbd
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:177)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:171)
at com.thoughtworks.xstream.core.util.Fields.locate(Fields.java:39)
at com.thoughtworks.xstream.converters.collections.TreeMapConverter.(TreeMapConverter.java:50)
... 35 more
[AWT-EventQueue-0] ERROR com.alee.utils.LafUtils - Unable to initialize L&F for class name: com.alee.laf.WebLookAndFeel
java.lang.NullPointerException: Cannot invoke "com.thoughtworks.xstream.XStream.processAnnotations(java.lang.Class)" because the return value of "com.alee.utils.XmlUtils.getXStream()" is null
at com.alee.utils.XmlUtils.processAnnotations(XmlUtils.java:148)
at com.alee.laf.WebLookAndFeel$2.propertyChange(WebLookAndFeel.java:856)
at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:342)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:334)
at java.desktop/javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:92)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:267)
at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:601)
at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:638)
at com.alee.utils.LafUtils.setupLookAndFeelSafely(LafUtils.java:1557)
at com.alee.utils.LafUtils.setupLookAndFeelSafely(LafUtils.java:1544)
at com.alee.laf.WebLookAndFeel.install(WebLookAndFeel.java:939)
at com.alee.laf.WebLookAndFeel.install(WebLookAndFeel.java:927)
at me.grax.jbytemod.utils.gui.LookUtils.setLAF(LookUtils.java:15)
at me.grax.jbytemod.JByteMod$1.run(JByteMod.java:166)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
[AWT-EventQueue-0] ERROR com.alee.utils.XmlUtils - java.lang.NoClassDefFoundError: Could not initialize class com.thoughtworks.xstream.converters.collections.TreeMapConverter
java.lang.NoClassDefFoundError: Could not initialize class com.thoughtworks.xstream.converters.collections.TreeMapConverter
at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:807)
at com.thoughtworks.xstream.XStream.(XStream.java:574)
at com.thoughtworks.xstream.XStream.(XStream.java:496)
at com.thoughtworks.xstream.XStream.(XStream.java:465)
at com.thoughtworks.xstream.XStream.(XStream.java:411)
at com.thoughtworks.xstream.XStream.(XStream.java:378)
at com.alee.utils.XmlUtils.initializeXStream(XmlUtils.java:94)
at com.alee.utils.XmlUtils.getXStream(XmlUtils.java:81)
at com.alee.utils.XmlUtils.processAnnotations(XmlUtils.java:148)
at com.alee.managers.style.StyleManager.(StyleManager.java:66)
at com.alee.laf.panel.WebPanelUI.installUI(WebPanelUI.java:106)
at java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
at java.desktop/javax.swing.JPanel.setUI(JPanel.java:150)
at java.desktop/javax.swing.JPanel.updateUI(JPanel.java:126)
at java.desktop/javax.swing.JPanel.(JPanel.java:86)
at java.desktop/javax.swing.JPanel.(JPanel.java:109)
at java.desktop/javax.swing.JPanel.(JPanel.java:117)
at java.desktop/javax.swing.JRootPane.createGlassPane(JRootPane.java:517)
at java.desktop/javax.swing.JRootPane.(JRootPane.java:344)
at java.desktop/javax.swing.JFrame.createRootPane(JFrame.java:279)
at java.desktop/javax.swing.JFrame.frameInit(JFrame.java:258)
at java.desktop/javax.swing.JFrame.(JFrame.java:181)
at me.grax.jbytemod.JByteMod.(JByteMod.java:228)
at me.grax.jbytemod.JByteMod$1.run(JByteMod.java:169)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at com.alee.laf.panel.WebPanelUI.installUI(WebPanelUI.java:106)
at java.desktop/javax.swing.JComponent.setUI(JComponent.java:685)
at java.desktop/javax.swing.JPanel.setUI(JPanel.java:150)
at java.desktop/javax.swing.JPanel.updateUI(JPanel.java:126)
at java.desktop/javax.swing.JPanel.(JPanel.java:86)
at java.desktop/javax.swing.JPanel.(JPanel.java:109)
at java.desktop/javax.swing.JPanel.(JPanel.java:117)
at java.desktop/javax.swing.JRootPane.createGlassPane(JRootPane.java:517)
at java.desktop/javax.swing.JRootPane.(JRootPane.java:344)
at java.desktop/javax.swing.JFrame.createRootPane(JFrame.java:279)
at java.desktop/javax.swing.JFrame.frameInit(JFrame.java:258)
at java.desktop/javax.swing.JFrame.(JFrame.java:181)
at me.grax.jbytemod.JByteMod.(JByteMod.java:228)
at me.grax.jbytemod.JByteMod$1.run(JByteMod.java:169)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.NullPointerException: Cannot invoke "com.thoughtworks.xstream.XStream.processAnnotations(java.lang.Class)" because the return value of "com.alee.utils.XmlUtils.getXStream()" is null
at com.alee.utils.XmlUtils.processAnnotations(XmlUtils.java:148)
at com.alee.managers.style.StyleManager.(StyleManager.java:66)
... 27 more

^ startup logs

@JelloSigma
Copy link

run it with java 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants