Skip to main content

PreparingFailedException

10 replies [Last post]
tihomirm
Offline
Joined: 2008-01-28

Hi all,

In my attempt to do VFS update I've got PreparingFailedException. Does anybody has the same issue?
I'm downloading bumf, busf files and bdmv directory successfully. The bu.discroot.crt is also located in CERTIFICATE directory. The only problem with the creation of the bumf.xml is that BumfGenerator does not produce manifest id attribute on it, so I have to add it after that and sign bumf file again. The bumf.xml is validated successfully against the schema. Here is a snippet from that file:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

...

...

Any help is appreciated!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jaya_h
Offline
Joined: 2005-07-11

Hi Tisho,

As Chihiro said PreparingFailedException is a very generic exception that gets thrown for any kind of VFS update failure.

For debugging purposes, I've started using the developer version of the recent ArcSoft TMT (ver: 2.1.0.113/115) player
that logs messages about which one of the checks failed during the VFS update. This information is very useful.

However, there are some quirks in getting the VFS update working successfully all the
time on Arcsoft player. Even if you don't get it working on ArcSoft player, it might work on PS3.

Thanks,
Jaya

chihiro_saito
Offline
Joined: 2006-11-08

Another quick check you can do is to make sure that calling VFS update method with the bumf.xml having no mapping elements (just bumf:manifest header) works in your settings. This will ensure that you have all the permissions and signing stuff that Joe is mentioning correctly.

The problem of PreparingFailedException is that it seems to happen for number of reasons, including missing file, format error in the xml, signing, etc.

Chihiro

tihomirm
Offline
Joined: 2008-01-28

Thanks Chihiro!
I tried without tag and it's working on PS3. Now bumf file looks like:





So the problem seems to be in the mapping?
Joe: Unfortunately we don't have access to any verifiers. I was thinking that they are working only on streams verification.

Tisho

chihiro_saito
Offline
Joined: 2006-11-08

Hi,

Good to hear something is working. :-)

I might be wrong about empty file ensuring all the permission check on PS/3, however; in particular, your orgID worries me. I think the recommended IDs are in the range of 7ffff0000 to 7fffffff.

Anyhow, you can try mapping of just one file or so, making sure that the file does exist in the BUDA. The BUDA path can be queried by the xlet.

Chihiro

Joe Rice

I think because there is a leading 1, it should be
10000000000000000000000000000001 in the asset path. (If all leading
0s, they'd be truncated).

Cheers,
Joe

On Jun 17, 2008, at 2:34 PM, bd-j-dev@mobileandembedded.org wrote:

> Hi,
>
> Disc id is "1", not "10000000000000000000000000000001" in asset path.
>
> So, change BUDAFile path such as below
>
>
>
>

> [Message sent by forum member 'jwpark' (jwpark)]
>
> http://forums.java.net/jive/thread.jspa?messageID=280634
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
> For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net

chihiro_saito
Offline
Joined: 2006-11-08

Hi,

Just on this part:

> The only problem with the creation of the bumf.xml is that BumfGenerator does not produce manifest id attribute on it,

It was indeed a bug on the generator and has been fixed a couple of weeks back, please try with the newest source.

Thanks,
Chihiro

tihomirm
Offline
Joined: 2008-01-28

Thanks all!
Seems that I was using old version of the BumfGenerator. Now is working fine with manifest id, but remains issue with PreparingFailedException.

Tisho

Joe Rice

Do you have access to any of the format verifiers? They can be
indispensible for troubleshooting VFS update issues.

Is the BUMF being signed with the private key associated with the
bu.discroot.crt certificate, and is that root certificate self-signed,
with same issuer and subject?

Cheers,
Joe

On Jun 18, 2008, at 4:21 AM, bd-j-dev@mobileandembedded.org wrote:

> Thanks all!
> Seems that I was using old version of the BumfGenerator. Now is
> working fine with manifest id, but remains issue with
> PreparingFailedException.
>
> Tisho
> [Message sent by forum member 'tihomirm' (tihomirm)]
>
> http://forums.java.net/jive/thread.jspa?messageID=280983

---------------------------------------------------------------------
To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net

jwpark
Offline
Joined: 2008-06-16

Hi,

Disc id is "1", not "10000000000000000000000000000001" in asset path.

So, change BUDAFile path such as below



chihiro_saito
Offline
Joined: 2006-11-08

Hi,

> Disc id is "1", not "10000000000000000000000000000001" in asset path.

Would it be possible to get more info on this?

I'd like to fix the tool if this is indeed the case, but I can't seem to locate related info on the spec, and the players I have do seem to use 10000000000000000000000000000001 in the binding unit data area path...

Thanks,
Chihiro