Uncaught exception: java.lang.IllegalArgumentException

I have the 8320, and every time I try and text, it wont let me and this error pops up, then i have to go into the options and go to sms and change the "network to send over" from GSM to GPRS and then back over to GSM and then save for me to be able to text, but every time my phone is turned off it resets back to the problem again. How do I fix this, I have erased the phone and reloaded it but it still doesn't fix the error.

Hi,
Yes, an Operating system reload is required.
You need the Desktop Manager,
and the OS for your handset (available from each carrier).
Then use Application Loader to install the OS to the Blackberry.
Checked out my Blackberry FAQ's and Links to Needed Articles here
http://darkeen.homelinux.com/index.php/Blackberryfaq

Similar Messages

  • Uncaught exception java.lang.ArrayIndexOutOfBoundsException in J2ME

    hi all,
    i found a strange error (uncaught exception java.lang.ArrayIndexOutOfBoundsException) every time when i tried to developed a MIDlet and servlet to retrieve data from database. can anyone tell me why this error occur? this is example of MIDlet code:
    public void checkResult() {
    HttpConnection conn = null;
    InputStream is = null;
    OutputStream os = null;
    byte[] receivedData = null;
    String userid = "123";
    try {
    String url = getAppProperty("Result.URL");
    conn = (HttpConnection)Connector.open(url);
         byte postData [] = ("userid=" + userid).getBytes();
    conn.setRequestMethod(HttpConnection.POST);
    conn.setRequestProperty("User-Agent", "Profile/MIDP-1.0 Configuration/CLDC-1.0");
    conn.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
         conn.setRequestProperty ( "Content-Length", Integer.toString (postData.length));
    conn.setRequestProperty("Connection", "close" );
    conn.setRequestProperty("Content-length",Integer.toString(postData.length));
         os = conn.openOutputStream();
         os.write(postData);
         os.close();
         is = conn.openInputStream();
         String contentType = conn.getType();
    int len = (int)conn.getLength();
    if (len > 0)
    receivedData = new byte[len];
    int nb = is.read(receivedData);
    else
    receivedData = new byte[1024];
    int ch;
    len = 0;
    while ((ch = is.read()) != -1)
    receivedData[len++] = (byte)ch;
    response.setText(new String(receivedData,0,len));
    display.setCurrent(outputForm);
    catch (IOException e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    finally {
    try {
    if (is != null) {
    is.close();
    if (os != null) {
    os.close();
    if (conn != null) {
    conn.close();
    catch (IOException e) {
    from alice

    That would be a point where I miss bounds checking on your part:
    receivedData = new byte[1024];
    int ch;
    len = 0;
    while ((ch = is.read()) != -1)
    receivedData[len++] = (byte)ch; // what happens if more than 1024 characters come along??
    }Otherwise the exact line of error, the stack trace or some context would be helpful.

  • Dynamic Configuration Error:  Exception:[java.lang.IllegalArgumentException

    Hi All,
    I am using dynamic configuration to put a string to the message header. i have created a tilde delimited string with the length more than 200(length=928). During mapping i am using dynamic configuration to put this in SOAP header. But everytime i execute scenario i get an error:
    "com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-field mapping; root message: Exception:[java.lang.IllegalArgumentException: Value is too long (928/200): "
    Is there a limit to the length of the string that can be placed in the dynamic configuration ?
    Please help.
    Regards,
    Meenakshi Pradhan

    meenakshipradhan wrote:>
    > "com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-field mapping; root message: Exception:[java.lang.IllegalArgumentException: Value is too long (928/200): "
    >
    I think the above error does say about that..!! Try putting data like 201 chars and the 200 chars, then see what happens.
    VJ

  • Exception:[java.lang.IllegalArgumentException: Cannot cast 02 to boolean]

    Hi Friends,
    I am facing a issue in mapping. My scenario is IDOC to JDBC.
    I have done mapping in the give below way.
    If segment1 and segment2 both exists and attyp(field of segment1) is equal to '00' or '01' then segment1 replicate into table.
    I am facing a error while testing the mapping is:
    RuntimeException in Message-Mapping transformation: Exception:[java.lang.IllegalArgumentException: Cannot cast 02 to boolean] in class com.sap.aii.mappingtool.flib3.Bool method or[02, 01, com.sap.aii.mappingtool.tf3.rt.Context@459926e5]
    Kindly suggest me on this.
    Regards,
    Narendra Goyal

    My Mapping in such a way:
                              01      attyp
                                \          \               segment1
                                or   -  equals           \
                                 /          \                then
                               02         and   -    if              ->       Table
    segment1 - exists   \      /                 else
                                  and                      /
    segmen2 - exists   /             some more condition

  • 8350i uncaught exception java.lang.NullPointerException after hard reset

    basic info:
    8350i
    v4.6.1.204 (Platform 3.0.0.73)
    Desktop Manager 4.7
    everything is good except that i've been using two batteries, one in the phone and one in a charger. when the phone's battery is almost drained i swap it with the charged one which of course causes a hard reset.
    this procedure was working well for at least a week or two until last month when i swapped batteries - after the hard reset i got
    uncaught exception: java.lang.NullPointerException
    i could make calls but all other software seemed corrupted... virtually nothing else worked... icons missing etc.
    tried all sorts of solutions but the only thing that fixed it was a full on device software erase/reload, then a data restore from previous backup. at the time i figured it was just a random thing and was glad to learn how to do a complete software reload.
    then yesterday it happened again (again, immediately at the end of the security check after hard reset). now i'm afraid to swap batteries because it would appear that every time i hard reset there is a 10% (my guess) chance of software corruption and a complete reload takes a significant amount of time.
    has anybody else noticed this? does anybody have a solution?
    can i swap batteries without a hard reset; i.e. swap while plugged into power? i haven't tried this yet for fear of causing my BB harm.
    any help is appreciated,
    john d.
    Solved!
    Go to Solution.

    Hello, John.
    Make selective backup as it is described here:
    http://supportforums.blackberry.com/rim/board/message?board.id=8100&view=by_date_ascending&message.i...
    Backup only information that you need.
    There is described the purpose of every database you can observe when you're doing the selective backup:
    http://www.blackberry.com/btsc/KB03974
    When you have done selective backup do the following.
    On your device go to: Options - Security Options - General Settings
    Open menu and select "Wipe handheld"

  • JDeveloper design-time exception (java.lang.IllegalArgumentException)

    Using JDev 11.1.1.3; to speed up the chart renders in pages, we've switched the chart from dynamic-size to fixed-size which brings the chart in 1 - 2 seconds quicker which is good, but in order to continue supporting expand/reduce functionality (requested by user via af:commandImageLink press) the width on the chart is set via EL or managed-bean. Either way, now when we load up the page in JDeveloper we get ...
    13/09/2010 4:27:19 PM oracle.adfinternal.view.faces.bi.renderkit.imageView.ImageViewRenderer
    WARNING: Exception in parsing the inlineStyle.
    java.lang.IllegalArgumentException: Invalid length: #{viewScope.AdminActivity.trend1Width}
         at oracle.adfinternal.view.faces.bi.util.CSSStyleUtils.parseLength(CSSStyleUtils.java:645)
    ... appearing in the Messages - Log view for each chart when switching the editor to Design mode.
    Is there some way to turn this off, or is it considered a bug to be fixed, or should we (despite the fact the run-time works) consider this bad design. (NB: client rates performance highly and the improvement delivered here important).
    Thanks,

    Hi,
    exception:java.lang.IllegalArgumentException.1 .This means that u passed an illegal or inappropriate argument to some method.
    page first loads then the error appears, if I go to
    next page and come back to the initial page, then the
    applet works!2. This means that the value of the argument u are passing changes between init,start,stop of the Applets methods.
    3.So u should be checking the values of the arg are passing .
    Hope it helps
    Cheers!

  • The technique to solving Uncaught exception: java.lang.Error (and probably many like it too)

    It was a blessing in disguise that the above error came about or else I wouldn't have taken the effort to find a solution. At first, I tried to delete several apps, do a hard reboot several variations but it still wouldn't go. Then I thought of downgrading the OS back to the default version so that made me give the Blackberry Desktop Manager a try. Linking handphone to notebook, it was only then I found out an updated version was available so immediately I decided to update since the jump from version 5 to 6 was worth it. After the corrupted version was wiped out being replaced by a newer one, my problem was solved!
    ubuntu: Linux for human beings

    poppi2000 wrote:
    Hi,
    After downloading the twitter app the following shows when I try to open it.
    uncaught exception: Java.lang.Error
    Does anyone know what it means and how to fix it.
    Thanks!
    Hi 
    1. Try to remove the batteries first reboot that will clear the application error
    2. Also try uninstalling the last application you installed before the error appears and reboot / unplug the battery. You can reinstall these applications later.
    3. If it still errors, you can wipe your handheld to clear / delete all the applications and reinstall the application required. How to delete all data and applications from the BlackBerry smartphone using the Security Wipe optio...
    4. The final solution is to reinstall OS or all OS upgrade to the latest version. How to update or reinstall BlackBerry Device Software using BlackBerry Desktop Software
    Please thank those who help you by clicking the button.
    If your issue has been solved, please resolve it by marking "Accept as Solution"

  • Uncaught exception: java.lang.​ArrayStore​Exception

    I recently started getting the subject message each time I reboot my phone. I attached part of the Event Log, below, that may help identify the software activity at the time the exception occurred. The problem started some time after I upgraded several apps (listed below). I have tried deleting those apps and then reinstalling them one at a time and in different order. Those apps apparently do not directly cause the exception.
    I would appreciate any insights, suggestions, etc. I would like to try to rectify the issue without resorting to wiping my device and then reinstalling firmware, software, and databases.
    Thank you.
    Recent upgrades:
    BB App World: 4.0.0.65
    BB ID: 6.3.0.14
    BB Messenger: 7.0.0.126
    Twitter: 4.0.0.15
    Phone OS (since Sept 2012):
    OS: 6.0.0.747
    Platform: 6.6.0.247
    guid:0xA9D098450BA333E9 time: Fri Dec 21 07:17:33 2012  severity:0 type:2 app:HomeScreen App data:HomeScreen registerAction net_rim_bb_appworld.AppWorld
    guid:0xA9D098450BA333E9 time: Fri Dec 21 07:17:33 2012  severity:0 type:2 app:HomeScreen App data:HomeScreen registerAction net_rim_bb_phone_app.Voicemail
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:33 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data:Freg   3496565495017856138   9008
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data:Freg   4245256458327981580   9008
    guid:0xDDA0BC913B6AAEEC time: Fri Dec 21 07:17:34 2012  severity:0 type:2 apphoneApp data:PHONE-ons=null
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data:ICrg   9008   4294967306
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data:ICrg   9008   4294967305
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data:ICrg   9008   4295032841
    guid:0xBA21D3682F165617 time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rimlib.paymentsdk.internal.contentHandler.​DefaultConten data:Payment daemon was successfully shutdown.
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data:ICrg   9008   4295098376
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data:MIrg   9008   4294967306
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data:MIrg   9008   4294967306
    guid:0x97C9F5F641D25E5F time: Fri Dec 21 07:17:34 2012  severity:0 type:2 appystem data:cphs   0
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:34 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data:MIrg   9008   4294967305
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:35 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data:MIrg   9008   4294967305
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:35 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data:MIrg   9008   4295032841
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:35 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data:MIrg   9008   4295032841
    guid:0x8BB565DA9AFEB62B time: Fri Dec 21 07:17:35 2012  severity:4 type:2 app:net.rim.blackberry.api.messagelist data:MIrg   9008   4295098376
    guid:0x427397A2FBEABF07 time: Fri Dec 21 07:17:35 2012  severity:0 type:2 app:net.rim.ribbon.systemstatus data:New text:null
    guid:0xDDA0BC913B6AAEEC time: Fri Dec 21 07:17:36 2012  severity:0 type:2 apphoneApp data:PHONE-ons=null
    guid:0xDDA0BC913B6AAEEC time: Fri Dec 21 07:17:36 2012  severity:0 type:2 apphoneApp data:ACS Portrait
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 27
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 26
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 25
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 24
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 23
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 22
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 21
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 20
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 19
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 18
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 17
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 16
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 15
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 14
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 13
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 12
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 11
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 10
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 9
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 8
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 7
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 6
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:37 2012  severity:0 type:2 app:UI data:NPWE RibbonLauncherApp@8c8b99e8 5
    guid:0xDDA0BC913B6AAEEC time: Fri Dec 21 07:17:38 2012  severity:0 type:2 apphoneApp data:PHONE-ons=null
    guid:0xC31770293597F1DE time: Fri Dec 21 07:17:38 2012  severity:0 type:2 app:USF data:USF[ (COM) Help - 11373ms (11.373s ) ]
    guid:0xA9D098450BA333E9 time: Fri Dec 21 07:17:39 2012  severity:0 type:2 app:HomeScreen App data:TraceBackMessage: Uncaught exception: java.lang.ArrayStoreException
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:39 2012  severity:0 type:2 app:UI data:GS+Q2 6c66464enet.rim.device.internal.ui.component.Trace​BackDialog
    guid:0xA9D098450BA333E9 time: Fri Dec 21 07:17:39 2012  severity:0 type:2 app:HomeScreen App data:TraceBackMessage: Uncaught exception: java.lang.ArrayStoreException
    guid:0xBEF92E11214401C3 time: Fri Dec 21 07:17:39 2012  severity:0 type:2 app:UI data:GS+Q2 a95e1259net.rim.device.internal.ui.component.Trace​BackDialog
    guid:0x97C9F5F641D25E5F time: Fri Dec 21 07:17:39 2012  severity:0 type:2 appystem data:AMOS com_emacberry_FileScout(216)
    guid:0xC1A90F9B4F904C57 time: Fri Dec 21 07:17:39 2012  severity:5 type:2 app:App Perms data:d com_emacberry_FileScout:13
    guid:0xC1A90F9B4F904C57 time: Fri Dec 21 07:17:39 2012  severity:5 type:2 app:App Perms data:d com_emacberry_FileScout:29
    guid:0xC1A90F9B4F904C57 time: Fri Dec 21 07:17:39 2012  severity:5 type:2 app:App Perms data:d com_emacberry_FileScout:34
    guid:0xA9D098450BA333E9 time: Fri Dec 21 07:17:40 2012  severity:0 type:2 app:HomeScreen App data:HomeScreen registerAction net_rim_bb_qm_msn.Windows Live Messenger

    Hello!
    Given your description, I fear you have no choice but the drastic measure you dislike...if something has introduced OS level corruption, then nothing less will cure that. You may want to try this procedure to perhaps narrow down the precise causal item:
    Load your OS "bare bones"...if anything is optional, do not install it.
    If the behavior presents immediately, then try a different OS with step 1
    If the behavior does not immediately present, then run for as long as it takes for you to be sure that the behavior will not present.
    Add one thing -- no matter how tempting, just one.
    If the behavior does not present immediately, then again run for long enough to be sure it will not have the same problem
    Repeat steps 4 and 5 until all things are loaded or the behavior presents
    When the behavior presents, you know the culprit...the last thing you loaded.
    If the behavior does not re-present, then you know that either step 1 or 2 cured it.
    If the behavior presents no matter what, then you likely have a hardware level issue for which no amount of OS or software can cure.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Uncaught exception: java.lang.​NoClass DefFoundEr​ror ror

    Hello I am running on the bb bold 9700. I have os 5. Ever since the latest update on the blackberry app world, it has not worked properly. First off it did not even show. I looked under the applications and I deleted it from there, then reinstalled it. Once I restarted my bb, the error came up with Uncaught exception: java.lang.NoClass DefFoundError. Then I still did not see app world again. Any ideas what there is to do?

    I have exactly the same problem in exactly the same circumstances.   Can anyone please help??

  • 8700F Uncaught exception:java.lang.NullPointerException

    Uncaught exception:java.lang.NullPointerException
    It says that when I tried to go internet . ANy advice?

    Also when I hook BB to my CPU  Vista said its installed but I cant locate the BB files? Do I have to download anything?

  • BB not communicating with computer & an"Uncaught exception: java.lang.NullPointerException" issue

    I am stuck between a rock & a hard place.  I would really like some advice that will prevent me from losing all of my contacts data.
    Firstly, I have not backed up any of my data from my BB!  I have now very quickly tried to rectify this today, uploading the software and downing loading all updates.
    I have some corruption or other on the BB that has caused me to lose 4 of my 5 email accounts and also unable to access the unread emails in the remaining account or text/call out.
    One of the messages that I get on the BB is Uncaught exception: java.lang.NullPointerException (the other is longer and I cannot remember what it said, but it was similar).
    I have read that I need to backup, wipe then restore to get rid of the corruption.  My problem is that I cannot back up therefore if I go ahead and clean the BB then I will lose all of my data?
    Is there any way I can transfer the data to my SIM card - it isn't a lot at all, maybe 100 contacts............
    Looking forward to a solution, have spent all day mucking around with troublesome technology - when I had so many more important things to do......
    Thanks in anticipation.

    Hi and Welcome to the Forums!
    Reloading your OS is best done via this procedure:
    http://supportforums.blackberry.com/t5/BlackBerry-Device-Software/How-To-Reload-Your-Operating-Syste...
    You can use any OS...you are not limited to your carriers. If you do use an OS from other than your home carrier, then insert, between steps 1 and 2 in the above, the deletion, on your PC, of a file named VENDOR.XML.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Uncaught exception: java.lang.Error: 137 in JavaFX

    Hi
    I am getting the error mentioned in subject while trying to Run a JavaFX application "Run in Mobile Emulator" mode. I am trying to use split() to separate concatenated String. The code snippet is given below :
    *onMouseClicked: function(e : MouseEvent) : Void {*       
    println("Inside on Mouse Clicked...");
    var sample = "Sherlyn|masrrev|Other";
    var names = sample.split("\\|");
    *println("{names.toString()}");*
    The error that I get is pasted below:
    *Inside on Mouse Clicked...*
    *Uncaught exception: java.lang.Error: 137*
    *- testsplit.Main$2.lambda(), bci=43*
    *- testsplit.Main$2.invoke(), bci=2*
    *- testsplit.Main$2.invoke(), bci=5*
    *- javafx.scene.Node.mouseClicked$impl(), bci=68*
    *- javafx.scene.Node.mouseClicked(), bci=3*
    *- com.sun.fxme.runtime.FXNodeDelegate$4.run(), bci=6*
    *- com.sun.fxme.runtime.RunnableQueue$Manager.run(), bci=86*
    *- com.sun.fxme.runtime.RunnableQueue.run(), bci=38*
    testsplit is the Javafx project created in Netbeans.
    However the same application executes without any error when run in "Standard Execution" and "Run in Browser" mode. I am using Netbeans --> right click on the project --> Properties --> In Project Properties Window choose --> Run --> Standard Execution. or --? Run in Browser.
    Is it that split() is not supported by Mobile Emulator? Please do get back to me if anybody has any answer to this.
    Thanks in advance..
    masrrev

    I don't have NetBeans, so I can't answer for sure.
    I had to [read a bit|http://developers.sun.com/mobility/personal/articles/pbp_pp/] on differences between profiles, in particular [between CDC and CLDC|http://www.java-tips.org/java-me-tips/midp/what-are-cdc-and-cldc.html]. Apparently StringTokenizer belongs to CDC, which is available only to high end mobile devices. If I look at [Semsung phones' Device Specifications|http://developer.samsungmobile.com/Developer/index.jsp], most of them, for example, support only CLDC 1.1 with MIDP 2.0.
    On the other hand, [MIDP 2.0|http://java.sun.com/javame/reference/apis/jsr118/] seems to have even less classes & interfaces than you show, so it is confusing.
    Here is the dumbest method, doing all the work by hand. Not properly tested due to lack of time (check with separator at end, at start, consecutive, no separators...):
    function SplitCLDC(string: String, separator: String): String[]
      var parts: String[];
      var prevPos = 0;
      while (true)
        var pos = string.indexOf(separator, prevPos);
        if (pos < 0)
          var lastPart = string.substring(prevPos);
          insert lastPart into parts;
          break;
        var part = string.substring(prevPos, pos);
        prevPos = pos + 1;
        insert part into parts;
      return parts;
    }

  • BB 8800 gives error "uncaught exception: java.lang.​ClassCastE​xception"

    Hi,
    after connecting the 8800 via bluetooth with the new RNS310 radio in my car the 8800 shows the error message "uncaught exception: java.lang.ClassCastException" when the RNS310 tries to access the phone book and to download it to the radio-internal phone book. The option for the bluetooth connection in the 8800 is set to
    - not "visible",
    - address book transfer "all entries",
    The event log shows the folllowing entries:
    guid:0x9C3CD62E3320B498 timeUTC) Wed Aug 10 17:28:53 2011  severity:1 type:3 app:Java Exception data:
     ClassCastException
     No detail message
     net_rim_bluetooth
      BluetoothDeviceManagerImpl
      getAddressCards
      0x1C68
     net_rim_bluetooth
      PBAPServer
      <private>
      0xA270
     net_rim_bluetooth
      PBAPServer
      <private>
      0xA650
     net_rim_bluetooth
      PBAPServer
      onGet
      0x9EAA
     net_rim_bluetooth-1
      OBEXServerSession
      handleNextRequest
      0x29E1
     net_rim_bluetooth-1
      OBEXServerSession
      run
      0x2769
     net_rim_cldc-1
      Thread
      run
      0xB767
    Is there any possibility to update the 8800 software / firmware to get rid of the error? I always have to disconnect the battery and restart.

    There is a loader.exe tool located in C:\Program Files\Common Files\Research In Motion\AppLoader (or if you are using a 64 bit C:\Program Files (X86)\Common Files\Research In Motion\AppLoader
    Remove the battery from your BlackBerry and launch the Loader tool. You will see either USB PIN: Unknown or your actual device PIN.
    As the loading process starts, there will be a list of steps to be completed in the loading process. One of those steps listed will say "Wait for Device Initialization". When you see the arrow get to this steps, reinsert your battery.
    If you still get the same error, let me know and we will investigate further from there.
    Good luck!
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • App World Error! Uncaught exception: java.lang.OutOfMemoryError

    Hello there!
    I downloaded the new updated version of App World. The installation went perfect. When I went to go into my appworld, I get this error: " Uncaught exception: java.lang.OutOfMemoryError"
    It won't even open up App World at all! I've tried pulling the battery, I've uninstalled and reinstalled...and nothing has worked!
    Please help!!!
    Oh! I have a Curve 9300 and the carrier is Telus

    I would suggest performing a backup of your BlackBerry smartphone then reloading the software as shown in the article below:
    KB11320 - How to perform a clean reload of the BlackBerry Device Software using BlackBerry Desktop M...
    Thanks
    -CptS
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • App world is showing this error "Uncaught exception: java.lang.NoClassDefFound Error"

    Few days back I received some App world updates through wireless network. After installing those updates and restarting mobile when I clicked on App world icon following error is being displayed "Uncaught exception: java.lang.NoClassDefFound Error". In fact I can't enter into appworld.
    Please suggest remedy
    Regards,
    Hitendra SIngh

    Hello hitmech07,
    Go to www.blackberry.com/appworld on your BlackBerry smartphone browser and attempt to reinstall the appliction.
    Cheers,
    -FB
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click "Accept as a Solution" for posts that have solved your issue(s)!

Maybe you are looking for

  • Reusing Time Machine from an external hard drive

    Since now I've read a lot of discussion to solve this issue but I cannot understand how to proceed. My situation is the following. I've replaced my old HDD with a SSD. I performed a clean install of ML 10.8.3 without the support of Migration Assistan

  • How to create frameless QT movies?

    How do you create frameless movies like the new Mac Ad ilife_642x362.mov? I notice it also has a small subtle start button in the lower right corner. The only difference I could spot from the other 5 was that it was made with LiveStage Pro. This is h

  • Multi SSID problem, not work

    hi I bought a Cisco WRVS4400n to use with different vlan and ssid, I use a Cisco Catalyst behind my new WRV, on sigle ssid mode and without Vlans configured, worked perfectly, but, on trunking mode with multi ssid on different vlans ( to use public a

  • Keep getting kicked out of my iPad 2 apps back to the home screen!

    When using my iPad 2 no matter what app I'm using it will just kick me back to the home screen! Sometimes, right away sometimes after 5 to 10 minutes! Please help. If it matters I bought it boxing day.

  • A question about clip size....

    This might be one of those REALLY stupid questions, but I've not seen anything about it in this forum..... First off, I have an iMac G5, with iLife 04. I've had decent luck with iMovie, but now I have a challenge. I'm a musician, and recently, an aud