Got this error message

Hi... I'm facing this error message
"Uncaught exception java/lang/NullPointerException."
whenever i run the emulator. The code does not seems to have any error message but it happens when dat particular method is invoking another method from another class. I'm lost and i couldn't find any resources online to solve this problem. Please help.... :(
Thanks.

hi,
usually the reason for getting that error was for example ... when u are displaying the string which was not having any value ie string = null it will display that exception.
I thought u r getting the error before running the startApp() i beleive,if so try check out the constructor of the MIDlet.If the MIDlet resouces were null it will give that Exception.
One more possibility was alos there like if you are getting the Exception before the constructor starts then there might be the problem with the varaibles.Please check the variables of the main class and make sure that every variable was having some initial value and the try to avoid the calculating the variable from another variables.
lakshman

Similar Messages

  • I got this error message when verifying the disk

    The electricity in my apartment was abruptly shut down while I was using my imac. After I'd got all the electricity back on, I turn on my mac and found that when I verified the disk in disk utility I got this error message.
    Verifying volume “Macintosh HD”
    Checking HFS Plus volume.
    Checking Extents Overflow file.
    Checking Catalog file.
    Illegal name
    Illegal name
    Checking multi-linked files.
    Checking Catalog hierarchy.
    Checking Extended Attributes file.
    Checking volume bitmap.
    Checking volume information.
    Volume Header needs minor repair
    The volume Macintosh HD needs to be repaired.
    Error: The underlying task reported failure on exit
    1 HFS volume checked
    Volume needs repair
    The repair button is in grey so I couldn't do anything. So far, the computer seemed to work fine, but what is the necessary thing to do in this situation??
    Can anyone help?? please.
    Navin

    I'd stay away from disk warrior etc. Try disk utility.
    DiskWarrior is not a disk repair program in the conventional sense. Instead of patching the original directory, it uses a patent-pending technology to quickly build a new replacement directory using data recovered from the original directory, thereby recovering files and folders that you thought were lost and that no other program could recover.
    I've never had trouble with Journaled HFS+ volumes but if I did I try disk utility to repair. Then run fsck from single-user-mode. Then, if that failed I'd pull my data off and erase.
    I've never had any persistent luck with norton type utilities, the problems always come back until I erase.

  • I am using Acrobat XI Pro and tried to install the current update. I got this error message: "Error 1328.Error applying patch to file C:\Config.Msi\pT64b3.tmp It has probably been updated by other means1 and can no longer be modified by this patch. For mo

    I am using Acrobat XI Pro and tried to install the current update. I got this error message: "Error 1328.Error applying patch to file C:\Config.Msi\pT64b3.tmp It has probably been updated by other means1 and can no longer be modified by this patch. For more information contact your patch vendor." tried uninstalling and reinstalling and still get the error. Searched for C:\Config.Msi\pT64b3.tmp and cannot find the path or the file

    For AA XI, you only need the 11.0.09 patch. Download from http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows (Use "MAC" if a MAC is used).

  • By the today e-received updates for Adobe Photoshop Elemenst 12.1 and Adobe Premiere Elements 12.1 I got this error messages: Failure code = U44M1P2003. What to do? System = Window7 64bit.

    By the today e-received updates for Adobe Photoshop Elemenst 12.1 and Adobe Premiere Elements 12.1 I got this error messages: Failure code = U44M1P2003. What to do? System = Window7 64bit.

    Sometimes the Adobe servers used for the updates can get busy and it’s necessary to try a couple of times. Also make sure you don’t have a firewall which may be blocking the connection. It sometimes helps to temporarily disable internet security/anti-virus software. Because the Organizer is shared by both programs it often helps to do the PSE update first, followed by the PRE update in that order.
    Select the 12.1 update for PSE from the updater dialog and ensure everything else is unchecked.  Quit PSE and PRE if you have it running and then start the update.
    If PSE updates properly to 12.1 repeat the process for PRE.

  • I got this error message when I want to activate the CS6. The error message is "We are unable to validate this serial number for CS6 Design and web Premium. Please contact "Customer Support ""

    I got this error message when I want to activate the CS6. The error message is "We are unable to validate this serial number for CS6 Design and web Premium. Please contact "Customer Support ""

    Hi islandschool,
    Please try the suggestion given in the link:- http://helpx.adobe.com/creative-suite/kb/unable-validate-serial-number-ccm.html
    Regards,
    Sarika

  • Recently tried to update iTunes 12.0.1 and got this error message:  The procedure entry point ADAdPolicyEngine_DidEnterStation could not be located in the dynamic link library iAdCore.dll.

    I recently tried to update iTunes to 12.0.1 and got this error message:
    The procedure entry point ADAdPolicyEngine_DidEnterStation could not be located in the dynamic link library iAdCore.dll.
    After that, I get:  iTunes did not install properly.  Reinstall iTunes.
    I tried downloading iTunes again (without uninstalling it) and it won't download.
    Any suggestions?

    Thanks so very much, I have been looking for an answer to this for
    almost a week and just thought i'd look again and in 2 minutes my iTunes opened YIPPEE
    I must have installed deleted everything in order at least 15 times
    Is there anyways this cane get pinned to stay at top as it works and save people ploughing
    through post after post which is just asking the same question.
    Off to back up and I Cloud back up and see how it works without sidebar
    again thank you

  • TS5376 I did as this article described.  The download was going smoothly until I got this error message "Click OK or enter alternate path to folder in installation package containing the file itunes.msi"   Where can I get "itunes.msi"  ??

    I did as this article described.  The download was going smoothly until I got this error message "Click OK or enter alternate path to folder in installation package containing the file itunes.msi"   Where can I get "itunes.msi"  ??

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Anyone got this error message when going to the creative suite color settings from the bridge ?

    I got this error message saying :"BRIDGE'S PARENT APPLICATION IS NOT ACTIVE, Bridge requires that a qualifying product has to have been launched at least once to enable this feature.
    Plz anyone do you have any tips or help to fix this problem? thank you very much

    What do you have installed, in what form did you acquire it, and what kind of computer you're using please?
    So Bridge doesn't think you have any other Adobe programs installed properly.
    If this isn't a trial or cracked version you're using, you're entitled to free installation support from Adobe by phone.

  • I cannot open my word doc on my iMac.  I got this error message, The applicThe aplation Microsoft Word can't be opened.?

    I cannot open my word doc on my imac.  I got this error message, "The application microsoft word cannot b opened" #1712. Can you help?

    Word can't open or does it open but you can't open documentts?
    If you have Office does Excell or Power Point open? If they do you can perhaps check for updates with either of them: Help > Check for Updates. You can also try to reinstall Office with your installation disks. Don't delete Office, just try to install it again.

  • I Uninstall My Firefox Then I Want To Install Back But I Got This Error Message "Your Firefox profile cannot be loaded. It may be missing or inaccessible. "

    Im Using Windows 7 Ultimate. I Uninstall My Firefox Then I Want To Install It Back But When I Install It, I Got This Error Message "Your Firefox profile cannot be loaded. It may be missing or inaccessible. "
    I Try To Delete profile.ini But " Access Denied " . How To Fix It ?

    Tq Philip. You Save My Day. :)

  • I was using my old iPhone 4 as an iPod for 4  months when one day I got this error message saying "phone is deactivated visit your local to reactive" ... what the heck??? now the freakin thing won't even charge!!!

    I was using my old iPhone 4 as an iPod for 4  months when one day I got this error message saying "phone is deactivated visit your local to reactive" ... what the heck??? now the freakin thing won't even charge!!!

    Nope. I've already turned off cellular data. It happens regardless, as soon as it is done powering on.
    I suspect it might just be built into the phone's firmware to do that... and I have to hit "ignore" whenever it happens, but I just wanted confirmation of that...

  • Error 150.30.  Upgraded to a new computer; got this error message when I tried to launch it.  What should I do?

    Upgraded to a new computer; got this error message when I tried to launch it.  What should I do?

    Seen this iBA User Tip?
                     ERROR ITMS-9000: "Files of type audio/x-m4a are not allowed outside of widgets:..."

  • I got this error message "An internal error has occured:Lightroom+Fatal_SQLite_corruption::Database:I:\LR Catalog 5\Lightroom 5 Catalog.Ircat::Error:database disk image is malformed::SQL:DELETE FROM Adobe_Additional MetadataWHEREid_ local"

    What does this error message mean.  I have an external drive and I wonder if it is corrupted and if I can restore what is lost there.

    Hi breinhar9911
    I've never seen a case where Lr has managed to delete a catalog or backups, so something really sounds odd there.  I've seen cases where it's lost track of where they are, but I can't think of a way LR could delete them.  LR doesn't even know backups exist!
    Which NTFS on Mac software are you using?  Considering how new Mountain Lion is, that's the first place I'd be looking for odd issues.  I'm no expert in odd error messages, but disk I/O error stands out to me in that message.
    When you've had the catalog on the internal drive, what were the failures you were getting then?

  • Iv'e got this error message : "protocol doesn't support output"

    When i execute my applet the part of code below give's me thi error message: "protocol doesn't support output". This part of the code save's a vector(of string) into a data file. I'm able to load the file but i can't put info in it. Helppppppppp:
    That's the method where tje problem is :
    private void saveVector()
    Evenement Ev;
    try{
    // THE ERROR IS PROBABLY IN THE 2 NEXT LINES!
    Dos = new DataOutputStream(new BufferedOutputStream( new URL(this.getCodeBase(), FichierEvenement).openConnection().getOutputStream()));
    for ( int i = 0; i <= VecEvenement.size();i++ )
    Ev = (Evenement) VecEvenement.elementAt(i);
    String Ligne = Ev.getDateEvent().trim().concat("|")+ Ev.getTitre().trim().concat("|") + Ev.getLieu().trim().concat("|") + Ev.getDesc().trim().concat("|") + Ev.getPers().trim().concat("|")+ Ev.getAdresse().trim().concat("|");
    Dos.writeUTF(Ligne);
    Dos.close();
    catch (Exception e) {
    LErr.setText(e.getMessage());
    }

    http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html
    As is noted in this part of the tutorial, a URL may simply not support output:
    "Next, the program creates the URL object--the URL for the backwards script on java.sun.com--opens a URLConnection, and sets the connection so that it can write to it:
    URL url = new URL("http://java.sun.com/cgi-bin/backwards");
    URLConnection c = url.openConnection();
    c.setDoOutput(true);
    The program then creates an output stream on the connection and opens a PrintWriter on it:
    PrintWriter out = new PrintWriter(c.getOutputStream());
    If the URL does not support output, getOutputStream method throws an UnknownServiceException. If the URL does support output, then this method returns an output stream that is connected to the standard input stream of the URL on the server side--the client's output is the server's input. "
    Sorry I can't be of more help.

  • Had Lion 10.7.3 and spctl enabled, after upgrading to 10.7.4 i got this error message: 'error: invalid API object reference'

    I had Lion 10.7.3 with spctl enabled, few days ago i had thru Software Updates > Upgrade to 10.7.4; i upgraded but this time when im trying to install an program i have the message that producer is not signed or software was from AppleStore so i tried to disable on Terminal, but i got this message:
    'error: invalid API object reference'
    i guess now i cant install anything because either i want to enable or disable the result is the same.

    I have this same trouble with an IMac, was also 10.7.3 with spctl enabled, and after upgraded to 10.7.4, i cant install anything.

Maybe you are looking for

  • Cannot delete message from Trash

    Hi I have more than 10,000 deleted messages under Trash, in a folder named "on my mac". When I try to empty that folder o just empy the whole Trash, Mail crashes due to the high volume. I would like to delete those messages from the Finder, but I can

  • Report for slow moving material.

    Hi friends I want to create report for slow & fast moving materials.. I have to add following fields in the report Material, Unit of Measure, Current Stock, Value, Last consumption date, Last movement date... Now I dont have all these fields toghethe

  • Updated to 3.1.3, now iPhone won't show up in iTunes

    Updated to 3.1.1, now my iPhone won't show up in iTunes. iTunes starts up when I plug in my iPhone, but then SyncServer.exe just sits there running taking up 50% of the processor. Everything worked fine before the 3.1.3 upgrade, now it doesn't.

  • Cisco VPN Client installation freezes on Windows 7

    Hello, I am in need of some help installing the Cisco VPN Client on a Windows 7 workstation. Here are some details: Cisco VPN Client Version: 5.0.07.0410 Operation System: Microsoft Windows 7 Enterprise, 32-bit, version 6.1, build 7600 PC Hardware: I

  • What are the best practices to migrate VPN users for Inter forest mgration?

    What are the best practices to migrate VPN users for Inter forest mgration?