ToolBarMenuButton.AddMenuItem (ApplicationMenuItem) survey java.lang.Error

ApplicationMenuItemRepository.getInstance () .addMenuItem (ApplicationMenuItemRepository.MENUITEM_SYSTEM, applicationmenuitem)

It shows an error: "Eception exception: Java.lang.Error.

The exception cannot be caught and does not appear in the debugger, only on the phone.  It happens once ToolBarMenuButton.AddMenuItem calls toString in the ApplicationMenuItem, but the chain is fine - a literal.

The call stack is several levels deep within unknown methods.

Works fine in simulators and on the storm, but not on a 8330 4.5 running.

Solved.  For some reason you need PIM / permission to organizers to add the entire system menu items.  I got the module defined with this permission, but the CodeModuleGroup didn't.

They did of course difficult to debug it - he didn't throw a ControlledAccessException as it was supposed to.  Instead, he threw something that cannot yet be intercepted, which means that if users don't have the right permissions, the bombs of the app with an error that could be anything.

Checks permissions and prompting if necessary, but in the past have always had requests for assistance relating to permissions yet, so it does not always work.

Tags: BlackBerry Developers

Similar Questions

  • Smartphones blackBerry eception exception: Java.lang.Error

    Hello

    After downloading the twitter app that shows the following when I try to open it.

    Eception exception: Java.lang.Error

    Nobody knows what it means and how to fix this.

    Thank you!

    poppi2000 wrote:

    Hello

    After downloading the twitter app that shows the following when I try to open it.

    Eception exception: Java.lang.Error

    Nobody knows what it means and how to fix this.

    Thank you!

    Hello

    1. try to delete the first reboot of batteries that clears the application error

    2 also try uninstalling the last app you have installed before the error and restart / disconnect the battery. You can reinstall these applications later.

    3 if there are errors, you can clean your pocket computer to clear / delete applications and reinstall the application. How to delete all data and applications from the smart phone BlackBerry with the optio security wipe...

    4 the final solution is to reinstall the operating system or all OS upgrade to the latest version. How to update or reinstall BlackBerry Device Software using BlackBerry Desktop Software

  • Eception java.lang.error trying to create format XML string

    I am trying to create XML documents without having to build everything manually whenever I want to do this.  I created a XMLFile class to create the document.  When I try to launch my app TestFoo, I get untrapped Exception java.lang.error.  I tried kxml2, using org.w3c.dom, java XML, banging my head against the wall as to why it will not work until I finally just rolled my own simple implementation.  I always get the error!  No details are provided.  There is no stack trace.  I use the emulator 9000 "BOLD" crossing os 4.6.0 eclipse 3.4.1

    Console:

    Starting TestFooStarted TestFoo(154)Exit TestFoo(154)ErrorNo detail messageTestFoo Document  0x171TestFoo XMLFile  0x381TestFoo TestFoo  0x297TestFoo TestFoo main 0x276
    

    TestFoo.java

    import net.rim.device.api.system.Application;
    
    public class TestFoo extends Application {
    
      public static void main(String[] args) {      TestFoo foo = new TestFoo();      foo.enterEventDispatcher();   }
    
      public TestFoo() {        XMLFile xml = new XMLFile("rootNode");        xml.addProperty("myprop", "some value");      System.out.println(xml.toFormattedXMLString());       System.exit(0);   }}
    

    XMLFile.java

    public class XMLFile {   Document document;    public XMLFile(String rootElement) {      document = new Document(rootElement); }
    
      public void addProperty(String pName, String pText) {     Element elm = new Element("property");        elm.addAttribute("name", pName);      elm.setTextContent(pText);        document.appendChild(elm);    }    public String toFormattedXMLString() {     return document.toFormattedXML();    }}
    

    Element.Java

    import java.util.Enumeration;import java.util.Hashtable;import java.util.Vector;
    
    public class Element {   private Vector children;  private String name;  private String textContent;   private Hashtable attributes;
    
      public Element(String name) {     this.children = new Vector();     this.attributes = new Hashtable();        this.name = name; } public void appendChild(Element child) {      this.children.addElement(child);  } public Vector getChildren() {     return children;  } public String getName() {     return name;  } public void setName(String name) {        this.name = name; } public String getTextContent() {      return textContent;   } public void setTextContent(String textContent) {      this.textContent = textContent;   } public Hashtable getAttributes() {        return attributes;    } public boolean hasChildren() {        return (this.children.size() > 0); } public int childrenCount() {      return this.children.size();  } public String getAttributeValue(String name) {        return this.attributes.get(name).toString();  } public void addAttribute(String key, String value) {      this.attributes.put(key, value);  } public void addAttribute(String key, int value) {     addAttribute(key,Integer.toString(value));    } public void addAttribute(String key, long value) {        addAttribute(key,Long.toString(value));   } public void addAttribute(String key, boolean value) {     addAttribute(key, String.valueOf(value)); } public boolean hasAttribute(String name) {        return this.attributes.containsKey(name); } public Element getChild(int position) {       return (Element) this.children.elementAt(position);   } public Enumeration getAttributeKeys() {       return this.attributes.keys();    }}
    

    Document.Java

    import java.util.Enumeration;
    
    public class Document { private static final char _gt = '>';   private static final char _lt = '<';   private static final char _eq = '=';  private static final char _dqt = '"'; private static final char _cl = '/';  private static final char _sp = ' ';  private static final char _tab = '\t';    private static final byte[] _nl = System.getProperty("line.separator").getBytes();
    
      private Element rootNode; private StringBuffer sb;
    
      public Document(String rootName) {        this.rootNode = new Element(rootName);    } public void appendChild(Element child) {      this.rootNode.appendChild(child); } public String toFormattedXML() {      sb = new StringBuffer();      format(this.rootNode,0);      return sb.toString(); }
    
      private void format(Element node, int depth) {        writeOpenTag(node, depth);        for (int i=0;i0;i--) {            sb.append(_tab);      } }    private void writeOpenTag(Element node, int depth) {       indent(depth);        sb.append(_lt);       sb.append(node.getName());        for (Enumeration keys = node.getAttributeKeys();keys.hasMoreElements();) {            String key = keys.nextElement().toString();           sb.append(_sp).append(key);           sb.append(_eq).append(_dqt);          sb.append(node.getAttributeValue(key).toString());            sb.append(_dqt);      }    }    private void writeCloseTag(Element node, int depth) {       if (node.hasChildren()) {         sb.append(_lt).append(node.getName());        } else {          sb.append(_cl);       }     sb.append(_gt).append(_nl);    }}
    

    This line:

    private static final byte[] _nl = System.getProperty("line.separator").getBytes();
    

    is originally a NullPointerException because line.separator is not well supported. The line terminator standard for XML is CR/LF, so you can use:

    private static final byte[] _nl = { '\r', '\n' };
    
  • Eception exception: java.lang.Error

    Model BB: 9360
    OS: 7,0 Bundle 1693
    (v7.0.0.319, platform 8.0.0.391)
    Carrier: T-Mobile
    With the help of BIS
    ------------------
    Application memory: 29058608
    Current storage:
    Storage applications: 27.6 MB
    Multimedia card:
    Total: 1.8 GB
    Free: 6661,5 MB
    --------------------
    I get the error message "Eception exception: java.lang.Error" often, once the system reboots - as well reboot where the system indicates that a restart is required &, too, when there has been a reboot regular (using deReset). I recently installed app, of BBAW, "PocketDay" that generates the tgis same error when I try to launch it.
    The system of detailed view of the event is:
    Name: error
    GUID: 9c3cd62e3320b498
    Time: April 28, 2012 16:47:05
    No detail message
    net_rim_cldc (4E5413CE)
    ControlledAccess
    assertRRISignature
    0x39CD
    net_rim_cldc-11 (4E5413CE)
    Display

    0xAFCD
    pdlistlib (498F098A)
    pdlistlib

    0 x 396
    pdlistlib (498F098A)
    pdlistlib$ pdLists

    0x321D
    pdlistlib (498F098A)
    pdlistlib$ pdLists

    0x41AF
    pdlists (498D960B)
    PI

    0x66C
    pdlists (498D960B)
    PI
    main
    0 x 730

    Hello and welcome on the M1A forums!

    A few places to visit: Blackberry 101     tips & tricks

    I suggest that you remove the application of PocketDay you installed recently to AW.  Restart your device and see if that does not get rid of the error message.  Go a few days and confirm that the error remains far away.  Then you can try to reinstall the application; Perhaps the installation has been corrupted. (btw I see on the site of PocketDay all BB PocketDay products have been abandoned so maybe that is the issue.) I could not find the app in AW either.)  Let us know how it goes.

    Happy to welcome you!

  • BlackBerry Smartphones Java.lang.error

    I deleted 2 requests for my turn. After the reboot, I got an error that reads... [Untrapped exception Java.lang.error]

    Although the 2 applications is not in the list of applications, they appear on downloadswith a green arrow next to them saying they are archived to be installed at a later date. I never will not reinstall them. How can I wipe them forever? I don't want to see icons

    THX

    Uncaught exceptions are essentially the final 'out' in programming... code an event that has happened for which there is no instruction in the program to deal with, then it falls out of the code string. The only solution is to have the programming code to handle the situation... which means the original code to be written to handle the event, tested and released to businesses and carriers to test and certify and communicate to their user base. The only solution is therefore, at our level is so of course we are on most recently certified code of our carriers. But this nature will not stop mistakes... they will continue randomly, like errors in all computer peripherals.

  • BlackBerry smartphones this message after each reset "Eception exception: java.lang.Error.

    Hello

    Because I deleted some languages on my BB, and I kept the French, German and English language, after each reboot (after an update via BB Desktop Manager for example), I received this message:

    "Eception exception: java.lang.Error.

    I select 'OK' and that's all, but I want to solve this problem...

    Thank you.

    Hello!

    If you get this reliable error, then it is very likely that something in your OS device is damaged. This type of error is the "final" in the programming code - an event has happened for which there is no event handler in the code. I suggest to try two things (in order):

    (1) whenever random strange behaviors creep, the first thing to do is a battery pop reboot. With power ON, remove the hood back and remove the battery. Wait a minute, then replace the battery and cover. Power on and wait patiently through the long reboot - about 5 minutes. See if things return to functioning. Like all computing devices, BB suffers from memory leaks and others... with a hard reboot is the best remedy.

    (2) reload your OS:

    • KB11320 How to perform a clean reload of the BlackBerry Device Software using the Application Loader tool

    Good luck and let us know!

  • Eception exception: java.lang.Error when persisting the data...

    Hi all

    I am facing this error persisting my data.

    I followed the example provided to

    http://NA.BlackBerry.com/developers/resources/A13_Storing_Persistent_Data_V2.PDF

    First, I copy paste the code in a project. It was working fine. Later I managed for my use following code re

    SerializableAttribute public class HelloWorld extends UiApplication
    {
    Public Shared Sub main (String [] args)
    {
      
    Hello HelloWorld = new HelloWorld();
    hello.parseOnlineData ();
    hello.enterEventDispatcher ();
    }
    public HelloWorld()
    {
    a new screen
    Try
    {
    pushScreen (new HelloWorldScreen()); MusicStores
    pushScreen (new Settings());
    }
    catch (System.Exception e)
    {
    System.out.println ("# error" + e.getMessage ());
    }
    }
     
    / * class final HelloWorldScreen extends screen
    {
    LabelField settings private;
    public HelloWorldScreen()
    {
    Super();
    LabelField title = new LabelField ("HelloWorld example",
    LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH);
    setTitle (title);
    Add (new LabelField "(Bonjour World!",LabelField.FOCUSABLE) ");
    }
    public boolean onClose()
    {
    Dialog.Alert ("Goodbye!");
    System.Exit (0);
    Returns true;
    }
      
    }*/
     
    }

    # second class that is inherited from the screen...

    Settings/public class extends screen
    {
    most popular public static string = "most popular."
    public static String newlyadded = "newlyadded;
    public static string Bulletin = 'News ';
    public static string columns = "columns";
    public static string = "jobs" jobs
    public static string = "events" events
    public static interview of string = "interview"
    public static String indepth = 'thorough ';
     
    CheckboxField chkMostPopular;
    CheckboxField chkNewlyAdded;
    CheckboxField chkNews;
    CheckboxField chkColumns;
    CheckboxField chkJobs;
    CheckboxField chkEvents;
    CheckboxField chkInterview;
    CheckboxField chkIndepth;
    ButtonField saveFields;

    public Settings()
    {
    Try
    {
    Configuration config = StoreConfiguration.getConfiguration ();
    If (config! = null &! config.isEmpty ())
    {
    chkMostPopular = new CheckboxField ("Most popular", ((Boolean) config.getElement (mostPopular)) .booleanValue ());
    chkNewlyAdded = new CheckboxField ("Newly added", ((Boolean) config.getElement (newlyadded)) .booleanValue ());
    chkNews = new CheckboxField ('News', ((Boolean) config.getElement (news)) .booleanValue ());
    chkColumns = new CheckboxField ("Columns", ((Boolean) config.getElement (columns)) .booleanValue ());
    chkJobs = new CheckboxField ("Jobs", ((Boolean) config.getElement (jobs)) .booleanValue ());
    chkEvents = new CheckboxField ('Events', ((Boolean) config.getElement (events)) .booleanValue ());
    chkInterview = new CheckboxField ("Interview", ((Boolean) config.getElement (interview)) .booleanValue ());
    chkIndepth = new CheckboxField ("in depth", ((Boolean) config.getElement (indepth)) .booleanValue ());
    }
    on the other
    {
    chkMostPopular = new CheckboxField ("Most popular", false);
    chkNewlyAdded = new CheckboxField ("Newly added", false);
    chkNews = new CheckboxField ("News", false);
    chkColumns = new CheckboxField ("Columns", false);
    chkJobs = new CheckboxField ("Jobs", false);
    chkEvents = new CheckboxField ("Events", false);
    chkInterview = new CheckboxField ("Interview", false);
    chkIndepth = new CheckboxField ("in depth", false);
    }
       
       
    saveFields = new ButtonField ("Save")
    {
    protected boolean navigationClick (int status, int time)
    {
    persistConfigurationData();
    Dialog.Alert ("data");
    onClose();
    Return super.navigationClick (status, time);
    }
    };
    Add (chkMostPopular);
    Add (chkNewlyAdded);
    Add (chkNews);
    Add (chkColumns);
    Add (chkJobs);
    Add (chkEvents);
    Add (chkInterview);
    Add (chkIndepth);
    Add (saveFields);
    }
    catch (System.Exception e)
    {
    System.out.println ("# error Settings()" + e.getMessage ());
    }
    }
     
    Private Sub persistConfigurationData()
    {
    Configuration config = new Configuration();
    config.setElement (most popular, new Boolean (chkMostPopular.getChecked ()));
    config.setElement (newlyadded, new Boolean (chkNewlyAdded.getChecked ()));
    config.setElement (news, new Boolean (chkNews.getChecked ()));
    config.setElement (columns, new Boolean (chkColumns.getChecked ()));
    config.setElement (jobs, new Boolean (chkJobs.getChecked ()));
    config.setElement (events, new Boolean (chkEvents.getChecked ()));
    config.setElement (interview, new Boolean (chkInterview.getChecked ()));
    config.setElement (indepth network, new Boolean (chkIndepth.getChecked ()));
    System.out.println ("will persist object");
    StoreConfiguration.setConfiguration (config);
    }
    }

    # third class which is a persistence class

    Configuration/public class implements Persistable
    {
    private static Hashtable _config;
    Configuration() public
    {
    _config = new Hashtable();
    }
     
    public Object getElement (String key)
    {
    Return _config.get (key);
    }
    ' Public Sub setElement (key of type string, Boolean)
    {
    _config.put (key, new Boolean (value));
    }
     
    ' Public Sub setElement (key of type string, Boolean)
    {
    _config.put (Key, value);
    }
     
    public Hashtable getConfiguration()
    {
    return _config;
    }
     
    public boolean isEmpty()
    {
    Return _config.isEmpty ();
    }
    }

    I use the BB 8300 Simulator.  Once this error is thrown in this program, the example program that was carried out with success, also stopped running. I tried changing the 'key' to store the data in the following line of code.

    PersistentStore.getPersistentObject (0xdec6a67096f833cL);

    Using bb 8300 with eclipse Simulator.

    Please help me solve this problem.

    Thank you

    Kind regards

    Amber

    Not sure where your problem is, but there are some things that I am not comfortbable with your current code.  This is a replacement code.  You can give it a try?

    The major changes are:

    (a) in the settings, we do not create a new object of Configuration, we update the existing object.  Also note that StoreConfiguration.getConfiguration (); should never return null.

    (b) in StoreConfiguration, I tidied up to account for what was happening in fact of suite and there is never a single _data object (Configuration)

    (c) in the Configuration, the hash table is more static.

    Apart from a bit of as, these changes reflect the fact that static may not be a singleton.  If you are referring to the Configuration of two different processes (a background app started at the beginning of time and a leading user interface component started with an alternative entry), you won't see the same object simply by using a static.

    Sorry, none of the code has been compiled, but I hope you understand intentions.

    Parameters

    package com.persistence;
    
    import net.rim.device.api.ui.component.ButtonField;
    import net.rim.device.api.ui.component.CheckboxField;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.container.MainScreen;
    
    public class Settings extends MainScreen
    {
    
        public static String mostPopular = "mostpopular";
        public static String newlyadded = "newlyadded";
        public static String news = "news";
    
        CheckboxField chkMostPopular;
        CheckboxField chkNewlyAdded;
        CheckboxField chkNews;
    
        Configuration config
    
        ButtonField saveFields;
    
        public Settings()
        {
            try
            {
                config = StoreConfiguration.getConfiguration();
                chkMostPopular = new CheckboxField("Most Popular", ((Boolean)config.getElement(mostPopular)).booleanValue());
                chkNewlyAdded = new CheckboxField("Newly Added", ((Boolean)config.getElement(newlyadded)).booleanValue());
                chkNews = new CheckboxField("News", ((Boolean)config.getElement(news)).booleanValue());
    
                saveFields = new ButtonField("Save")
                {
                    protected boolean navigationClick(int status, int time)
                    {
                        persistConfigurationData();
                        Dialog.alert("Data saved");
                        //onClose();
                        return super.navigationClick(status, time);
                    }
                };
                add(chkMostPopular);
                add(chkNewlyAdded);
                add(chkNews);
                add(saveFields);
            }
            catch (Exception e)
            {
                System.out.println("##### Error occurred Settings() "+e.getMessage());
            }
        }
    
        private void persistConfigurationData()
        {
            config.setElement(mostPopular,new Boolean(chkMostPopular.getChecked()));
            config.setElement(newlyadded,new Boolean(chkNewlyAdded.getChecked()));
            config.setElement(news,new Boolean(chkNews.getChecked()));
            System.out.println("Going to persist object");
            StoreConfiguration.storeConfiguration();
        }
    }
    

    StoreConfiguration

    package com.persistence;
    
    import net.rim.device.api.system.PersistentObject;
    import net.rim.device.api.system.PersistentStore;
    
    public class StoreConfiguration
    {
        private static PersistentObject store;
        private static Configuration _data;
    
        private StoreConfiguration()
        {
    
        }
    
        static
        {
            store = PersistentStore.getPersistentObject(0xe63e08aacd575338L);
    
            Object storedObject  = store.getContents();
            if ( storedObject instanceof Configuration ) {
                // we have what we want - cast it
                _data = (Configuration) storedObject ;
            } else {
                _data = new Configuration();
                StoreConfiguration.setConfiguration(_data);
            }
    
        }
    
        public static Configuration getConfiguration()
        {
            return _data;
    
        }
    
        public static void storeConfiguration()
        {
            System.out.println("setConfiguration  ## Going to persist object");
            synchronized (store)
            {
                System.out.println("setConfiguration  ## _data "+((Boolean)_data.getElement("mostpopular")).booleanValue());
                store.setContents(_data);
                store.commit();
            }
        }
    }
    

    Configuration:

    package com.persistence;
    
    import java.util.Hashtable;
    
    import net.rim.device.api.util.Persistable;
    
    public class Configuration implements Persistable
    {
        private Hashtable _config;
        public Configuration()
        {
            _config = new Hashtable();
        }
    
        public Object getElement(String key)
        {
            return _config.get(key);
        }
        public void setElement(String key, boolean value)
        {
            _config.put(key, new Boolean(value));
        }
    
        public void setElement(String key, Boolean value)
        {
            _config.put(key,value);
        }
    
        public Hashtable getConfiguration()
        {
            return _config;
        }
    
        public boolean isEmpty()
        {
            return _config.isEmpty();
        }
    }
    
  • Eception exception: java.lang.Error when starting a selfwritten application

    Hello

    I have a self written request. When I run the app on the Simulator, it throws the error above. The error takes place before any breakpoint is reached. If debugging is really hard. I put a breakpoint on ' > ', but it is never reached.

    public static void main(String[] args) {
    
        Program program;
        try {
    >>>>        program = Program.instance();
            program.run(args);
        } catch (Throwable e) {
            final String msg = _resources.getString(ERROR_COULD_NOT_START_APPLICATION) + ": " + e.getMessage();
            UiApplication.getUiApplication().invokeLater(new Runnable() {
                public void run() {
                    Dialog.alert(msg);
                }
            });
            return;
        }
        ...
    }
    

    Any help is appreciated.

    The problem is very simple. I used a clean class of parameters that can be Persistable. I give to uncomment the ' implements Persistable ".

  • Java.lang.error after installing yahoo messenger blackBerry Smartphones

    Hi, I know it's a constant problem... I have taken a lot of steps, but can't seem to find the option to delete for the module Yahoo Messenger that causes this error appears whenever I start the phone...

    How can I get rid of this problem? I use a Curve 8320 in Malaysia... I tried deleting the phone and via the desktop client...

    If the two they do not work, what other options do I have? Flash the ROM maybe? If yes how can I do that?

    Have you tried the article knowledge base of the rim: KB14630

    On the start screen on the BlackBerry smartphone, click Options > Applications.
    Display the menu, and then click Modules.
    Highlight net_rim_yahoo_messenger.
    Display the menu and click on delete.
    Install Yahoo! Messenger for BlackBerry version 2.0 on your BlackBerry smartphone smartphones.

  • BlackBerry smartphones eception exception java.lang.error with the Installation of "MemoLock".

    I received the error of doom when I tried to install Memolock of Blackberry Apps. I have OS 5.0 and I uninstalled, cleaned and reinstalled with the same problem. I have also made sure all permissions are "allowed". What now?

    Thanks Jim! Your direct download worked like you assumed and I'm now able to enjoy an excellent product! Thanks again!

  • Eception exception java.lang.error blackBerry smartphones

    That's what I get when I explore the podcasts on my 9780. There was an update I installed this morning, but since I've never used the podcasts before that I don't know if it affected anything. Suggestions

    Hi Kel,

    Try reinstalling the Podcasts application by going to www.blackberry.com/podcasts on your browser in the device.

    Make sure you restart after installation and test again.

    See you soon,.

  • "Error 500: java.lang.NullPointerException.

    "Error 500: java.lang.NullPointerException" COSA MEANS MEAN? Pole MI ESCE QUESTA WRITTEN MENTRE PER UNA DOAMANDA GRAZIE

    Hello

    This is an English language Forum.

    Please go to

    http://answers.Microsoft.com/en-us/IE/Forum?TM=1373748955969&tab=all

    to select your language from this link English 

    You can also choose a region or language on this page:

    http://support.Microsoft.com/common/international.aspx

    Don

    Questo e UN forum in lingua inglese.

    If get di andare

    http://answers.Microsoft.com/en-us/IE/Forum?TM=1373748955969&tab=all

    by rates the lingua da questo link English 

    If Può anche rates una regione o lingua da questa pagina:

    http://support.Microsoft.com/common/international.aspx

  • Push registration: (Berr java.lang.IllegalArgumentException) network error

    Hello

    We try to get WebWorks push the work but are a problem with blackberry.push.openBISPushListener. The onRegister function returns a status of 1 (network error).

    The log file shows the following:

    11/9 10:00:54 W net.rim.blackberry.api.push - Berr java.lang.IllegalArgumentException
    11/9 10:00:21 a Contapp - PushDaemon is started.
    11/9 10:00:21 a Contapp - Register push application
    11/9 10:00:21 a Contapp - open BIS push listener
    

    This application is used to work so I wonder if something might have changed in the upgrade of the server push.

    The application code is the following:

    
    
    
        
    
    
        

    And the following push configuration in the config.xml file:

    
    
    
    
    
    
    
    
    
      BIS-B
      MDS
      TCP_WIFI
      TCP_CELLULAR
      WAP2
      WAP
    
    
    
      read_device_identifying_information
      access_shared
    
    

    It is all tested on a device 9300.

    Any ideas as to why we get this error?

    Thanks in advance for the help!

    Nick

    This issue should now be resolved, please let me know if you continue to have problems with the registration with the EVAL server.

  • Package error - ripple java.lang.NullPointerException

    Hello

    I am facing a problem trying to package by BB10 app using the plugin of ripple and I'm having a difficult time trying to figure out what the problem given the description of the error is really generic as you can see in the newspaper.

    out: [BUILD]   Populating application source
    
    2013-09-10 15:01:27 GET /ripple/build_status/5084 200
    2013-09-10 15:01:27 GET /ripple/build_status/5084 200
    2013-09-10 15:01:28 GET /ripple/build_status/5084 200
    2013-09-10 15:01:28 GET /ripple/build_status/5084 200
    2013-09-10 15:01:29 GET /ripple/build_status/5084 200
    2013-09-10 15:01:29 GET /ripple/build_status/5084 200
    out: [BUILD]   Parsing config.xml
    
    out: [WARN]    You have disabled all web security in this WebWorks application
    
    out: [WARN]    Build ID set in config.xml [version], but no signing password was provided [-g]. Bar will be unsigned
    
    out: [BUILD]   Generating output files
    
    2013-09-10 15:01:30 GET /ripple/build_status/5084 200
    out: [INFO]    java.lang.NullPointerException
    
    out: [INFO]     at com.qnx.bbt.packager.Asset.setSourcePath(Asset.java:88)  at com.qnx.bbt.packager.Asset.(Asset.java:75)   at com.qnx.bbt.xml.BbtExtensionXml.getAsset(BbtExtensionXml.java:571)   at com.qnx.bbt.xml.BbtExtensionXml.getAssets(BbtExtensionXml.java:541)  at com.qnx.bbt.packager.BbtBarValueProvider.getAssets(BbtBarValueProvider.java:202) at com.qnx.bbt.bar.BARPackager.getAssets(BARPackager.java:71)
    [INFO]      at com.qnx.bbt.bar.BARPackager.findAsset(BARPackager.java:233)  at com.qnx.bbt.bar.BARPackager.associateSourceAssets(BARPackager.java:227)  at com.qnx.bbt.packager.AbstractPackager.parseDescriptorAndCreateBarManifest(AbstractPackager.java:577)
    
    out: [INFO]     at com.qnx.bbt.packager.AbstractPackager.doRun(AbstractPackager.java:238)
    [INFO]      at com.qnx.bbt.packager.AbstractPackager.runPackager(AbstractPackager.java:164)
    [INFO]      at com.qnx.bbt.nativepackager.BarNativePackager.main(BarNativePackager.java:61)
    
    out: [ERROR]   Error: null
    
    out: [ERROR]   Native Packager exception occurred
    
    2013-09-10 15:01:30 GET /ripple/build_status/5084 200
    2013-09-10 15:01:31 GET /ripple/build_status/5084 200
    out: [INFO]    java.lang.NullPointerException
    [INFO]      at com.qnx.bbt.packager.Asset.setSourcePath(Asset.java:88)  at com.qnx.bbt.packager.Asset.(Asset.java:75)   at com.qnx.bbt.xml.BbtExtensionXml.getAsset(BbtExtensionXml.java:571)
    
    out: [INFO]     at com.qnx.bbt.xml.BbtExtensionXml.getAssets(BbtExtensionXml.java:541)
    [INFO]      at com.qnx.bbt.packager.BbtBarValueProvider.getAssets(BbtBarValueProvider.java:202)
    [INFO]      at com.qnx.bbt.bar.BARPackager.getAssets(BARPackager.java:71)
    [INFO]      at com.qnx.bbt.bar.BARPackager.findAsset(BARPackager.java:233)
    
    out: [INFO]     at com.qnx.bbt.bar.BARPackager.associateSourceAssets(BARPackager.java:227)
    [INFO]      at com.qnx.bbt.packager.AbstractPackager.parseDescriptorAndCreateBarManifest(AbstractPackager.java:577)
    
    out: [INFO]     at com.qnx.bbt.packager.AbstractPackager.doRun(AbstractPackager.java:238)   at com.qnx.bbt.packager.AbstractPackager.runPackager(AbstractPackager.java:164)
    
    out: [INFO]     at com.qnx.bbt.nativepackager.BarNativePackager.main(BarNativePackager.java:61)
    
    out: [ERROR]   Error: null
    
    out: [ERROR]   Native Packager exception occurred
    
    Done build
    error response - {"code":1,"msg":"[ERROR]   Error: null\n[ERROR]   Native Packager exception occurred\n[INFO]    java.lang.NullPointerException\n[INFO]    \tat com.qnx.bbt.packager.Asset.setSourcePath(Asset.java:88)\tat com.qnx.bbt.packager.Asset.(Asset.java:75)\tat com.qnx.bbt.xml.BbtExtensionXml.getAsset(BbtExtensionXml.java:571)\n[INFO]    \tat com.qnx.bbt.xml.BbtExtensionXml.getAssets(BbtExtensionXml.java:541)\n[INFO]    \tat com.qnx.bbt.packager.BbtBarValueProvider.getAssets(BbtBarValueProvider.java:202)\n[INFO]    \tat com.qnx.bbt.bar.BARPackager.getAssets(BARPackager.java:71)\n[INFO]    \tat com.qnx.bbt.bar.BARPackager.findAsset(BARPackager.java:233)\n[INFO]    \tat com.qnx.bbt.bar.BARPackager.associateSourceAssets(BARPackager.java:227)\n[INFO]    \tat com.qnx.bbt.packager.AbstractPackager.parseDescriptorAndCreateBarManifest(AbstractPackager.java:577)\n[INFO]    \tat com.qnx.bbt.packager.AbstractPackager.doRun(AbstractPackager.java:238)\tat com.qnx.bbt.packager.AbstractPackager.runPackager(AbstractPackager.java:164)\n[INFO]    \tat com.qnx.bbt.nativepackager.BarNativePackager.main(BarNativePackager.java:61)\n[ERROR]   Error: null\n[ERROR]   Native Packager exception occurred\n","data":null}
    2013-09-10 15:01:31 GET /ripple/build_status/5084 200
    

    I tried different solutions but nothing has changed. You have an idea that could help me to identify at least the cause of this error?

    Thank you guys

    Thank you for all your responses guys.

    However, it seems to be that something messed up on my machine, because the same application on another laptop, performed without any problem packing.

  • Unrecoverable internal error: java.lang.NullPointerException when compiling

    Recently, I changed my code, and when I am compiling it, I got this error:

    Unrecoverable internal error: java.lang.NullPointerException

     

    Previously, I had met this exception several times, but when running the application in the Simulator.

    I've tried the cleaning project, cleaning the Simulator and even restart the laptop. Did not work.

    The same error persists.

    Maybe it's a bug in the compiler?

    Finally, I found the culprit:

    I put 5 large images (total size: approximately 18 MB) in the "res/img.

    The solution is to load these images from an SD card.

Maybe you are looking for