My application is force to reboot my device

Hi guys,.

I developed an application that stores data in persistent (controlled access) store. The app has a few screens too, nothing major.

Just today, I noticed a perculiar activity. It seems that my application deploys force phone restart. Even if I close the application, it still happens. It takes a few minutes but the phone restarts just on its own.

Another strange thing is part of the object in the persistent store is missing. I have a class that stores a users details. One of the fields of this class is a vector that stores a collection of payment options.

I searched here and found the logger.

The last event in the log is:

Name: System

Severity: error
GUID: 97c9f5f641d25e5f
Time: March 10, 2012 17:59:03

JVM:INFOp = 285d64e4, a = '7.0.0.585', o = '5.0.0.734', h = 7001204

This probably doesn't mean much, but at least it's a start.

I know I need my application with logger calls pepper to see exactly what is happening? Tutorials on this?

The reason why I'm writing here is that I wonder if there are questions people have when storing persistent objects. Is there a limit on the size of the object, that you can store?

Thank you.

UPDATE:

Just before I call store.commit () I put the property that contains the null vector.

My phone has not restarted since that and test the application several times. Strange.

I have a solution.

Well, I was right back on the API interface Persistable and discovered my problem.

Each class must implement explicitly Persistable. Void classes inherit any implementation of this interface.

My parents PaymentOption Persistable implemented but the children do not have. Persistable implementation on children has fixed the problem.

Hope this helps someone.

Tags: BlackBerry Developers

