[MBS] BundleFolderMBS is nil

Need to access BundleFolderMBS. Which has worked fine so far. But now I need to do this in the constructor of a menuitem. And now the following code

dim temp as FolderItem = app.BundleFolderMBS

gives a NilObjectException. Any ideas how to handle this? I’m trying to get the BundleID of the application.

Mac OS 10.10.2. Xojo 2015r2.2b2. MBS from 30.03.2015.

can you provide an example?
For me it works fine.

dim a as Application = app dim f as folderitem = a.BundleFolderMBS

a is nil in the Constructor. I can’t change that.