db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Bengtson" <e...@jpox.org>
Subject NullPointerException in JDOImplHelper due to security manager
Date Mon, 08 Oct 2007 20:25:16 GMT
An application using JDO needs the following additional permissions to run:

	permission java.util.PropertyPermission "user.country", "read";
	permission java.util.PropertyPermission "user.timezone",
	permission java.util.PropertyPermission "java.home", "read";


Caused by: java.lang.NullPointerException
	at java.security.AccessControlContext.checkPermission(Unknown
	at java.security.AccessController.checkPermission(Unknown Source)
	at java.lang.SecurityManager.checkPermission(Unknown Source)
	at java.util.TimeZone.hasPermission(Unknown Source)
	at java.util.TimeZone.setDefaultZone(Unknown Source)
	at java.util.TimeZone.getDefaultRef(Unknown Source)
	at java.util.TimeZone.getDefault(Unknown Source)
	at java.text.SimpleDateFormat.initializeCalendar(Unknown Source)
	at java.text.SimpleDateFormat.<init>(Unknown Source)
	at java.text.DateFormat.get(Unknown Source)
	at java.text.DateFormat.getDateTimeInstance(Unknown Source)
	at javax.jdo.spi.JDOImplHelper.<clinit>(JDOImplHelper.java:123)
	... 22 more

Is that interesting to note in the JDO SPEC?

View raw message