Similar Questions

  • After a clean install of windows 7 Home premium 64-bit, dvd will play not [scrambled] and computer is crashes sometimes and I have to force the reboot.

    I have windows 7 Home premium 64-bit, which has totally collapsed.  By mistake, I installed my operating system 32-bit vista on it.  I bought a new windows 7 Home premium operating system and installed.  I did a clean install after formatting the hard drive [the did twice].  Now dvd will play not [scrambled] and computer is crashes sometimes and I have to force the reboot.  I saw the reference to System 32 on restart options.  Help?

    Original title: operating system 32 and 64 bit

    Have you installed Windows 7 device drivers for your make and model. If this is not the case, then go to the support web site factory and download Windows 7 drivers to a folder on your PC and then first install the drivers for the card mother/chipset, followed by USB, SATA, LAN, Audio and all other pilots.

    Find the website of your computer manufacturer support.
    http://Windows.Microsoft.com/en-us/Windows/help/contact-support/computer-manufacturers

    How do you know if you have a 32 bit or bit 6 vrsion of Windows installed:

    http://support.Microsoft.com/kb/827218

    BIOS updates: you should check to see if there was one, or sometimes several updates BIOS for the motherboard. Read (if provided) which solves the update. Sometimes a newer BIOS update will fix the problem. Read the instructions on how to your BIOS update/flash very carefully and be more you understand the process. There is a risk of a bad flash/update occurs which can make your system unbootable.

    Also check the download site of the manufacture of the graphics card for the latest Windows 7 drivers for your card.
    ATI: http://support.amd.com/us/gpudownload/Pages/index.aspx
    NVIDIA: http://www.nvidia.com/Download/index5.aspx?lang=en-us

    J W Stuart: http://www.pagestart.com

  • "This application is not compatible with your device and cannot be loaded.

    New Java and Blackberry development.

    I built the app BlackBerry Hello World (from samples from the BlackBerry site developer) by using the following:

    Eclipse version 3.4.0 installation

    BlackBerry JDE plugin for Eclipse 1.0.0.67

    BlackBerry JDE 4.6.0.19 component package

    The app is supported very well.

    The app works well in the Simulator.

    I use Eclipse to generate the ALX file.

    Then I try to transfer the file ALX for my BlackBerry Tour using:

    BlackBerry Desktop Manager 5.0.0.8.

    When I try to transfer, I get the following error message:

    "This application is not compatible with your device and cannot be loaded.

    I tried different versions of the package component BlackBerry JDE (4.7, 4.6.1, and 4.5) with no difference in behavior.  Also, I don't think that I use an API that require signature.

    Someone had this problem and was able to remedy?

    The trick works OS 4.7.1

    You will need to compile the code using 4.7

    Edit:

    Ahh... I now see that you have already done this. The forum "new and improved" chops off the coast of all messages on my IE8 'new and improved '.

    What version of office is this? Might not be compatible with the tour?

    Try the application on your device using javaloader (utility that ships with the JDE - check the bin directory).

    JavaLoader-u load myapp.cod

  • How can I reinstall iOS 10 on my iPad. I had a problem of update and had to force a reboot. Now, some applications do not work.

    By updating my iPad iOS 10 it locked up and I had to reboot. Now a few apps do not work.

    Is it possible to reinstall iOS 10 or should I just wait for the next update from Apple?

    You can restore the device. You can either restore from a backup, or you can restore back to the factory. See the information in these two documents of support for instructions, depending on how you want to restore.

    Restore your iPhone, iPad or iPod touch from a backup - Apple Support

    Use iTunes on your Mac or PC to restore your iPhone, iPad or iPod settings - Apple Support

  • Application of force to use specific ports

    Hi all
    I have an application that uses random ports.  This could be good behind a typical personal router, but is not possible with the current implementation.  The program is an application of video conferencing with Polycom collaboration, and the app is telepresence m100.
    The release notes for m100 indicate a few random ports are used for some protocols.  (See page 21)  Our network firewall device requires a game port assignment and our security protocols do not allow an open machine.  We would also like to use this m100 of telepresence on multiple machines, so a DMZ is not an option.  The application does not allow the user to select specific ports.  Request support with Polycom has been less then helpful (answer: it uses a random port).

    So here I wonder if there is a way on XP or 7 to force an application to use ports or range of ports, perhaps 4-5 assigned ports, not 65535.  The nature of the beast requires several ports open, not one.  Also, remote machines will have the same configs, so one of these machines could initiate/receive calls with all the others.

    John

    Questions of this nature are better asked on Technet

    http://social.technet.Microsoft.com/forums/en-us/categories/

  • How to force separating them Motorola device ID

    Hello!

    Last week I had to replace my wife MotoGP, unfortunately I did not know that one must separate the phone with Device Motorola before wiping it!

    Now a "My Stuff" page there are two MotoG connected, I could make primary current on the other hand, the "delete" button shows just the message "unlink your device Motorola ID of your device to remove.

    We started a conversation with the support of Motorola and after a while, I let the operator which include:

    1. We do not have more physical access from the old phone
    2. the old phone wiped 2 times before referred to Amazon

    Finally the OP has understood and wrote "I will escalate this case to our team and they will answer you on this concern. Our team will get back to you with in 24-48 hours."

    It was last Friday... I can wait 2 days more before contacting them again (I have a PDF of the cat print), but in the meantime I ask here just to be sure that it really is not quick way to force a phone to the Motorola account withdrawal...

    Thank you and ciao!

    Post your concern in "feedback forum" it's the best bet to get a fix for this problem.

  • LabVIEW application will run on reboot fees unless MAX is started.

    I'm a NOOB of Labview. I'm the only one here IT and started a year ago and essentially got thrown into the "labview" with 0 experience of labview. I have an xp machine and transform it into a machine to win 7.

    Some highlights: labview 8.2 32 bit running on windows 7 32 bit with libraries of e/s 16. Drive a QPIP to 34970A usb data acquisition unit and an oven temperature compensation. Here's the situation. When I restart the PC my "temp_comp.exe"(application que consultant labview a écrit) will not work. "" I have some errors one as soon as I start the application: 'four due to lack of Communication' and when I try to operate the oven with shortcut both tests and temp:

    error 107387202 has occurred to close visa in HP34970A close.vi.

    34970A_read.VI > Measure oven temp.vi-> wait oven reach temp vi -.

    a model loop.vi - a loop test sequence.vi > hand temp comp.vi

    The possible reasons VISA: 0xbfff009e a library of code required by VISA impossible located or loaded hex.

    I reformatted a machine with xp and was able to get what works well.

    So here's the kicker. If I open MAX and develop devices and interfaces tree program works fine and dandy. no errors. I ran 3 batches in the oven all night with no problems. I thought that I would just an easy work around and the program max to run at startup but I must manually unpack the tree of devices and interfaces before that it will work.

    All ideas will be useful great Cheers!

    Well, VISA 4.0 don't is not supported on Windows 7 either.

    From my point of view, the upgrade to Windows 7 is the problem since your program and your driver are obsolete and unsupported. I don't know what to offer in addition to roll back to xp or upgrade the app and drivers.

  • Is it possible to convert Sidewinder Force Feedback wheel USB device?

    Original title: sidewinder force steering wheel feedback

    I have a fairly old sidewinder force wheel sterring feedback, which is a plug connection, not usb.  Is it possible to convert / and if you also think that it will work?

    Hello
     
    I doubt if this would be converted to USB connection since it's an old device that is compatible with XP only. For the best experience in games, I personally suggest you to upgrade the perimeter game, for example, Microsoft SideWinder Mouse.
    For more information on this product, please see the following site:
     
     
    If you have any suggestions for us, you can post them here .
     
    Aziz Nadeem - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • Applications cannot run using the latest device software and SDK

    I have an application of stunts that I try to run on the alpha of dev, but I get this error: (which occurs after the splash screen, then first screen appears)

    "Launch BB10BabyNames" has encountered a problem:

    Error in the final launch sequence

    When I click on "details > ', I get:

    Error in the final launch sequence
    Failed to execute the command of MI:
    -break-insert t main f
    The debugger back-end error message:
    Cannot access memory at address 0 x 2310
    Cannot access memory at address 0 x 2310

    ...

    The way I've updated by SDK had to go on the native menu 'Help' and "Update SDK", as described on the web.

    In the top drop down menu, I selected:

    "BlackBerry 10 native SDK 10.0.9.2318"

    And my OS version is:

    10.9.9.339

    I noticed that my:

    Project-> Build Configurations-> value activates

    ... has been configured for the device debugging

    But when I went to Run-> Debug Configurations, I selected "device-Release.

    I put this in the "device-Debug' and now I can start the application.

  • Having to reboot my device (dev alpha) while constantly developing

    Hello.

    IM using Momentics, cascades of C++ sdk: 10.0.10.263, on Linux pc.

    In general I change the code, build, and then click Run (or debug) see how the application is features/looks.

    Then the cycle starts again.

    Unfortunately, Im getting up about 1-5 cycles before IDE complains that it can not connect to the target or somet similar message. The only thing that seems to help is to restart the alpha dev unit. It also means retyping my password then aperture settings and reset of development mode and then reenterimg my password again (as a mode of development of setting on it requires that you set also a device password, then who you pull together!). It is - very annoying and stunting my productivity considerably.

    Did someone of another haing this trouble?

    If I look for the icon for the application on the device after a failure 'upload' and then it looks like 'semi transparent' and I can't throw on the device directly either.

    It does not seem serious if I connect via usb or wifi.

    Is it possible to download a toolbar drop directly to the device and install it (e.g. via double-click) without using the SDK tools?

    Use the TargetNavigator view, select your application process, right click and choose "send the signal" SIGTERM.
    This should clear up your processes.

  • Application works is not on the device...

    Hello

    My application is going to hang up my camera. whenever I click on the search button.

    what I did:

    delete all the log files.

    Run the application.

    then check out the newspaper.

    E net.rim.udp - TNLf 0
    a net.rim.tunnel - 1 Pdp1
    a net.rim.tunnel - STnc-00000000
    a net.rim.tunnel - Open - blackberry .net
    a net.rim.udp - open

    What that means!

    But the application works fine with wifi

    --------------------------------------------------------------------------------------------------

    Continue... http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&thread.ID=38547

    =================================================================================

    The full changelog is:

    a net.rim.tunnel STac-BlackBerry .net-6/3 10:49:22 by net.rim.tunnel Open-BlackBerry .net-6/3 10:49:22 by net.rim.mdp - Pbdr - 6/3 10:49:14 by net.rim.mdp - Ramallah - 6/3 10:49:14 by net.rim.tunnel STac - blackberry .net - 10:49:11 by net.rim.tunnel Open - blackberry .net 6/3-6/3 10:49:11 by net.rim.udp - open - 6/3 10:49:11

    a net.rim.tunnel - Pdp0 1-6/3 10:49:11

    a net.rim.tunnel STnc-00000004 - 6/3 10:49:03 has Open net.rim.tunnel - .net - 6/3 10:49:03 BlackBerry has net.rim.tunnel STnc-00000000 - 6/3 10:49:01 by net.rim.tunnel Open - BlackBerry .net - 6/3 10:49:01 by net.rim.udp - open - 6/3 10:49:01

    E net.rim.udp - TNLf 0-6/3 10:48:47

    a net.rim.tunnel - Pdp1 1-6/3 10:48:47

    a net.rim.tunnel STnc-00000000-6/3 10:48:47 by net.rim.tunnel Open - blackberry .net - 6/3 10:48:47 by net.rim.udp - open - 6/3 10:48:47

    E net.rim.udp - TNLf 0-6/3 10:48:47

    a net.rim.tunnel - Pdp1 1-6/3 10:48:47

    a net.rim.tunnel STnc-00000000-6/3 10:48:47 by net.rim.tunnel Open - blackberry .net - 6/3 10:48:47 by net.rim.udp - open - 6/3 10:48:47

    E net.rim.udp - TNLf 0-6/3 10:48:47

    a net.rim.tunnel - Pdp1 1-6/3 10:48:47

    a net.rim.tunnel STnc-00000000-6/3 10:48:47 by net.rim.tunnel Open - BlackBerry .net - 6/3 10:48:47 by net.rim.udp - open - 6/3 10:48:47

    E net.rim.udp - TNLf 0-6/3 10:48:47

    a net.rim.tunnel - Pdp1 1-6/3 10:48:47

    a STnc-00000000 net.rim.tunnel-6/3 10:48:47 by net.rim.tunnel Open-BlackBerry .net-6/3 10:48:47 by net.rim.udp - open - 6/3 10:48:47 by net.rim.mdp - conservation - 6/3 10:48:27 by net.rim.mdp - conservation - 6/3 10:48:27 by net.rim.mdp - INtr - 6/3 10:48:27 by net.rim.tunnel - Init - 6/3 10:48:07

    a net.rim.tunnel - Pdp0 2-6/3 10:46:52

    a net.rim.tunnel STnc-00000000 - 10:46:33 by net.rim.tunnel Open-wap 6/3 - 6 / 3 10:46:33

    /*
     * To change this template, choose Tools | Templates
     * and open the template in the editor.
     */
    
    /**
     * @author ASTJPR USER
     */
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    
    import javax.microedition.io.Connector;
    import javax.microedition.io.HttpConnection;
    
    import net.rim.device.api.system.EventLogger;
    
    public class ConnectionThread extends Thread {
    
        private boolean start = false;
        private boolean stop = false;
        private String url;
        private String data;
        public int status=0;
        public static boolean sendResult = false;
        public boolean sending = false;
        private String requestMode = HttpConnection.POST;
        public static String responseContent = null;
    
        public void run() {
            EventLogger.register(0xf512941762fdb1c2L, "Zain5", EventLogger.VIEWER_STRING);
            while (true) {
                if (start == false && stop == false) {
                    try {
                        sleep(200);
                    } catch (InterruptedException e) {
                        System.out.println("Errorr: " + e.getMessage());
                        EventLogger.register(0xf512941762fdb1c2L, "Zai4n", EventLogger.VIEWER_STRING);
                        EventLogger.logEvent(0xf512941762fdb1c2L, e.getMessage().getBytes());
                    }
                } else if (stop) {
                    return;
                } else if (start) {
                    http();
                }
            }
        }
    
        private void getResponseContent( HttpConnection conn ){
            InputStream is = null;
            try {
                is = conn.openInputStream();
            } catch (IOException e1) {
                e1.printStackTrace();
            }
            // Get the length and process the data
            int len = (int) conn.getLength();
            if ( len > 0 ) {
                int actual = 0;
                int bytesread = 0;
                byte[] data = new byte[len];
                while ( ( bytesread != len ) && ( actual != -1 ) ) {
                    try {
                        actual = is.read( data, bytesread, len - bytesread );
                    } catch (IOException e) {
                        System.out.println("EWrror: " + e.getMessage());
                        EventLogger.register(0xf512941762fdb1c2L, "Zain6", EventLogger.VIEWER_STRING);
                         EventLogger.logEvent(0xf512941762fdb1c2L, e.getMessage().getBytes());
                    }
                    bytesread += actual;
                }
                responseContent = new String (data);
    
               // Dialog.alert(responseContent);
    
            } else {
                int ch;
                try {
                    while ( ( ch = is.read() ) != -1 ) {
                         responseContent += (byte) ch;
                         //Dialog.alert(responseContent);
                    }
                } catch (IOException e) {
                    EventLogger.register(0xf512941762fdb1c2L, "Zain3", EventLogger.VIEWER_STRING);
                     EventLogger.logEvent(0xf512941762fdb1c2L, e.getMessage().getBytes());
                    e.printStackTrace();
                }
            }
    
        }
    
        private void http() {
            HttpConnection conn = null;
            OutputStream out = null;
            int responseCode;
            try {
                /*conn = (HttpConnection) Connector.open(url);
                conn.setRequestMethod(HttpConnection.POST);
                conn.setRequestProperty("User-Agent", "BlackBerry/4.6.0");
                conn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
                conn.setRequestProperty("Content-Length", "" + data.length());
                */
                conn = (HttpConnection) Connector.open(url, Connector.READ_WRITE, true );
                conn.setRequestMethod(requestMode);
                conn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
                //  conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
                out = conn.openOutputStream();
                out.write(data.getBytes());
                out.flush();
    
                responseCode = conn.getResponseCode();
                status = responseCode;
                if (responseCode != HttpConnection.HTTP_OK) {
                    sendResult = false;
                    responseContent = null;
                } else {
                    //status = 1;
                    sendResult = true;
                    getResponseContent( conn );
                }
                start = false;
                sending = false;
    
            } catch (Exception e) {
                EventLogger.register(0xf512941762fdb1c2L, "Zain2", EventLogger.VIEWER_STRING);
                 EventLogger.logEvent(0xf512941762fdb1c2L, e.getMessage().getBytes());
                System.out.println("ZahidERROR : " + e.getMessage());
                start = false;
                sendResult = false;
                sending = false;
            }  finally {
                try {
                    out.close();
    
                } catch (IOException e) {
                    EventLogger.register(0xf512941762fdb1c2L, "Zain1", EventLogger.VIEWER_STRING);
                     EventLogger.logEvent(0xf512941762fdb1c2L, e.getMessage().getBytes());
                }
            }
        }
    
        public void get(String url) {
            this.url = url;
            this.data = "";
            requestMode = HttpConnection.GET;
            sendResult = false;
            sending = true;
            start = true;
        }
    
        public void post(String url, String data) {
            this.url = url;
            this.data = data;
            requestMode = HttpConnection.POST;
            sendResult = false;
            sending = true;
            start = true;
        }
    
        public void stop() {
            stop = true;
        }
    
    }
    
    ConnectionThread connThread = new ConnectionThread();
                    connThread.start();
                    try{
                        //connThread.get(url
                        connThread.get("http://w30gcliwn.30daytrial.webappcabaret.com/Zain_Servlet/second?f1="
                                + NameTextField.editField.getText()
                                + "&m2="
                                + AreaTextField.editField.getText()
                                + "&l2="
    
                                 + LastTextField.editField.getText() + ";deviceside=true;ConnectionUID=" + getWap2TransportUid());
    
  • After you import the QNX libs, the application displays in white on the device

    What I am doing wrong?  I turned on the QNX libraries, and as soon as I did, the application displays a blank white screen when starting.  If I remove those, it runs great.

    The application runs (!) inside the emulator on the desktop, but not on the QNX emulator.  It shows a test button and everything.  At the point where I try to put it on the device, it shows a blank white screen.

    I'm really frustrated now.

    You are using 4.5 final Flash Builder and do not follow instructions on workaround for air 2.5?

  • When you download the creative combination 6 applications it forces and now will not start download again because of an error

    I was download of creative applications 6 suit and he asked me to force quit other applications so I did and with them it forces to leave the Setup program and now when I try to download an error screen appears

    UINSTALL anything cs6 which can be installed.

    Run the vacuum cleaner by the use of the Adobe Creative Cloud cleaning tool to solve installation problems

    Restart your computer and try again to install cs6.

  • Why my DPS application synchronize on my second iPad device?

    I managed to create an application using DPS. I synced it my iPad to test (an iPad). I have a second device (iPad B) that I need to test the application. I was able to use the same .ipa, the app appeared on the second iTunes that links to iPad B account. When I try to sync the app for iPad B it synchronizes to about 90% and - error, no message is given. Anyone know what is the cause and how can I solve this problem?

    Yes, to recreate your configuration file mobile developer and don't forget to check out the new feature to include in your certificates. Then rebuild your application in DPS app Builder using the new certificate of MP.

  • How to develop and test the application mobile flex without the real device?

    I'm trying to read some information about it, but decided to ask also here.

    I have a project that has a company wants to grow me, it's for iPad. That's ok I am with Flex and the framework for web development, but not for mobile. Why? Because I have no idea how to test my application. I know generation ago it sort of the desktop version of the application with the change of the "back" button on the orientation stuff, but how do I know my application will look and work exactly the same (I mean NOT performance here). I mean you know how every android or iOS device have their native keyboard or native video player for example and I have only in the debug version of the application.

    The question is how to develop this application based on the desktop emulator or anything and then hope that my app looks and works on a device, as it should... Of course I can't afford to buy all the devices it is just to be able to test on it if necessary? So, how do you, how to test how my iPad app works on a device without a? I know I should get a licence from iOS dev to be able to package the app for iOS, but it's $ 99 per year or something like that I can handle, but how to test my application without having to buy the darn device? Are there any emulator for iPad or something like that I know what my customers will see when they get the application? One of my friends told me that the mac os x use the developers a tool - cause some kit of dev who has emulators for all iOS devices and you can build and test there immediately and that you can simulate virtually any combination of key for example, and he said he's working and seems to 1:1 as the real device but he didn't know if can I export an AIR application and try it like this, he only knew for app written in native code.

    If someone can just tell me how should I do this? Should I buy a mac os x computer laptop to test because I am a user of windows 7, or perhaps create a mac os x virtual machine and tests out there or maybe the only option is to actually buy the device... that would be terrible for a freelancer...

    I hope someone can save the day here! Thank you.

    F

    Since the AIR for iOS applications are compiled to ARM code you will not be able to run on iOS emulators running on Mac OSX.

    You can do a very simple test with the "Simulator" built into Flash Builder, but it is not much more than a window to AIR with a window size that matches the resolution of the selected iOS device.  When running in the simulator of the application is not compiled to ARM code so it will take a completely different code path than what will be the final release of iOS.

    Ultimately if you are developing for iOS with AIR nothing but for tests on real iOS devices.

Maybe you are looking for