Launch of a new page QML c ++ causes the crash

The following code always crashes no useful message that is issued. I checked all the variables and none are null. I can't code c ++ and it crashes at that time. The application crashes after some time, gdb "just crash".

No source available for '_start_() to 0x1a8ea60.

My QML:

import bb.cascades 1.0

{Page}
{Of container
layout: {StackLayout}
}
{Label
text: 'Hello '.
}
}
}

My c ++:

void GConnectBB::startMenu() {}
("QmlDocument * qml2 = QmlDocument::create("asset:///MainMenu.qml ");
{If (! qml2-> {hasErrors())}

AbstractPane * page2 = qml2-> createRootObject();
If {(page2)
This-> myApp-> setScene (page 2);
}
}
}

How can I debug this problem?

If you use a spreadsheet, you can set peekEnabled to false.
https://developer.BlackBerry.com/Cascades/reference/bb__cascades__sheet.html#peekenabled

Tags: BlackBerry Developers

Similar Questions

  • SilkRoad online Launcher has stopped working. A problem caused the blocking of the program works correctly. Windows will close the program and notify you if a solution is available.

    After I installed and opened a Silkroad Online on my Windows 7 64 bit, an error pops up: Silkroad Online Launcher has stopped working, and a close button the program. Any ideas on this subject? I tried to disable the firewall and antivirus software and restart the game, but it didn't work... I don't know what to do. The whole eror massage: Silkroad online Launcher has stopped working. A problem caused the blocking of the program works correctly. Windows will close the program and notify you if a solution is available

    It is a file you need to edit in Notepad in the game directory. I would contact the manufacturer of the game as to what exact file. I have not personally done it, but I've seen this fix on other forums. MCP. MCDST. LVL 80

  • How to stop Contribute CS5 adding a paragraph when you create a new page via "copy of the current page.

    When I create a new page via 'Copy of the current page', the new page always gets an additional line of code. Contribute CS5 adds a paragraph that pushes my browsing down in the content area of my site. Can someone please help me get to stop this?

    <!--

    Code on the original page:

    < body >

    < div id = "container" >

    < div id = "header" >

    < div class = "logo" > < a href = "/" > < / has > < / div > <! - end .logo - >

    < div class = "navigation" >

    Code on the new page:

    < body >

    < div id = "container" >

    < div id = "header" >

    < div class = "logo" > < a href = "/" > < / has > < / div > <! - end .logo - >

    < style p = "margin-top: 0;" margin-bottom: 0; ' > < / p >

    < div class = "navigation" >


    ->

    If you are going to administer websites > users and roles > choose > change role settings > Editing > paragraph spacing, you put a line or two lines?

    If a line, select the two lines.

  • 3 articles 14, causing the crash of the flash plugin...

    Hello

    I have 3 articles on 14 that crashed the flash plugin in the producer of folio. I don't have any idea how to solve this. Any help would be SO appreciated! (The rest of the items in the folio don't give me no harm)

    Do this, when I am updating in Indesign...

    Screen Shot 2012-11-13 at 1.19.53 PM.png

    We have found and solved the problem and just need to focus on when it can be deployed safely. I'll follow up with good news when we made this decision, it should be soon.

    In the meantime, try a solution for me? Follow the steps below to set the default list view in your application:

    1. Go to the Organizer Folio of the IU producer
    2. Open one of the folios which does not cause the behavior that is
    3. Switch to the display of the list (see image)
    4. Return to the Organizer
    5. Open folio that causes the crash

    The bug is caused by a problem with thumbnail image rendering, so the display of the list shouldn't cause the same problems. Please let me know if it is of a useful workaround.

    Thank you and sorry for the inconvenience.

  • Is there a current threat to Windows causing the crashed hard drive?

    I received a call from someone who said he was from Windows support who wants to help me protect my computer from a 'infection' which would cause the crashed hard drive.  Is this real or a scam?

    Hello

    It's a scam.

    Microsoft does not contact you unless YOU have made prior arrangements with them to do.

    There is an article in the link I'm you provide at the end of this one

    Read this Information from Microsoft:

    "Avoid scams to phone for tech support.

    http://www.Microsoft.com/security/online-privacy/avoid-phone-scams.aspx

    Don't be fooled of unsolicited calls. Don't provide personal information.

    Here are some of the organizations that cyber criminals claim to come:

    • Helpdesk Windows

    • Windows repair center

    • Microsoft technical support

    • Microsoft technical support

    • Windows Support Group Technical Department

    • Microsoft Research and Development Team (team of Microsoft R & D)

    Either these so-called "Microsoft" Tech companies want to sell you a worthless software, or remote access to your computer to try to steal your credit card and bank information and also achieve an identity theft on you.

    See you soon.

  • How to make a page QML figurentsur only the first launch

    How to make a qml page appears only on the first time the application is started?

    I need to create a tabbed pane and the number of tabs depends on n the input from the user to whom it provides the first launch. How to make this happen?

    You can use QSettings to store parameters.

    Create two main qmls (mainHasInput.qml and mainHasNoInput.qml). When the user runs your application for the first time, load mainHasNoInput.qml. If the user enters the input values correct, who writes in your QSettings. The next time that the launch of the app, you check if a setting has been stored in your QSettings. If not, show your mainHasNoInput.qml, if yes, see the mainHasInput.qml (which is your main 'normal' screen)

    for an example how to use QSettings, see https://developer.blackberry.com/native/sampleapps/ -> 'persistent objects '.

  • Firefox opens a new page 2/3 at the top of page one another which I can't close

    When I open firefox opens a page yesterday with a new page that covers the two left third of the page and the old page is still one third on the following tabs on the left

    Opening in the sidebar is the default value for the bookmarks created via a link or a button on a Web site.

    You can view the properties of a bookmark using the context menu in the side bar (Ctrl + B; Cmd + B on Mac).

    In the Bookmark Manager (Bookmarks > show all bookmarks) you can click on the button more in the lower details pane on the right.

    Make sure "Load this bookmark in the sidebar" is not selected.

  • Can I add a new page with editing in the browser in Muse?

    Is it possible to add a new page in the browser by using capacities within the Muse of edition?

    Lol you can only edit existing pages within the existing limits.

    Mylenium

  • How to display the new page with HTML, click the ADF

    I have an ADF page with a button.

    When I click that button, I call a method in backing bean that calculate a string that is HTML. I want to make this HTML as a new page in the same window of the browser as a result button click.

    How do I do that?

    I can also call a methodCall to task flow on a button click. But my next page should be a new HTML page including the calculation in the method call.

    You can convert the calling method in a servlet - your ADF page calls the servlet that returns the HTML code - this may be as a separate page using an af:goLink to call the servlet or it can be included in an af:inlineFrame in your page.

    Another option is to return the HTML string as the value for an af:outputText and the attribute of the escape of this element the value false.

  • How can I add a new page without connection to the menu bar?

    Hello!  I would like to create a new page in the top-level section. However, I don't want to link via the widget bar menu... and the link instead, through a hyperlink or button of one of my main pages link. I don't want this page to be a drop down in the menu bar. Thank you in advance!

    (^ ^ ^ with peak =).

    And then just link your object/text with the standard menu of hyperlink!

  • How to make my tables not threadding to a new page up to filling the page that I am?

    HEADHACE.jpg

    After the 1st row, 2nd row supposed to be on the bottom of the 1st page... but it is happen otherwise it's keep threadding to a new page... This is also happening to the 3rd row... Anyone here know how to fix it...? I use already 5 hours just to solve this prob, but nothing happens... x_X

    Hello h,

    It's the way you have structured the table.

    The first column is merged for a number of lines, making it a very "high" line ID split the line automatically...

    / G

  • Insert new page Unix tank into the Oracle table.

    Hi all

    "I need to insert new page for unix = hex char in result table ' 0x0C ', don't know how Oracle manages this, do I have to use any convert for this function? as HEXTORAW, etc... or there is a direct way to the State which is hexagonal.
    I can't find any specific identifier for HEX Strings, something like hex'0x0C ' or X'0x0c '.


    Insert value X rt_result '0xOC ';? -column of the table defined as varchar2 (100).


    Thank you
    Trent

    Well, you can also simply do:

     new_page := chr(12);
    

    Much shorter ;)

  • Right click in the shell of the BONE causes the crash of Explorer and restart

    I am one of those who have a problem with Explorer crashing when I right click in the Win 7 OS shell.

    When I right click on an element (for example, file, folder, library, shortcut in the start menu,...) explore hangs frequently... showing a message box and then finally by displaying a different message (with a progress bar) that explore restarting.  The issue is sporadic.  It happens regularly during a certain period, and then it may not happen again for a little while.

    The issue started on my 64-bit Win 7 Pro system after a clean installed.  I had also installed other software (end versions on the web... not old code).  So, I started uninstalling things... and also used ShellExView disable each contextual menu non-Microsoft extension... and it happened again.

    So, I rebuilt my system again... from scratch... clean install... and then settle with just three things:

    (1) I hosted Windows Update
    (2) I added the latest version of Avast antivirus (free)
    (3) I installed the latest version of Firefox

    .. .and boom... Explorer crashed again in the same way.

    Others say that this problem occurring on a vanilla full Win 7 installation with nothing else installed... which none of the third-party drivers.  I met dozens of people have reported the problem.  Here are a few recent reports:

    http://www.SevenForums.com/crashes-debugging/34826-right-click-Desktop-causing-Explorer-exe-crash.html
    http://www.SevenForums.com/performance-maintenance/19169-right-click-causes-Explorer-crash-fix.html
    http://www.SevenForums.com/crashes-debugging/22061-Windows-Explorer-crashing-right-click-under-x64-RTM.html

    Several people have analyzed using various tools of profiling and dump and all signs point to the corruption of the heap... and the data looks as Explorer retires upon itself not a third-party component doing... but we don't have the source code to find the specific problem.

    Obviously, there is a problem... and we would be grateful, at least, something that looks like 'we are aware of the problem and are addressing it. "

    Thank you.

    see you soon,
    Steve

    Unfortunately the guys I dropped and reloaded but my apps will be the same in the list but I will not load anything on this machine, but the basic principles until I am sure that the problem has disappeared.

    For now, I have this installed

    all the default drivers but a newer version of the Intel AHCI drivers

    Opera
    Firefox
    Flash
    Java
    Kaspersky Internet Security
    Trillian

    That's all I'll keep until this thing is running at least 3 days or more without an Explorer of the accident. If it crashes again as before, I will go back to Vista and don't move not not for Win7 until Service Pack 1 and I build my next machine. I can't spend every day on this and I don't want to. If it comes to Windows (which I strongly think that it is after all that) so it's quite sad, it's something like that got behind testers.

    I wonder if the 32-bit version would be more reliable and it's just a x 64 issue?

    I'll keep posted guys... Thank you

  • Built-in Windows 8 camera causes the crash

    I have a 15 dashboard recently I upgraded to Win 7 Pro for Windows 8 Pro.  Everything seems to work fine EXCEPT the built-in camera.  Whenever I have try and use it with Skype, it causes the computer crash blue screen with a KERNAL_SECURITY_CHECK_FAILURE.  Check closely, there seems to be a lot of complaints about this, but no new update driver Win 8, Lenovo.  Any information would be appreciated...

    Hi, studew

    I have a workaround possible for you until Lenovo can release the camera built into your system and Windows 8 driver.

    If display you the charm bar from the desktop or the main screen of the metro and select Search, then type "Troubleshooting" and change the filter settings, a parameter called Troubleshooting should appear. Select this option. A list of programs should appear. Scroll down and select Skype. From there you should be able to put Skype to run in Windows 7 compatibility mode.

    Because you are using a Windows 7 driver for your computer, as it was the last version, then Skype running in compatibility mode with Windows 7 can help you use your camera in this function.

    Hope this helps and let me know how it goes.

    Adam

  • OS update 10.11 El Capitan, causing the crash MacPro

    MacPro (mid-2010) 2.8 GHz Quad-Core with 32 GB of RAM ECC DDR3 and an OWC SSD 480 GB Accelsior, AMD Radeon HD 7950 graphics card.

    I tried to upgrade 10.10.5 to 10.11 three times with the same result - startup gets about 80% of fact and accidents with the information on the screen. Then goes through the same cycle over and over again. I also have a two monitor Setup, and a single monitor is active (when I recover 10.10.5 both work).

    Any ideas on what is causing the problem?

    Remove the CalDigit. I suspect it's a USB 3 PCle card. There is at least a CalDigit PCle card which is causing your problem.

Maybe you are looking for