Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor suraj03's Avatar
    Join Date
    Jul 2011
    Posts
    54
    Hi All,

    I have an j2me application, in which we download the data from server every month and stores it into Rms files.
    But , sometimes it gives " An internal application error occured. java.lang.NullPointerExeceptoin:0." message and stops working completely and hence we need to re download the application loosing all the data.

    I tried to re download the data but it does not work and even I tried to re download the previous data but it was not succeeded too.

    I don't delete the RMS File when I download the data from server but only replaces the old data with the new one.

    Can anyone suggests the solution for this problem.

    Thanks,

    Suraj

  2. #2
    Nokia Developer Moderator r2j7's Avatar
    Join Date
    Aug 2007
    Posts
    1,595
    Hello Suraj,

    does this issue happen with Nokia devices? Or with some other devices or all devices? Could you specify model names?

    Regards,
    r2j7

  3. #3
    Regular Contributor suraj03's Avatar
    Join Date
    Jul 2011
    Posts
    54
    Hi all,

    I had encountered this problem in Nokia E63.

    Thanks,

    Suraj
    Last edited by suraj03; 2011-10-06 at 11:12.

  4. #4
    Nokia Developer Moderator r2j7's Avatar
    Join Date
    Aug 2007
    Posts
    1,595
    Thank you Suraj for the definition on the device.

    Can you provide more information on which methods of RMS do you use for replacing the data?

    Regards,
    r2j7

  5. #5
    Regular Contributor suraj03's Avatar
    Join Date
    Jul 2011
    Posts
    54
    Hi r2j7 ,

    I use "rs.deleteRecord(temp);" method to delete each record.

    thanks,
    Suraj

  6. #6
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    My guess is that your code has a bug. At some point and in certain situation you are trying to use something which has a null value and therefore the Exception is thrown. Please debug your code more.

    Hartti

  7. #7
    Regular Contributor suraj03's Avatar
    Join Date
    Jul 2011
    Posts
    54
    hi all,

    The biggest problem is that, I am not getting this error on simulator but on real handset.

    thanks,

    Suraj

  8. #8
    Regular Contributor suraj03's Avatar
    Join Date
    Jul 2011
    Posts
    54
    hi,

    Is it because of rms corruption?

    thanks,

    suraj

  9. #9
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Hard to guess. Sorry to say this again, but you need to debug more and find out when exactly this is happening.
    Which device are you experiencing this on? Which SDK are you using?

    Hartti

Similar Threads

  1. Replies: 3
    Last Post: 2010-05-24, 16:13
  2. Strange problem "java.lang.Error 105"
    By aadipa in forum Mobile Java General
    Replies: 6
    Last Post: 2009-10-22, 09:21
  3. Replies: 5
    Last Post: 2009-08-06, 12:33
  4. An internal error occured during: "Deployment widget".
    By SymbianTH in forum Symbian Web Runtime
    Replies: 4
    Last Post: 2009-05-30, 12:54
  5. On launch: "Error within Debug UI": java.lang.reflect.InvocationTargetException
    By jplauril in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-04-25, 16:20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved