Deny file-read-data
Jan Lunddal Larsen
maillists at lunddal.dk
Tue Feb 5 04:49:25 PST 2013
Hi again,
It's just typical. We've fixed it just minutes after sending this e-mail :-)
It seems to have been a bug in an earlier Java7 version, that's fixed in 7u13 (or perhaps earlier).
By deleting the stub the Web Start app saves in ~/Library/Application Support/Oracle/Java/Deployment/cache/6.0/bundles, the new one it makes at the next launch can open Preview just fine.
Best regards
Jan Lunddal Larsen
System Administrator & IT Support Manager
Bruun Rasmussen Auctioneers
Sundkrogsgade 30 · DK-2100 Copenhagen
Tel: +45 8818 1082
www.bruun-rasmussen.dk
On 05/02/2013, at 12.33, Jan Lunddal Larsen <maillists at lunddal.dk> wrote:
> Hi,
>
> We have a Java Web Start app in our company, and printing is handled by making PDFs and opening them in the user's default app (usually Preview).
>
> But running the Web Start app in Java 7, the app can't open the PDFs if Preview isn't running. The following error appear in the system.log:
>
> Feb 5 12:31:25 lunddal.bruun-rasmussen.dk Preview[55965]: No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting
> Feb 5 12:31:25 lunddal com.apple.launchd.peruser.501[167] ([0x0-0xda24a17].com.apple.Preview[55965]): Exited with code: 1
> Feb 5 12:31:25 lunddal kernel[0]: Sandbox: sandboxd(55966) deny mach-lookup com.apple.coresymbolicationd
> Feb 5 12:31:25 lunddal.bruun-rasmussen.dk sandboxd[55966] ([55965]): Preview(55965) deny file-read-data /Users/lunddal/Library/Application Support/Oracle/Java/Deployment/cache/6.0/bundles
> Feb 5 12:31:26 lunddal.bruun-rasmussen.dk WindowServer[51371]: kCGErrorIllegalArgument: _CGXRemoveWindowFromWindowMovementGroup: Window not in group
>
> The app uses 'open path/to/file' to open the PDFs.
>
> Best regards
>
> Jan Lunddal Larsen
> System Administrator & IT Support Manager
>
> Bruun Rasmussen Auctioneers
> Sundkrogsgade 30 · DK-2100 Copenhagen
>
> Tel: +45 8818 1082
> www.bruun-rasmussen.dk
More information about the macosx-port-dev
mailing list