IllegalStateException, but it works on J2ME WTK2! :(

I build and package the project...it uses CLDC 1.0 and MIDP1 (so no compatibility problems with phones), I execute the jad file on the PC and everything works. But I have tried it in 2 phones (a Sony Ericsson T630 and a Nokia 6100, both have MIDP 1, Installation worked in both) and I just get the IllegalStateException message.
It's very simple, no images used, one class, just "high level GUI".

Arg, no edit option in this forum ;( The program just has this methods and builder:
import java.io.*;
import javax.microedition.midlet.*;
import javax.microedition.rms.*;
import javax.microedition.lcdui.*;
public class Preventa extends MIDlet implements CommandListener{
//create some vars (record store, display...)
public Preventa(){
//initate and create vars
public void startApp() {
//some code, ended with pantalla.setCurrent(hola,listacli); (display pantalla )
public void pauseApp() {
public void destroyApp(boolean unconditional) {
public void commandAction(Command c, Displayable d){
//more code
Methods for opening, reading and writing RecordStores.
That's all! :(

Similar Messages

  • I cannot open iCal because of a problem. Can anybody help me? The computer will not allow it to open and sends a message to apple each time. The icon has gone from the dock, but ical works on my iPad and I am afraid to sync it with my computer.?

    I cannot open iCal because of a problem. Can anybody help me? The computer will not allow it to open and sends a message to apple each time. The icon has gone from the dock, but ical works on my iPad and I am afraid to sync it with my computer in case it wipes everything .

    I have the exact same problem. I have not changed anything. This is probably a bug or something that has gone bad with Mac OS X (10.7.2). I have not found any solution for this on the web.
    MacBook Pro, Mac OS X (10.7.2).

  • How can I get the iCloud/iTunes password for my (now) deceased Father-in-Law's Imac?  I have a list of his passwords, but nothing works!

    How can I get the iCloud/iTunes password for my (now) deceased Father-in-Law's iMac?  I have a list of his passwords, but nothing works!  I know his email, but that account has been cancelled for security purposes, so we can't just request a new one.  I tried his security questions to no avail.
    Thanks

    Since that password is tied to his Apple ID, you will need to contact Apple; as far as I know, it will be a somewhat lengthy procedure and you will  need to furnish necessary paperwork (including a death certificate as far as I know). Best to either stop at an Apple store or call them to find out exactly what it is you need to do.

  • Cannot send or receive yahoo mail or gmail from iPhone . installed ios 6 recently. tried rebooting the phone and deleting the email account and adding again but nothing works ! can someone suggest a solution?

    cannot send or receive yahoo mail or gmail from iPhone . installed ios 6 recently. tried rebooting the phone and deleting the email account and adding again but nothing works ! can someone suggest a solution?

    Not sure about yahoo, but for gmail, I done the following:
    Set up using Exchange on iPhone, it'll keep prompting for password.  On PC use captcha option, log in to gmail account from PC after completingg captcha option, enter password on iPhone.
    See how that goes for gmail, let us know.
    Hopefully someone will have fix for yahoo.

  • Iphone 6 (Verizon,64GB,space gray)  microphone works for text dictation and Siri but stopped working for calls and voice memos.

    My iphone 6 the micorphone has stoppped working unless I speak loudly right into it and its still not clear during calls and voice memos. But it works just fine for Siri and text dictation. I use the earbuds for work so not sure how long its been going on. Only change is I updated to iOS 8.1.3. Not sure if I should exchange my phone or if its a software glitch since the same mic seems to work for some things and not others. Any ideas would be apreciated.
    iPhone 6
    Space Gray
    64GB
    Verizon

    Try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again. You will not lose any data by resetting, but it can cure some glitches.
    If this does not help, setting it up as new device would be the next step:
    How to erase your iOS device and then set it up as a new device or restore it from backups

  • My ipad just won't let me enter my apple password on FaceTime or iMessage, it works fine on my iPhone, I have tried numerous things but nothing works, can anybody help please, will a bug fix sort this out when they finally make one

    My ipad just won't let me sign in with my apple password on FaceTime or iMessage since updating to ios7 it says check my network connection, even though my iPhone works fine with the same password, can anybody help please, I have tried numerous things but nothing  works.  Will I have to wait for a bug fix to sort this? I hear they are working on one a the minute, I hate ios7

    Try a Restart.
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider. Press and hold the Sleep/Wake button until the Apple logo appears.
    Resetting your settings
    You can also try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. You won't lose any data, but it takes time to enter all of the settings again.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears. Apple recommends this only if you are unable to restart it.
    Or if this doesn't work and nobody else on the blog doesn't have a better idea you can contact Apple.
    Here is a link to their contacts with most of the information below.
    http://www.apple.com/contact/

  • I bought two songs off itunes and they wont sync onto my ipod touch but they did sync onto my ipod classic.  I have tried all troubleshooting ideas to get the songs to sync on my ipod toch but nothing works. :(

    I bought some songs off of itunes and the songs synced onto my ipod CLASSIC but they didnt sync into my ipod TOUCH. I have tried authorizing and deauthorizing my laptop, updating softwares but nothing works. Anyone know why this is happening?!?!?!

    Hi,
    The songs need to be in the playlist(s) that go onto the ipod touch.
    Plug the ipod touch into the computer and go to the music section of it from the devices menu. From here make sure that the playlist(s) that go on to this ipod are the ones that have the new songs.
    Once this is done, click sync/apply.
    I hope this helps.

  • Some logins don't work in Firefox but do work in other browsers

    I have a couple of sites that the logins don't work when I use Firefox but work perfectly if I use another browser such as Chrome or IE. I have tried uninstalling and reinstalling firefox including reinstalling back levels but nothing works. Any suggestions?

    In what way are those sites not working?
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Also check the cookies exceptions to make sure that you aren't blocking cookies.
    If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.
    *http://kb.mozillazine.org/Cookies
    *https://support.mozilla.org/kb/Deleting+cookies
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Hi, I am having trouble getting an album to download. I have tried it on both my iPhone and laptop through iTunes but neither works. I am wondering if it could be the size of the album stopping it downloading (212 Tracks) Any Ideas?

    Hi, I am having trouble getting an album to download. I have tried it on both my iPhone and laptop through iTunes but neither works. I am wondering if it could be the size of the album stopping it downloading (212 Tracks) Any Ideas?

    These alerts occur due to timeouts or conflicts trying to write a file during download.
    If you encounter this issue while while downloading something from the iTunes Store:
    Delete your iTunes Downloads folder, located in:
    Mac OS X:
  ~/Music/iTunes/iTunes Media/Downloads   Note: "iTunes Media" may appear as "iTunes Music. Also, the tilde (~)  refers to your Home directory.
    After locating your iTunes Downloads folder:
    Quit iTunes.
    Delete the Downloads folder on your computer.
    Open iTunes.
    Choose Store > Check for Available Downloads.
    Enter your account name and password.
    Also review this support aticle as it might be causing due to internet connection: http://support.apple.com/kb/ts1368
    Hope this helps.

  • Ive uploaded firefox 4 and now I cant access messenger from the browser, it say unavailable, but it works as a stand alone prog.. cant find a setting to reactivate.. Please advise TY!

    Im on Win 7 Ultimate and had Firefox working fine with messenger in the browser & could use the pop up chat box. Since the upload I get the message that messenger is currently not available, but it works fine when I activate it as a stand alone prog. but I want it back in my browser.. cant find any setting or pref. to activate it... have cleared cache and history, restarted, even reloaded a messenger from Windows essencials.. no difference.. it been like this for 5 days since the update.. anyone got a solution? thanks alot for your help.

    DFU mode:
    http://www.iclarified.com/entry/index.php?enid=1034

  • When I go to yahoo with my iPhone 6  the pages will not enlarge when I pinch them but it works on my iPad. Does anyone know what's wrong?

    When I go to yahoo with my iPhone 6  the pages will not enlarge when I pinch them but it works on my iPad. Does anyone know what's wrong? Also the same on boyfriends phone he's eith Virgin and I'm with Vodafone do it cant be the providers.

    Thanks for the link but none of those described the problem. No error message pops up. It just says "Accessing Itunes Store" but it never actually does. This only occurs when my iPhone is plugged in though.

  • What does this message mean:  this apple ID has not yet been used in the iTunes store"? I cant connect using my iphone. But it works in iTunes on my laptop.

    what does this message mean:  this apple ID has not yet been used in the iTunes store"? I cant connect using my iphone. But it works in iTunes on my laptop.

    FAQ apple id http://support.apple.com/kb/HT5622?viewlocale=en_US
    http://support.apple.com/kb/HT1311

  • My ipod touch wont turn on!! i have tried EVERYTHING!!! rebooting , trying to put it in DFU mode , pressing volume , power and home buttons , charging it but nothing works!it doesn't show up in itunes. my warranty is expired. what to do please help!

    MY ipod touch 5 wont turn on. i tried holding the power and home button together to reboot but didnt work. i tried pressing only the home or power button but no response . it doesn't show up in itunes. i tried keeping i in charge but it doent even show the charging icon! it does not show the no battery icon either. i tried leaving it with no disturbance for a few hours but still no luck . it has no response . My 1 year warranty is already expired. is my ipod officially and completely DEAD????

    See if you missed anything here
    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order. The appointment is free. No warranty required
      Apple Retail Store - Genius Bar                              

  • Background Job Hanged but no work process assigned

    Hi,
    Background job has hanged When i see in SM37. But no work process assigned to this job. All work process are waiting status.
    What could be the reason. What is the resolution process.
    Thanks,
    Dayakar

    How did you come to a conclusion that the bg job is hangend.
    What is the status of the job. ? I guess  Job defined, but not yet eligible to run even if the start condition has been fulfilled so it should be in Scheduled status.

  • HT1476 My iPhone 4S will charge on a laptop but not from a wall plug. I have tried different boxes and different USB cords from the wall but none work. These boxes and USB cords work for other family members with iPhones. I'm stumped :/

    My iPhone 4S will charge on a laptop but not from a wall plug. I have tried different boxes and different USB cords from the wall but none work. These boxes and USB cords work for other family members with iPhones and a USB cord that works from the laptop won't work from 3 or 4 different wall boxes that work for others. I'm stumped :/

    Update: It seems as though the phone will charge if I plug it in and then turn it off.  It will not charge while the phone is on.  Also iTunes will not recognize it, so I can't sync or anything.  I read somewhere that it could be a fuse somewhere?? Or maybe the dock connector. Where is the best place to get this repaired?

Maybe you are looking for