Sunday, January 11, 2009

Kode Error JVM di BlackBerry


Berhubung pertanyaan tentang error code JVM sering diulang-ulang, ada baiknya di tulis saja di blog, sehingga memudahkan proses pemberian referensi.

The following table lists errors that can occur in the Java virtual machine (JVM) on BlackBerry handhelds.

(http://www.blackberry.com/developers/javaknowledge/general/kpa0307163334.shtml)

ErrorDescription
101Internal JVM error.
102Invalid code in file system. The .cod files in the handheld have been checked for modification and it has been determined that there is a problem with one or more .cod files.
103The starting address for the boot .cod file cannot be found. This might mean that a boot .cod file has not been installed on the handheld, or that its format is invalid or corrupt.
104An uncaught Java exception was thrown in the Java code and diagnosed by the JVM. Execution can be continued or the handheld can be attached to a debugger on a desktop through a serial or USB cable. The event log should contain the traceback of the thrown exception.
105An OS file system API returned an error status for a certain operation. This can indicate a corrupt file system or an error in the JVM.
106An error has been detected in the graphics system of the handheld.
107Internal JVM error.
108Internal JVM error.
109Internal OS error.
110Non-idle event downtime error. A problem has been detected in the accumulation of JVM down time that represents how long the JVM has been idle. This indicates an error in either the OS code or the JVM code.
200Application manager threw an uncaught exception. The application manager event thread threw an uncaught exception and so cannot continue running.
201Initialization of the cryptographic system failed and the handheld cannot continue to operate.
202An attack on the key store has been detected, and the handheld cannot continue to operate.
203The application manager console process, usually the Home screen ribbon, has failed, like due to an uncaught exception.
501Internal error.
502All processes exited. The last Java process has terminated, and there is nothing left to execute.
503Internal error.
504Internal error.
505Internal error.
506An uncaught Java exception was thrown in the initial VM Java thread thus killing the only live thread in the system. The event log contains the traceback for the exception.
507A dependency on a .cod file could not be satisfied due to a missing .cod file. Load the missing .cod file onto the handheld.
508Invalid object. A problem has been detected with a debugger command to the VM.
516Error occurred during garbage collection, which might indicate a corrupted file system.
510All threads are waiting on objects, which results in a deadlock. The system cannot recover from this state since no thread can release a lock.
511A problem has occurred during debugging.
515The reachable objects form a group that cannot be represented properly by the VM because there are too many objects or the total size of the objects is too large.
516When committing a persistent object, the VM found that the persistent store id counter has reached its limit. The object was not committed.
517An inconsistency has been detected in the VM persistent object store.
518Internal error.
519Internal error.
520Internal error.
521Indicates that Object.wait() has been executed by a thread that holds a lock on another object; occurs only in simulator if the JvmDebugWaits application switch.
522A thread has acquired two locks on objects in an order that doesn't match the order that previous locks for the two types were acquired, which indicates a future potential deadlock situation; reported only in the simulator when the JvmDebugLocks application switch is set.
523A critical Java process has died and the device cannot continue to operate normally.
524An object has been marked as recovered by the Low Memory Manager but it was not freed during a garbage collection. This is only checked in the simulator under the control of the JvmDebugLMM application switch.
525Bad persistent object. An auto-commit operation during a garbage collection has detected a non-persistent object reachable from the persistent store root. The type of the object has been output into the event log.
526The class definition for java.lang.Object cannot be found.
527The class definition for java.lang.String cannot be found.
528The file system is corrupted. Data on the handheld is unrecoverable.
529The file system is corrupted. An attempt is going to be made to recover data, but some data might be lost.
530Internal JVM error.
531Flash memory has been exhausted.
532A JVM assertion has been violated. This error can occur only in the simulator, not on an actual handheld.



Saturday, December 27, 2008

ube: Youtube to Email

Menikmati YouTube di BlackBerry paket Unlimited

Lemme guess, di Aplikasi Media nya Biss Boss sekalian, pasti jarang yang menyimpan Video?
Padahal lumayan lho buat temen dikala iseng.. Hiburan audio visual.. :-)

