webView crashes on sim

Sorry, it is a simlar bit in a post that I did before, but I just noticed it after my webView crashed.

# BAD_FRAME pid = 30351458 to 12668234 ms-> 30 t: ms p1: pull 12 (info): JS Console: http://connect.facebook.net/en_US/all.js:50: message received from https://s-static.ak.facebook.com, object type expected a string
0 ms, from left to right: Ms. 29, p2: 0 ms, sup: 0ms

I was real will a crackberry.com - here is my code im still very new at this thank you

{Web page
content: {WebContainer}
ID: container
background: Color.LightGray
layout: {StackLayout}
layoutDirection: LayoutDirection.TopToBottom
}
{ProgressIndicator}
ID: progressIndicator
topMargin: 10
leftMargin: 10
bottomMargin: 10
fromValue: 0
toValue: 100
preferredWidth: 800
} / / Status of the webview load and web State
ScrollView {}
{scrollViewProperties}
scrollMode: ScrollMode.Vertical
}
layoutProperties: {StackLayoutProperties}
spaceQuota: 1.0
}
{Of container
background: Color.LightGray
layout: {StackLayout}
layoutDirection: LayoutDirection.TopToBottom
}
{Label
ID: statusLabel
leftMargin: 10.0
text:
bottomMargin: 0.0
preferredHeight: 0.0
textStyle.lineSpacing: 0.0
textStyle.size: 0.0
visible: true
topMargin: 0.0
}
WebView {}
ID: myWebView
URL: 'http://crackberry.com'.
onLoadProgressChanged: {}
progressIndicator.value = loadProgress
}
onLoadingChanged: {}
If (loadRequest.status == WebView.LoadStartedStatus) {}
statusLabel.setText("")
} Else if (loadRequest.status == WebView.LoadSucceededStatus) {}
statusLabel.setText("")
} Else if (loadRequest.status == WebView.LoadFailedStatus) {}
statusLabel.setText ("the URL that has been on this WebView has failed to load. Please check the Internet connection. »)
}
}
onNavigationRequested: {}
Console.Debug ("NavigationRequested:" + request.url + "Navigationtype =" + request.navigationType)
}
}
}
}
}
}

Hello

For the box, I changed the StampCollector sample application to test, the sample application is available as https://github.com/blackberry/Cascades-Samples/tree/master/stampcollector on main.qml

I changed

ListItemComponent {
    type: "item"
    StampItem {
    }
}

TO

ListItemComponent {
    type: "item"
    WebView {
        url: "http://m.crackberry.com"
        onNavigationRequested: {
            console.debug ("NavigationRequested: " + request.url + " navigationType=" + request.navigationType)
        }
    }
}

For the rest, I'm afraid, you must debug that, and as I said on the other thread, you may need to work with defined WebView signals and properties, it is adequate and working. Also, in this regard signals take a look at the WebView.qml on the cascadescookbookqml example application, available under https://github.com/blackberry/Cascades-Samples/tree/master/cascadescookbookqml

Tags: BlackBerry Developers

