Note that there are some explanatory texts on larger screens.

plurals
  1. PONewbie - Initializing Java classess
    primarykey
    data
    text
    <p>I am trying to implement an app based on and Android app which is working quite happily</p> <p>it downloads a blob from the blob store</p> <p>The application has about 20 non persistent classes which appear in the .src (uncompiled .java files) folder together with the servlet .java code The 20 classes are used to construct a data class which is populated from the downloaded blob. I want all uses to be able access this data (at least in the first instance) </p> <p>However when debugging the blob is downloaded OK but I get the following stack trace during class initialization. </p> <p>I have been searching for the answer for several weeks and would appreciate some help.</p> <p>I am sure it is something simple I am missing.</p> <p>I am using eclipse, App Engine SDK 1.7.7 and JDK1,7.0_17</p> <p>it is clear something to do with (PropertyPermission and the SecurityManager.checkPropertyAccess</p> <p>As with most things if you ask a difficult question - you won't necessarily understand the answer - so please keep it simple!!</p> <p>The stack trace :-</p> <pre><code>INFO: Local Datastore initialized: Type: High Replication Storage: C:\Users\Steve\workspace2\Blobstoredemo\war\WEB-INF\appengine-generated\local_db.bin Jun 09, 2013 2:58:53 PM com.google.appengine.api.datastore.dev.LocalDatastoreService load INFO: Time to load datastore: 522 ms Jun 09, 2013 2:59:23 PM com.google.appengine.api.datastore.dev.LocalDatastoreService$PersistDatastore persist INFO: Time to persist datastore: 190 ms Jun 09, 2013 3:00:07 PM com.google.apphosting.utils.jetty.JettyLogger warn WARNING: Error for /view java.lang.StackOverflowError at java.util.PropertyPermission.&lt;init&gt;(PropertyPermission.java:167) at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1302) at java.lang.System.getProperty(System.java:706) at com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:63) at blobstoredemo.Weekfile.&lt;init&gt;(Weekfile.java:13) at blobstoredemo.t_round.&lt;init&gt;(t_round.java:26) at blobstoredemo.Weekfile.&lt;init&gt;(Weekfile.java:9) at blobstoredemo.t_round.&lt;init&gt;(t_round.java:26) at blobstoredemo.Weekfile.&lt;init&gt;(Weekfile.java:9) at blobstoredemo.t_round.&lt;init&gt;(t_round.java:26) at blobstoredemo.Weekfile.&lt;init&gt;(Weekfile.java:9) at blobstoredemo.t_round.&lt;init&gt;(t_round.java:26) </code></pre> <p>a lot more of the same....</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload