Deployment of OTA: multiple COD in a single JAD: NullPointer Exception

Hi all

I am trying to install application OTA. I managed to install for a single cod by changing JAD to point to the URL of the server. However, in my application, there are several files of COD and I want them all to be installed once. Therefore, based on the Knowledge Base Article I added

RIM-COD-URL-n: >

RIM-COD-size-n: >

for all COD in single JAD files. Since I'm on signed code I updated param of size with the new file size of cod also.

When I point to this URL of file JAD I get HTTP 500 error and watch details be java.lang.NullPointerException.

Also I've added the project dependency while RIM-COD-Module-dependencies, although I tried without modification as well.

Here's my full JAD file... I would like to know if I missed something...

Manifest-Version: 1.0
RIM-COD-Module-Name: SosAlert
RIM-COD-Module-Dependencies: net_rim_cldc,net_rim_locationapi,Objects,ApplicationServices,net_rim_xml
MIDlet-Jar-Size: 2071
MIDlet-1: ,,
RIM-COD-Creation-Time: 1216305305
MIDlet-Jar-URL: SosAlert.jar
RIM-COD-URL-1: http://serverip/temp/ExternalJarsLib.cod
RIM-COD-Size-1: 33904
RIM-COD-URL-2: http://serverip/temp/Objects.cod
RIM-COD-Size-2: 6840
RIM-COD-URL-3: http://serverip/temp/ApplicationServices.cod
RIM-COD-Size-3: 4536
RIM-COD-URL: http://serverip/temp/SosAlert.cod
RIM-COD-Size: 3716
MicroEdition-Configuration: CLDC-1.1
MIDlet-Version: 0.0
MIDlet-Name: SosAlert
MIDlet-Vendor: 
MicroEdition-Profile: MIDP-2.0
RIM-MIDlet-Flags-1: 0

Thanks adavance.

You shouldn't list your individial modules in the section of RIM-COD-Module dependencies.  Here are a few questions that might help:

1. one of your folders of cod are in fact several cod (app.cod to app.zip fame and trying to extract).  If they are each extracted cod should be included as separate RIM-COD-URL/size-N in the jad.

2. is the configuration of your server with the correct mime types?  The mimetype to a jad should be text/vnd.sun.j2me.app-descriptor and the mimetype for cod should be application/vnd.rim.cod

3. Once you get the NullPointerException check your event log by clicking on the home screen and pressing Alt-LGLG.  There may be an entry in the "BOLD" which refers to the NullPointerException and a stack trace.  This can give us an idea as to why this is happening.

4. try the Simulator and see if the output of the Simulator has nothing relevant.

Also, let us know what jde you build with and which model of device/OS you are using when you receive these errors.

Tags: BlackBerry Developers

