java.lang.IllegalArgumentException: 'default' key contained unknown value

bukkit.org | 3 months ago
  1. 0

    [ADMN/DEV] PermissionsBukkit v2.0 - Official Default Groups Plugin [1.5.2-R1.0] | Bukkit Forums

    bukkit.org | 3 months ago
    java.lang.IllegalArgumentException: 'default' key contained unknown value
  2. 0

    Help

    GitHub | 3 years ago | dannyf465
    java.lang.IllegalArgumentException: 'default' key contained unknown value
  3. 0

    bukkitforge not loading build 50

    GitHub | 4 years ago | shakey2
    java.lang.IllegalArgumentException: 'default' key contained unknown value
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate always registers JACC event listeners regardless of whether JACC has been enabled or not (by defining the property hibernate.jacc.enabled in the configurations). The JACC even listeners cause exceptions to be thrown in several situations when Hibernate is not running as part of a container. The most common exception I've seen so far is the "java.lang.IllegalArgumentException: unknown handler key" Hibernate should only register the JACC listeners when JACC is enabled. The fix seems to be in the EventListenerConfigurator class. A simple check for the hibernate.jacc.enabled property should be done before adding any of the JACC event listeners (JACCPreDeleteEventListener, JACCPreLoadEventListener, JACCPreUpdateEventListener, JACCPreInsertEventListener). I believe a simple check like if ( properties.containsKey( AvailableSettings.JACC_ENABLED ) ) { ... } should be performed before adding them. In my case these listeners cause exceptions like these to be thrown in a few situations: java.lang.IllegalArgumentException: unknown handler key at javax.security.jacc.PolicyContext.getContext(PolicyContext.java:280) at org.hibernate.secure.JACCPermissions$PolicyContextActions$2.getContextSubject(JACCPermissions.java:111) at org.hibernate.secure.JACCPermissions.getContextSubject(JACCPermissions.java:120) at org.hibernate.secure.JACCPermissions.checkPermission(JACCPermissions.java:59) at org.hibernate.secure.JACCPreLoadEventListener.onPreLoad(JACCPreLoadEventListener.java:53) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:149) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:898) ...so I have to manually remove these listeners.

    Hibernate JIRA | 6 years ago | Eduardo Born
    java.lang.IllegalArgumentException: unknown handler key
  6. 0

    Generate GOST 34.10-2001 keypair and save it to some keystore

    Stack Overflow | 4 years ago | gkuzmin
    java.lang.IllegalArgumentException: unknown key size.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      'default' key contained unknown value

      at org.bukkit.permissions.Permission.loadPermission()
    2. Bukkit
      Permission.loadPermission
      1. org.bukkit.permissions.Permission.loadPermission(Permission.java:121)
      1 frame
    3. MC CraftBukkit
      CraftServer.enablePlugins
      1. org.bukkit.craftbukkit.CraftServer.loadCustomPermissions(CraftServer.java:418)
      2. org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:152)
      2 frames
    4. MC Server
      ThreadServerApplication.run
      1. net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
      2. net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
      3. net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
      4. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
      5. net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
      5 frames