New topic: 

Problem accessing sandboxed app container folder

<http://forums.realsoftware.com/viewtopic.php?t=46135>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        azzanet          Post subject: Problem accessing sandboxed app 
container folderPosted: Tue Dec 04, 2012 4:14 pm                         
Joined: Sun May 27, 2012 4:01 pm
Posts: 4                I have a sandboxed app that needs to open\save its 
configuration data in the applications container folder (I understand that this 
is where a sandboxed application has full read write access to.

The problem is that when I try to reference that folder it will crash the 
compiled application.

The code that crashes it is -
DocumentsFolder=SpecialFolder.UserLibrary.Child("Containers").Child("MyAppID").Child("Data").Child("Documents")

(DocumentsFolder is already declared as a folderitem).

If I run this without it being sandboxed then it works fine.

When sandboxed it gives this error -
An exception of class NilObjectException was not handled.  The application must 
shut down.

Any help with this would be much appreciated as this is driving me crazy.

Thanks   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to