Similar Questions

  • Deploy multiple files of cod with a single jad file

    I am developing two applications, A and B, I want to deploy the web as a single package; the desired user experience, it is that the user click on a single link and the two applications is installed.

    I have a file of the cod and cod file B, and I want a link that points to a single jad file to install these files to cod.  What lines I need, at least, in the jad file to make this work?

    Keoki Zee

    See the development Guide.  4.3, 4.5 and 4.6 versions, magazine "Modify information in a .jad file", in the section "Distributing BlackBerry Java via the wireless network Applications" chapter "packaging and distribution of Java BlackBerry Applications.

    Note You can also do it by hand if you want.  Basically, everything you do adds the following lines to the jad for each cod

    RIM-COD-URL-n: .cod
    RIM-COD-size-n:

  • Code example for single asynchronous reading of multiple waveforms

    Hello

    I looked around but have not been able to find the code example for single asynchronous reading of multiple waveforms.  Could someone point me in the right direction?

    Thank you

    Dale

    Hi Dale,

    Have you looked at the code using .NET Framework DAQmx example? It shows this code:

    class DAQmxAsyncRead
    {
    private AnalogSingleChannelReader reader = null;

    public DAQmxAsyncRead (task t)
    {
    Create the drive
    Reader = new AnalogSingleChannelReader (t.Stream);
    Acquire 100 samples
    Handful of IAsyncResult = reader. BeginReadMultiSample (100, New AsyncCallback (OnDataReady), null);
    }

    Public Sub OnDataReady (IAsyncResult i)
    {
    Recover data that has been read.
    At this point, all that occurred during the asynchronous read exceptions are thrown
    Double data = reader. EndReadMultiSample (i);

    You can call the method BeginReadMultiSample here once again
    }
    }

    In addition, this article: http://digital.ni.com/public.nsf/allkb/485201B647950BF886257537006CEB89?OpenDocument talk about different causes of the reserved resource error.

    Kind regards

    Alexandra Valiton

  • Track of multiple graphs on a single diagram of waveform with dynamic data types

    I'm putting multiple charts on a single diagram of waveform and data contract error. I was wondering if it has something to do with the fact that the dynamic data is used (I have had no problem with other types of data in the past). Does anyone know how to fix this? I have attached the following .VI. There will be a lot of. Live on the bottom which does not load, but they are not related to this problem.

    Thank you!

    Brian

    I don't know what you're doing now, but a part of your origianl code is simply ridiculous. Your DAQ assistant takes a single point. You convert that into an array. If you had converted into a scalar value (which is) first place, your graphics update would have been fine.

    If you want to remove the DAQ Assistant, and then select generate DAQmx code. You'll be a little more closely, but it seems that it generates a NChan DAQmx Read 1Samp instead of a 1Chan 1Samp DAQmx read.

  • multiple cod files appear at signing - app installs

    Hello.

    As shown in the picture below, when I connect my BB app, multiple cod files appear. I would like to know how I can remove additional cod files, since I'm not able to install the application to all the

    any help will be appreciated

    When you perform an OTA you must copy created cod and change the zip extension. Extract the cod shipped and download those individual on the server with the jad download.

  • How to put multiple classes in a single file?

    Hello

    I would like to put multiple classes in a single file. (This would be useful for grouping children who are minor extensions of the parent classes or helper classes that are used by a class only).

    When I tried to combine two classes in a file, I got this error message:
    5006: an ActionScript file cannot have several definitions visible from the outside: Notation.editField, Notation.labelField1

    It is the structure I used. Thanks in advance for your help.

    You can declare multiple classes in a single file, but only one can be
    in the package declaration. All statements outside the package class
    are invisible to code outside the file.

    sample package
    {
    public class SampleClass
    {
    }
    }

    class SampleClassHelper
    {
    }
    class SampleClassHelper2
    {
    }

  • Manually to scan multiple Pages into a single PDF file.

    Gentlemen:

    My gear - 4620 HP all-in-One.

    Problem:

    I prefer to scan multiple pages into a single PDF file and save them on the hard drive manually.

    The ADF is twisting the pages that are saved in the PDF file.

    Please notify.  An upgrade of the software will be available for manual use set up of the

    pages on the glass?

    No other problems with the HP 4620.  I use Windows 7, 64 bit.

    Just reply to your convenience.

    PDF4ME

    PDF4ME,

    Watch it again once and document Scanning how-to - for Windows 7, I don't see that Preview Scan must be turned on to scan several pages.

    You can check again to see if you can get this works by following the instructions in the document.

    HP Officejet 4620 e-all-in-one printer support - scanning - Windows 7

    Click on the thumbs-up Bravo !

    It's a nice way of saying 'Thank you' for help.

    While I strive to reflect best practices of HP, I do not work for HP.

  • HP Deskjet 2540: Cannot scan multiple pages into a single PDF for printer Deskjet 2540 Windows 10

    I'm scanning several pages (5) in a single document.  I followed the instructions in the other answers to the questions - I chose the type of pdf file, I chose a less than 300 DPI resolution (I use the default value of 200 dpi), and I clicked on Preview (and not scan).  However, there was no option 'Add' page when you preview is posted.

    I don't know that I've scanned multiple pages in a single document, following the intructions of same, before moving on to Windows 10.  It is no longer possible with Windows 10?

    Thank you.

    Is this program, the program of HP that was loaded with the drivers and full software?

    You should have something like this with a sign at the 07:00 position.

  • How to get the date of deployment for the RT code?

    I'm using LabVIEW 8.5 and MAX 4.4.1f0 and cFP-2110. I want back the date of the deployment. Is it possible to recover the date of deployment for the RT code?

    Thank you

    Martine

    Hi John,.

    You must be able to FTP into your PSC 2110 from a Windows Explorer window and check the date of 'Change' of the startup.rtexe/or-rt/startup folder.

    Aaron P

    National Instruments

    Technical sales engineer

    http://www.NI.com/support

  • HP5610xi: Using a HP 5610xi, how can I scan multiple pages into a single file?

    Using a HP 5610xi, how can I scan multiple pages into a single file?

    Hello

    Thank you for using the HP Forums.

    Can try this software:

    HP extended Scan

    FTP://FTP.HP.com/pub/scanners/HPScanExt/HPScanExt.msi

    Once it has downloaded and installed, go to start > all programs > HP > HP Scan extended > Run "HP Scan extended.

    This relevant resource will show you how to scan multiple pages into a single file:

    HP Officejet Pro 6960 series: scan a document of 6 pages 2 sides using the ADF

    Let us know if it works!

  • HP Envy 4502: Scanning of multiple Documents in a single file on Mac OS 10.6/HP Envy 4502

    Can figure out how to scan multiple documents in a single file. I looked at the previous questions and answers, but I don't see a menu drop-down, click on when I select PDF. Have no idea how to proceed.

    Hi @JaneDeere,

    Welcome to the HP Forums!

    I noticed that you are trying to scan multiple documents in a single file on Mac OS 10.6/HP Envy 4502. I'm happy to discuss this issue for you!

    Please, try the steps in this guide, How to scan (OS X 10.6). Choose Scan with HP software, scroll and select, how to scan an original of several page in one file, and follow the instructions.

    I hope this is the answer you are looking for!

    "Please click the Thumbs up icon below to thank me for having responded."

  • scanning multiple pages to the single PDF using HP ENVY 4500

    The guide says scan of the computer (as opposed to scanning from printer).  I do that and still can't scan multiple pages into a single PDF file.  Is it still possible?

    Hi griff0530,

    I understand that you want to scan multipage documents into a single .pdf file using your HP Envy 4500, yes it is quite possible.  When you use the HP software on your computer, follow the steps below:

    1. loading the document.

    2. click on scan . An overview of the analysis is displayed (by default).

    Important : the Preview Scan function must be enabled for scan multiple pages into one file documents. Additional pages from the original are added for the single file in the Scan preview window.

    3. in the scan preview is displayed, do one of the following actions:

    Click the sign Plus () on the left side of the window to scan additional pages. If you do not use an ADF, you must load the next page of the document on the glass of the scanner to add to each additional page.

    4. click on Save to capture the scanned file, but leave open the HP Scan.

    5. click on done to capture the scanned file and close HP Scan.

    I found this great information here: how Scan: Windows 7

    If you are using any other operating system, it's ok the same steps apply. I hope that's what need you!

    Thank you

  • How do I? Scan multiple pages into a single document

    How to scan multiple pages into a single document?

    If you let us know the scanner you are using as well as the name of the software, it would be easy to suggest the measures.

    See the following links for the procedure:

    http://support.HP.com/us-en/document/c01282192

    http://support.HP.com/us-en/document/nps05123

    http://support.HP.com/us-en/document/bps03330

  • HP Envy 4501: Scanning multiple pages in a single document

    I'm trying to scan multiple pages into a single document.  I use an all-in-one HP Envy 4501 and 8.1 of Windows running.  I used to be able to do this at some point, but for some reason, lately I'm not able to.  I read the other posts that spoke of a sign "+" on the left side of the screen, but it isn't there for me.  Also, I can not just save the page and scan the other without having to save them in different files.  Please notify.

    Hello

    The HP software click on scan a Document or Photo and make sure that Scan to sow preview is checked.

    Reduce scanning in 300 resolution or a lower resolution and press Scan, then the Add button should reappear.

    Shlomi

  • Scan multiple pages to a single PDF on a Deskjet F4280

    I have a problem of how to scan multiple pages to a single pdf document using the Deskjet F4280. Help please...

    Please click on the following link

    http://support.HP.com/us-en/document/c01282192

    Hope this helps you.

