help on background iframe

Hi, im getting this kind of error. my background iframe in m2v do not load of spID STB.

java.io.FileNotFoundException: file not found : /mp0/image/govapp.m2v

at com/idway/java/io/DsmccFileInputStream.<init>(Lcom/idway/java/io/DsmccFile;)V (:0:92)

at java/io/FileInputStream.<init>(Ljava/io/File;)V (:0:37)

at java/io/FileInputStream.<init>(Ljava/lang/String;)V (:0:12)

at com/idway/havi/ByteArrayWriter.write(Ljava/lang/String;)[B (:0:22)

at org/havi/ui/HBackgroundImage.loadSyncInternal()V (:0:36)

at org/havi/ui/HBackgroundImage.loadSync()[B (:0:25)

at org/havi/ui/HBackgroundImage$1.run()V (:0:7)

at de/twonkyvision/util/RunIt.run()V (:0:86)

Error Loading Game Background

org.havi.ui.HPermissionDeniedException

at org/havi/ui/HStillImageBackgroundConfiguration.display(Lorg/havi/ui/HBackgroundImage;Lorg/havi/ui/HScreenRectangle;)V (:0:42)

at org/havi/ui/HStillImageBackgroundConfiguration.displayImage(Lorg/havi/ui/HBackgroundImage;)V (:0:18)

at a.a(Ljava/lang/String;)V (a.java:0:24)

at a.startXlet()V (a.java:0:9)

at com/idway/dvb/application/AppRunInstance.internalStart()Z (:0:19)

at com/idway/dvb/application/AppRunInstance.blockingStateUpdate()V (:0:447)

at com/idway/dvb/application/AppRunInstance.run()V (:0:51)

at com/idway/toolkit/thread/ThreadPool$PoolableThread.run()V (:0:82)

[1431 byte] By [mgawsona] at [2007-10-3 2:45:13]
# 1
The javadoc for HStillImageBackgroundConfiguration is quite clear about when this exception is thrown;"HPermissionDeniedException - if the HBackgroundDevice concerned is not reserved."Did you successfully reserve the HBackgroundDevice?
desperadoa at 2007-7-14 20:33:49 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2

yeah i did, it seems that the backDevice.reserveDevice(this) returns a false. What do think the cause why i cant reserve a device.

here's my code below, thanks.

HStillImageBackgroundConfiguration

hstillimagebackgroundconfiguration = null;

HBackgroundDevice backDevice = HScreen.getDefaultHScreen().getDefaultHBackgroundDevice();

if (!backDevice.reserveDevice(this)) {

hstillimagebackgroundconfiguration = null;

}

HBackgroundConfiguration config = backDevice.getCurrentConfiguration();

if (config instanceof HStillImageBackgroundConfiguration) {

hstillimagebackgroundconfiguration = (HStillImageBackgroundConfiguration) config;

}

config = backDevice.getDefaultConfiguration();

if (config instanceof HStillImageBackgroundConfiguration) {

try {

backDevice.setBackgroundConfiguration(config);

} catch (Exception e) {

backDevice.releaseDevice();

hstillimagebackgroundconfiguration = null;

}

hstillimagebackgroundconfiguration = (HStillImageBackgroundConfiguration) config;

} else {

hstillimagebackgroundconfiguration = null;

}

mgawsona at 2007-7-14 20:33:49 > top of Java-index,Java Mobility Forums,Consumer and Commerce...