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
'Illegal reflective access operation' #377
Comments
This may be relevant: https://github.com/javaee/javamail/issues/266
What version of Java do you have installed? It's possible the you have Java
9 (i.e., 1.9), and that blue has been tested with 1.8, in which case you
could try adding "--add-modules java.activation" to the file
~/blue/bin/blue (maybe around line 147; this assumes you unzipped blue in
your home directory). Note that I haven't experienced the problem or tried
this myself, as I have 1.8 and am not experiencing the issue.
- Dave
…On Sat, Nov 18, 2017 at 12:19 AM, kmkrebs ***@***.***> wrote:
I recently started a fresh Fedora 27 system and got around the
re-installing Blue today. I installed and configured the latest Oracle Java
JDK as OpenJDK has not worked well in the past.
Blue will run and function mostly correctly, however nothing happens when
I try to open tools->options. Attached is the error generated when I
attempt to do so...
Any ideas?
java.lang.ClassNotFoundException: javax.activation.DataContentHandlerFactory
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:222)
Caused: java.lang.ClassNotFoundException: javax.activation.DataContentHandlerFactory starting from ***@***.***[org.openide.awt] with possible defining loaders null and declared parents ***@***.***, ***@***.***[org.netbeans.api.annotations.common]]
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:224)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
Caused: java.lang.NoClassDefFoundError: javax/activation/DataContentHandlerFactory
at org.openide.awt.QuickSearch.setUpSearch(QuickSearch.java:369)
at org.openide.awt.QuickSearch.<init>(QuickSearch.java:107)
at org.openide.awt.QuickSearch.attach(QuickSearch.java:197)
at org.openide.awt.QuickSearch.attach(QuickSearch.java:125)
at org.netbeans.modules.options.OptionsPanel.initUI(OptionsPanel.java:387)
at org.netbeans.modules.options.OptionsPanel.<init>(OptionsPanel.java:177)
at org.netbeans.modules.options.OptionsDisplayerImpl.showOptionsDialog(OptionsDisplayerImpl.java:186)
at org.netbeans.api.options.OptionsDisplayer$3.run(OptionsDisplayer.java:248)
at org.netbeans.api.options.OptionsDisplayer$3.run(OptionsDisplayer.java:234)
at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEventAccess(NbMutexEventProvider.java:138)
at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:98)
at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:94)
at org.openide.util.Mutex.readAccess(Mutex.java:218)
at org.netbeans.api.options.OptionsDisplayer.openImpl(OptionsDisplayer.java:234)
at org.netbeans.api.options.OptionsDisplayer.open(OptionsDisplayer.java:181)
at org.netbeans.api.options.OptionsDisplayer.open(OptionsDisplayer.java:131)
at org.netbeans.api.options.OptionsDisplayer.open(OptionsDisplayer.java:197)
at org.netbeans.modules.options.OptionsWindowAction.actionPerformed(OptionsWindowAction.java:64)
at org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:199)
at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)
at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
at org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:202)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:980)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1024)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6578)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3343)
at java.desktop/java.awt.Component.processEvent(Component.java:6343)
at java.desktop/java.awt.Container.processEvent(Container.java:2259)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4961)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2317)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4793)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4539)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4480)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2303)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2758)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4793)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:766)
at java.desktop/java.awt.EventQueue.access$500(EventQueue.java:97)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:717)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:711)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:89)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:99)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:737)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:89)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:736)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:199)
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)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#377>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAM65UEhOvzl3A8060BEYxIaRq3KmR7rks5s3mjggaJpZM4Qi4jb>
.
|
You are correct in that that I had JDK 9 installed and that is indeed the cause of the error. I attempted to add that '--add-modules java.activation', but that didn't work (gave me the error 'Unrecognized option --add-modules') However, to make everyone's life easier, I installed JDK 1.8, set it as my default, and all is well once again. Thanks for the help! |
@kmkrebs @DaveSeidel Thanks for mentioning that link and bringing this up. I'll be sure to do a test to get Blue working with Java 9 before 2.8.3 goes out. |
I'm glad you got it working!
…On Sat, Nov 18, 2017 at 11:19 AM, kmkrebs ***@***.***> wrote:
You are correct in that that I had JDK 9 installed and that is indeed the
cause of the error. I attempted to add that '--add-modules
java.activation', but that didn't work (gave me the error 'Unrecognized
option --add-modules')
However, to make everyone's life easier, I installed JDK 1.8, set it as my
default, and all is well once again.
Thanks for the help!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#377 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAM65YRLzt7TGarHXkheBTTeR9_Jp0Ouks5s3wOdgaJpZM4Qi4jb>
.
|
I recently started a fresh Fedora 27 system and got around the re-installing Blue today. I installed and configured the latest Oracle Java JDK as OpenJDK has not worked well in the past.
Blue will run and function mostly correctly, however nothing happens when I try to open tools->options. Attached is the error generated when I attempt to do so...
Any ideas?
The text was updated successfully, but these errors were encountered: