java.lang.reflect.InvocationTargetException: java.lang.SecurityException: Action forbidden by JavaTest: checkPropertiesAccess

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Running JDO 1.0 TCK suite with Kodo 2.3.1

    Oracle Community | 1 decade ago | 3004
    java.lang.reflect.InvocationTargetException: java.lang.SecurityException: Action forbidden by JavaTest: checkPropertiesAccess

    Root Cause Analysis

    1. java.lang.reflect.InvocationTargetException

      java.lang.SecurityException: Action forbidden by JavaTest: checkPropertiesAccess

      at com.sun.javatest.JavaTestSecurityManager.checkPropertiesAccess()
    2. com.sun.javatest
      JavaTestSecurityManager.checkPropertiesAccess
      1. com.sun.javatest.JavaTestSecurityManager.checkPropertiesAccess(JavaTestSecurityManager.java:97)
      1 frame
    3. Java RT
      System.getProperties
      1. java.lang.System.getProperties(System.java:488)
      1 frame
    4. com.solarmetric.kodo
      JDBCPersistenceManagerFactory.getPersistenceManagerFactory
      1. com.solarmetric.kodo.conf.DefaultConfiguration.loadProperties(DefaultConfiguration.java:92)
      2. com.solarmetric.kodo.conf.DefaultConfiguration.loadDefaults(DefaultConfiguration.java:55)
      3. com.solarmetric.kodo.conf.SimpleConfiguration.<init>(SimpleConfiguration.java:82)
      4. com.solarmetric.kodo.conf.SimpleConfiguration.<init>(SimpleConfiguration.java:69)
      5. com.solarmetric.kodo.impl.jdbc.JDBCSimpleConfiguration.<init>(JDBCSimpleConfiguration.java:53)
      6. com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.getPersistenceManagerFactory(JDBCPersistenceManagerFactory.java:54)
      6 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. JDO API
      JDOHelper.getPersistenceManagerFactory
      1. javax.jdo.JDOHelper.getPersistenceManagerFactory(Unknown Source)
      2. javax.jdo.JDOHelper.getPersistenceManagerFactory(Unknown Source)
      2 frames
    7. com.sun.jdotck
      AccessingFieldsInPredelete.run
      1. com.sun.jdotck.JDO_Test.getPMF(JDO_Test.java:202)
      2. com.sun.jdotck.api.instancecallbacks.AccessingFieldsInPredelete.run2(AccessingFieldsInPredelete.java:116)
      3. com.sun.jdotck.api.instancecallbacks.AccessingFieldsInPredelete.run(AccessingFieldsInPredelete.java:103)
      3 frames
    8. com.sun.javatest
      Agent$1.run
      1. com.sun.javatest.lib.ExecStdTestSameJVMCmd.run(ExecStdTestSameJVMCmd.java:104)
      2. com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:826)
      3. com.sun.javatest.agent.Agent$Task.execute(Agent.java:757)
      4. com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:615)
      5. com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:384)
      6. com.sun.javatest.agent.Agent.access$0(Agent.java:362)
      7. com.sun.javatest.agent.Agent$1.run(Agent.java:262)
      7 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:484)
      1 frame