Maybe you are looking for

  • Outlook Express mail is no longer can be transmitted to another account

    Verizon is my server for Outlook Express. I have had my emails transferred from Outlook Express to an account hotmail for months. Transfer somehow arrested last month. I tried to re - edit my information to redirect email Outlook Express for hotmail,

  • Severe warning message

    Try to install reinstall HP Quickplay in the pack of web service and I get a warning dialog box that says "severe: installation will be completed in that time." The software is for Windows Vista only. »... I use a computer Windows Vista Home Premium,

  • You just bought a pavilion. It acts like it has a screen saver set to start every 2 seconds

    When I try to type in a search or the username or the password. It's the same as my screen background image and covers Im typing on screen.  If I move the mouse, the info is displayed again.  But the image appears several times, as Im trying to type.

  • 5 XW6200 beeps even if mboard replaced!

    I have a HP XW6200 that gives me 5 beeps to the power upward. Also 5 red flashes. The beeps and lights repeating to infinity. The boot doesn't get far enough to display anything on the screen. I am an experienced hardware engineer, but this problem i

  • Extension BasicEditField

    Hello I want to create my own implementation of BasicEditField which will limit the number of characters entered. In short, I want to just set up a way to set the maxLength. I am currently inside the keyChar (.), counting the number of characters and