Similar Questions

  • JavaFX 2.0 WebView crashes if the application is signed

    I use WebView to provide a set of help pages in my application.
    The help pages are included in a resource directory called html.

    I get the first URL with the following lines of code:
    Index URL = NgpConfiguratorApp.class.getResource("/html/index.html");
    String url = "file://" + index.getPath ();

    I then open the URL with WebView and it works perfectly.
    I am able to browse my help pages perfectly.

    However if I sign the pot (of in NetBeans using the valid signature 6 months) and then run the program, everything works perfectly (access of database XML import/export etc.) until I tried access help pages through WebView to which PR\648606FR the program hangs up completely.

    Is this a bug in the Web view or am I missing something. I've included the complete class list below.


    COMPLETE LIST
    ============

    SerializableAttribute public class HelpBrowser extends scene {}

    public HelpBrowser() {}
    Super();
    init();
    }


    private void init() {}
    Point primaryStage = new Stage();
    primaryStage.setTitle ("AviatorCalc Help Pages");

    Index URL = NgpConfiguratorApp.class.getResource("/html/index.html");
    String url = "file://" + index.getPath ();
    Root of group = new Group();
    primaryStage.setScene (new Scene (root));
    WebView view = new WebView();

    view.setMinSize(1024, 768);
    view.setPrefSize(1024, 768);
    final WebEngine eng = view.getEngine ();
    Eng. Load (URL);

    final locationField TextField = new TextField (url);
    locationField.setMaxHeight (Double.MAX_VALUE);
    GoButton button = new Button ("Go");
    BackButton button = new Button ("Back");
    goButton.setDefaultButton (true);
    goButton.setId ("browserbutton");

    EventHandler < ActionEvent > goAction = new EventHandler < ActionEvent > () {}

    @Override
    {} public void handle (ActionEvent event)
    Eng. Load (locationField.GetText (). StartsWith("")? locationField.getText)
    (: ' "+ locationField.getText ());
    }
    };
    goButton.setOnAction (goAction);
    locationField.setOnAction (goAction);
    eng.locationProperty () .addListener (new ChangeListener < String > () {}

    @Override
    public void changed (ObservableValue <? extends String > observable, String oldValue, String newValue) {}
    locationField.setText (newValue);
    }
    });
    Grid GridPane = new GridPane();
    grid.setVgap (5);
    grid.setHgap (5);
    GridPane.setConstraints (locationField, 0, 0, 1, 1, HPos.CENTER, VPos.CENTER, Priority.ALWAYS, Priority.SOMETIMES);
    GridPane.setConstraints (goButton, 1, 0);
    GridPane.setConstraints (goButton, 2, 0);
    GridPane.setConstraints (display, 0, 1, 2, 1, HPos.LEFT, VPos.CENTER, Priority.ALWAYS, Priority.ALWAYS);
    grid.getColumnConstraints (.addAll)
    New ColumnConstraints (500, 100, Double.MAX_VALUE, Priority.ALWAYS, HPos.CENTER, true);
    New ColumnConstraints (40, 40, 40, Priority.NEVER, HPos.CENTER, true));
    grid.getChildren () .addAll (locationField, goButton, view);
    grid.getChildren () .addAll (view);
    root.getChildren () .add (grid);
    primaryStage.show ();
    }
    }

    This seems suspect-online

    URL index = NgpConfiguratorApp.class.getResource("/html/index.html");
    String url = "file://" + index.getPath();
    

    In my view, adding the file:// Protocol when the resource is loaded from the pot will not.

    To load html from the classpath in WebView all that you need to do is place the HTML is the same package as the class Java calling the load method and call:

    engine.load(getClass().getResource("mypage.html").toExternalForm());
    
  • Keep SIM city crashing this game ruin my iPad?

    MY iPad freezes when I travel in my game Sim City build. This game ruin the iPad? Why my game crashes constantly?

    It is very likely that the game requires more resources than your ipad a. I have an iPad 2 and it has a tolerance for graphics applications much lower than my mini 4 (somewhat obvious account bound to the difference between the processor and ram)

    Unfortunately, the game can be too much for your iPad.

    You can try to force it to close all apps you don't use of free resources as much as possible for your game. Double-click the home button and scan all unnecessary applications off the screen to close. then simple tap on the home page to exit this mode. Also, I restarted my iPad and iPod older on a daily basis. Press the sleep and home for about 20 seconds. When you see the silver Apple, let go and let it reboot and see if that helps.

  • Sims House Party, the installation program starts, then immediately closes, gives me the error "0 x 80040707 - call function DLL crashed: SORTS." PathGetSpecialFolder.

    original title: error number: 0 x 80040707
    When I try to install the Sims House Party, the installer launches and then immediately closes, gives me the error "0 x 80040707 - call function DLL crashed: SORTS." PathGetSpecialFolder.

    According to the compatility of Windows 7, the House Party is compatible under 64-bit and 32-bit Windows 7. I tried to install it on another computer running Windows 7 32 bit and the error does not occur.

    I am running Windows 7 Professional 64 bit.

    Looks like that method 1 solved my problem.  Normally, I would get this message several times a day.  For more than 3 hours I applied the method 1, and the error has not appeared again.  Thank you very much.

  • Sims game crashes and ends on Windows 7.

    Original title: The Sims 2 + Windows 7

    I just bought the Samsung RV510's laptop. Installed the Sims 2 on it, but when I go to run the game it crashes & said will end today. Help, please?

    Hello

    1. How did you install the game on the system?

    2 a successful installation?

    3. What is the exact error message you get when the game crashes?

    4 is the issue limited to the Sims game?

    Method:

    Follow the link below, perform the steps and check if it helps.

    Game hangs or quits unexpectedly

    http://support.Microsoft.com/kb/303032 (Applicable to the Sims)

    Let us know if it helps.

  • System crash while playing the Sims 3 'Model HP H8 - 1250a'

    Original title: have a model HP H8 - 1250 A and it just crashed all playing the Sims 3. It's only a week, if that.

    Have a HP H8 - 1250a model and it just crashed all playing the Sims 3, is only a week old so that... What can I do to prevent it happening again?

    Hello

    1. are you able to start the computer in normal mode?
    2. What is the exact error message or error code?
    3. is that the question is limited to this game?

    Try the next method and check if it helps.

    Method 1:

    Game hangs or quits unexpectedly: http://support.microsoft.com/kb/303032


    Method 2:

    If you are not able to connect to the system, I suggest you follow the below mentioned steps.

    Step 1:
    Try to start in safe mode

    How to start in safe mode in Windows 7: http://windows.microsoft.com/en-US/windows7/Start-your-computer-in-safe-mode

    If you are able to connect in safe mode, and then perform step 2 and check if that helps.

    Step 2:

    Try a clean boot to safe mode and restart the computer in normal mode.

    How to solve problems using the clean boot in Windows 7: http://support.microsoft.com/kb/929135

    Note: Once the diagnosis has been made, make sure that you try to step 7 of the article to reset the computer as usual.

  • The Sims 3 create a world tool beta crash

    I tried to install the sims 3 create a world tool beta, and whenever I try to open it, it displays error messages indicating that the data didn't were not founnd, the site crashed and I had to close the windows Task Manager. Then, it closes by itself.

    Hello

    1. How did you install it?

    2. What is the exact error message do you get?

    I suggest you to follow the steps from the link below and check if it helps:

    Game hangs or quits unexpectedly: http://support.microsoft.com/kb/303032

    (The above article is also valid for the Sims 3 game)

    Hope this information is useful.

  • My Sims 2 guard game crashing and arrival and I would like to know how to operate!

    Advent laptop

    64 bit
    Windows 8

    Hi Izzy,

    Thanks for posting your question in the Microsoft Community forums.

    The description of the problem, I see from the SIMS 2 game crashes to Windows 8.

    I imagine the inconvenience that you are experiencing. We are here to help and guide you in the right direction.

    To provide the proper resolution, that I would need more information on your side.

    Do you get any error messages?

    Method 1:
    I suggest you check the game manufacturer if SIMS2 is compatible with Windows 8 or not because the information isn't available in the Compatibility Center.

    http://www.Microsoft.com/en-us/Windows/compatibility/WIN8/CompatCenter/ProductDetailsViewer?type=software&name=the%20Sims%202&vendor=EA&ModelOrVersion=1&locale=1033&BreadcrumbPath=Sims&tempOsid=WIN8

    Method 2:
    You also, try to install the game in compatibility mode.

    a. right click on the Installer file and select Properties.
    b. Select tab compatibility.
    c. place a check next to run this program in compatibility mode and select Windows 7 operating system in the drop-down list.
    d. let the driver to install, and then check the functionality.

    If the problem persists, I suggest you to contact the game Support for assistance.

    Let us know the status of the issue after you perform the troubleshooting steps. If you need help or information about the issue with the game the SIMS 2, I'll be happy to help you. We, at tender Microsoft to excellence.

  • Computer crashes when you try to install the Sims 2: Double Deluxe from the disk

    Original title: need help to install the Sims 2 double deluxe on windows 7!

    So I bought a new hp laptop the other day with windows 7. When I tried to install the sims 2, AutoPlay does not appear. I therefore went into my computer and right-click on the driver to open the disc so I could install it elsewhere instead, but it freezes on me. I tried a couple times, but it keeps freezing. And the only way to stop the gel's out the disc deluxe double sims 2. I'm reallly need help with this problem.

    Hi kitkatz155,

    You can try to start the computer in a clean boot state, try to install the game and check if this solves the problem.

    Start your computer in a clean boot state helps determine if third-party applications or startup items are causing the problem. If so, you need to maybe contact the manufacturer of the program for updates or uninstall and reinstall the program.

    See How to solve a problem by performing a boot in Windows Vista or in Windows 7

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Hope this information helps.

    Gokul - 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.]

  • Sims 3 crashes on startup with a script error

    Im having problems with the sims 3 someone can help?

    Hello someone can help me.

    I have a computer laptop windows 7 and have tried to install the sims 3, which starts to play then goes down (well goes back to my desktop screen) it then comes up with a script error. any help is greatly received, because it seems that I can not play any sims on this laptop and im so angry.

    Kay x

    Hello

    1 did you change on your computer?

    2. What is the exact error message you received?

    I suggest you to follow the links and check out them.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

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

    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

  • FirefoxOS crash overlays added through almost everything

    A month before while I was taking a call, firefoxOS crashed into a whole.

    It restarted without having to reboot the phone (not sim lock).

    a mozilla crash reporter has opened and I sent the mozilla crash report.

    After that most of the installed applications appear white.

    but all the content is there. I can scroll, I can type, I can drag, I can call. but I have to do it blind.

    I added a few screenshots that will show the problem.

    Question: How to read the crash with BAD report?
    Question: How can I return to a normal diet? (best wouldt be true ADB/recovery)

    Phone: Alcatel One Touch light E (X 6015) system: FirefoxOS 2.0 (obtained through update FOTA to Christmas as described here: https://www.soeren-hentzschel.at/mozilla/firefox-os/2014/12/25/fire-e-alcatel-one-touch-verteilt-firefox-os-2-0-und-firefox-hello/ )

    Unfortunately I can't systemsettings to see the build number exactly...

    I made a solution myself - >

    cause: send the phone to any outcome of partner service within 3 to 5 weeks of wait times just to get a reset of the software (in min.) is really annoying for me.

    I deleted the cache and done a factory reset in recovery mode, which i have reached now the volume to top + power button together on the tour off the phone.

    That did the trick.

    PS. : I'll start now I have other questions

  • SIM free iPhone?

    IOS 5 s iPhone 9.3.2 "Telekom Srbija" (MTS) locked this phone for only usable with their Sims... now the problem is I travel a bit and I have a couple of sim different maps for different country... what I would like to ask is:

    (1) is it possible to unlock it without my provider? (They insist on blocked it for 2 years from the date of purchase... and I would deal with another company in the world with them)

    (2) if not how to do a sim card full release would you recommend >?

    (a factory reset I guess won't work, but perhaps completely reinstall new OS?)

    Too many people claim to be able to do, but I really do not trust one of these shady methods. In addition, they cost almost as much as the phone itself.

    Thank you in advance.

    Only the carrier, that the device is locked can authorize an unlock. You can not release 'no carrier' as you request. You should have bought an unlocked phone. The places that you see that claim to do this for a price come to get your money and your phone hacking. It crashes again the next time that update you.

  • 9.3 update causing constant crash

    Since I've updated my ipad 2 to 9.3, it has been constantly crashing and restarting.

    Udated ive to 9.3.1 erased and restored sauvegardΘ twice, all without success.

    When I did the Update 9.3, I have also suffered from No 3g bug, reinsert the sim whil it was fixed that.

    The other symptom is all the apps back very very slow and sometimes crashing to the main screen.

    but especially the ipad all crashes and restarts.

    for example, at the time of the ipad restart 5 times during playback in the kindle app.

    He crashed twice written this message.

    It was a little slow, but perfectly reliable before the 9.3 update.

    Help please!

    Backup the device to iTunes - restore as NEW (no) - see if solves problem - if yes - restore backup

  • Portege R600-13Z - Toshiba utility SMS - slow / stop when the SIM is in!

    Hello

    Portege R600-13Z running XP Pro.

    Recently updated the firmware and the Wireless Manager to try to get 3g / GPRS comms to work at all. Updated worked a treat and have now great comms.

    Utility of SMS does not work too well if. Very, very slow or crashes.

    Wierdness: out the SIM card to use the phone to send a few texts and with the SIM on SMS utility works very well (!) starts, allows composition, everything except the real /sending/ of the text, which is of course not possible because the SIM card is somewhere else.

    Anyone encountered this problem, and is there a solution?

    Thank you very much

    Evan

    null

    > took out the SIM card to use the phone to send a few texts and with the card SIM SMS utility works great
    If you noticed delays in using DMD utility only with the inserted SIM card?

    Hmm I m not very well why this happens, but I know it s not recommended to insert the SIM card if the system is already running.
    You must shut down the laptop, must insert the SIM card and then you should power the device in place.
    Then you could test this once more.

  • Satellite A200 - 15l (PSAE2E) - BSOD play Sims 3

    Hello

    I've been running the Sims 3 on my laptop for a few days.
    It had been fine until last night when I had the * _display driver igfx stopped responding and has managed to recovered_ error.
    This led to the screen, blacking out and eventually turn to blue.

    I have a Toshiba Satellite A200 - 15l

    Model # :* PSAE2E - 00J00CAV
    Processor: * Genuine Intel(r) CPU T2080 @ 1.73GHz 1.73GHz
    RAM * 2.00 GB
    System type: * 32-bit operating system

    I use Windows Vista Home Premium w / service pack 1.

    I'm not very tech savvy, so you will have to bare with me, my apologies for that, I'm not sure where to find what graphic card I don't have 100%.
    I found "+ Mobile Intel (r) Express Chipset family 945 + y ' tab display of maps in the management of the computer if this is useful.
    If this isn't the case, could you please tell me how to find any additional information, you may be able to help me with this problem.

    I've updated the Express CHipset Family driver, I have just mentioned, installed all updates of windows my computer found and tried to run the game out of full screen in xp compatibility as well, but none of this stopped the game crashing.

    Any advice would be very helpful, sorry if I have not provided all the necessary information.

    Martin

    Hello

    Normally to reinstall the display driver should solve the problem, but before that, you first remove the old version of the driver.
    Your laptop is equipped with an Intel 943GML graphics controller and driver can be based on the Toshiba site:
    http://EU.computers.Toshiba-Europe.com > support & downloads > download drivers

    The same error on my laptop's girlfriend with the SIMS 3 and update the display driver solves the problem. :)

Maybe you are looking for