As we know, Banyak orang menyukai hiburan youtube.
Sayangnya, youtube mobile menggunakan protokol rtsp untuk streaming, sehingga muncul kebutuhan APN operator jika ingin dinikmati di BB.
Fitur/teknologi di Indonesia, nggak berkembang kalo nggak dimulai dari yang gratis... :-)

*saya belum coba youtube dg wifi n youtube client di storm*

Bagaimana menikmati youtube di BB paket unlimited tanpa perlu membayar biaya tambahan?

Jawabannya ada di aplikasi web ube. http://ube.bbgue.com
*enjoy youtube video unlimited (based on APN BlackBerry.net)

Aplikasi ube adalah aplikasi yang akan mendownload video dari youtube, melakukan konversi format, kemudian mengirimkannya ke email Anda sebagai attachment.
* saat ini masih ada bugs, tidak semua video dapat di download

BlackBerry dengan OS 4.5 ke atas,
Memiliki kemampuan untuk download attachment hingga 2.9MB. Dan berita gembiranya, download attachment ini termasuk APN BlackBerry.net yang unlimited tsb. ;-)
PPPCMIIW: please, please, please, correct me if I'm wrong :D
Mohon yang menggunakan BB Pra-Bayar mengecek keabsahan statement saya tersebut dengan mengecek pulsa sebelum dan sesudah download.

Anda dapat menikmati video dari youtube, setelah mendownload attachment Anda, ke microsd ataupun ke device memory.

Tertarik untuk mencoba?
Caranya mudah, Anda cukup transfer uang ke nomor rekening.. Eh Oops, salah! :-)

Cara menggunakan ube:
  1. Do with your own risk. Sistem masih dalam tahap development, tidak ada jaminan 100% running well.
  2. Registrasi email yang akan digunakan untuk menerima video youtube.
    Kirimkan email ke u{at}id-bb.com
    Pastikan subject tertulis: id-blackberry
  3. Pilih video yang Anda inginkan dari youtube. Sementara terbatas MAX 180 detik.
    Buka browser ke http://m.youtube.com.
    Setelah muncul video yang Anda inginkan, Arahkan cursor ke JUDUL (bukan ke gambar).
    Tekan menu, pilih "Link Address".
    Pastikan link diawali oleh http://m.youtube.com/.
    Copy Link tersebut dg menekan tombol copy addr.
  4. Dari browser, Goto: http://ube.bbgue.com/.
    Masukkan alamat email yang sudah terregister.
    Paste URL hasil copy link dari langkah sebelumnya.
    Tekan tombol getVideo, dan tunggu hasilnya.
    Kira2 seminggu kemudian, Anda akan dapat Kiriman email ... Hehehe :-) (j/k).
    Jika video available n tidak ada privasi untuk Diembed, maka beberapa menit kemudian Seharusnya Anda sudah bisa menikmatinya.
   
Okay.. Saya rasa sudah cukup bacanya,
Sekarang langsung Praktek saja!...

To Operators: please prepare a bigger bandwidth :-)

Ohya, konversi format mengikuti layar curve :D
Blom sempet nyobain di Storm n KS.. Argghh!
Mohon masukan, apakah gambar sudah bisa diterima atau masih terlalu blur kotak-kotak?
soal suara, dr sananya emang mono 22kHz.

Kenapa video length dibatasi 3 menit?
Karena hasil konversi format video 3 menit kurang lebih setara dengan ukuran video 3 MB.
Attachment lebih dari ukuran tsb, tidak dapat didownload (secara gratis) ke BB.

That's all Folks!
Have fun, go abbusive ... :))


BlackBerry Unlimited Rulez!
Bbgue.com -- my BB, my Rulez!


Daftar Bugs yg sudah ditemukan:
  • Video yang merestrik embedded tidak dapat di download
  • Video id yg berawalan huruf '-' (dash) belum ditangani


.