java.lang.SecurityException: Could not open windows registry node Software\JavaSoft\Prefs\com\nec\jp\dianascope\prefs at root 0x80000002: Access denied

Coderanch | Anu Gaur | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    RMI Registry unable to create because of no admin rights on machine

    Coderanch | 4 years ago | Anu Gaur
    java.lang.SecurityException: Could not open windows registry node Software\JavaSoft\Prefs\com\nec\jp\dianascope\prefs at root 0x80000002: Access denied
  2. 0

    How can I write System preferences with Java? Can I invoke UAC?

    Stack Overflow | 7 years ago | Jonas
    java.lang.SecurityException: Could not open windows registry node Software\JavaSoft\Prefs at root 0x80000002: Access denied

    Root Cause Analysis

    1. java.lang.SecurityException

      Could not open windows registry node Software\JavaSoft\Prefs\com\nec\jp\dianascope\prefs at root 0x80000002: Access denied

      at java.util.prefs.WindowsPreferences.openKey()
    2. Java RT
      AbstractPreferences.put
      1. java.util.prefs.WindowsPreferences.openKey(WindowsPreferences.java:513)
      2. java.util.prefs.WindowsPreferences.openKey(WindowsPreferences.java:480)
      3. java.util.prefs.WindowsPreferences.openKey(WindowsPreferences.java:466)
      4. java.util.prefs.WindowsPreferences.putSpi(WindowsPreferences.java:612)
      5. java.util.prefs.AbstractPreferences.put(AbstractPreferences.java:251)
      5 frames
    3. com.nec.jp
      CoreServer.main
      1. com.nec.jp.dianascope.util.PreferencesUtil.setRmiPortPreference(PreferencesUtil.java:35)
      2. com.nec.jp.dianascope.CoreServer.main(CoreServer.java:5562)
      2 frames