1. #1
    Ext User
    Join Date
    May 2008
    Location
    Phoenix, AZ
    Posts
    223
    Vote Rating
    0
    posta07 is on a distinguished road

      0  

    Default Application hangs at loading screen in FF3

    Application hangs at loading screen in FF3


    Has anyone else experienced this?

    I realize my description that follows may be vague, but I'm hoping others have experienced this...

    Upon loading my application, FF3 just hangs at the "Loading..." screen. I see that the entire GWT javascript gets loaded (using firebug I can verify this), but the loading panel doesn't go away and the app's main screen doesn't appear. The problem is, it's completely random. For the first half of the day, it will work fine. Then it starts to screw up.

    Any suggestions?

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    2
    gslender is on a distinguished road

      0  

    Default


    I've seen this when an exception was thrown for some reason etc... I would guess that is what is happening here too.

  3. #3
    Ext User
    Join Date
    May 2008
    Location
    Phoenix, AZ
    Posts
    223
    Vote Rating
    0
    posta07 is on a distinguished road

      0  

    Default


    That's what I was thinking, but I did not see any exceptions bubbling up. I'll investigate a little further.

    I am perplexed, though, that the error occurs in Mozilla but not IE... lol.. usually it's the other way around.

  4. #4
    Ext GWT Premium Member
    Join Date
    Aug 2008
    Posts
    82
    Vote Rating
    0
    cravemusic is on a distinguished road

      0  

    Default


    To be more specific, I've seen this when a Java Runtime exception is thrown, like a NullPointerException, ClassCastException, or IllegalArguementException. Javascript is unable to handle these specific exception types, so it stops execution completely. No information about a specific exception type being the problem will be available from the browser because it doesn't even understand that an exception was thrown in these cases. The way to fix this is to catch the generic Exception object.

  5. #5
    Ext User
    Join Date
    May 2008
    Location
    Phoenix, AZ
    Posts
    223
    Vote Rating
    0
    posta07 is on a distinguished road

      0  

    Default


    I really do appreciate all your responses.

    I am somewhat more at ease now, because you're probably both right.

    I just found that we have a major database problem. That certainly would cause exceptions to be thrown lol.

  6. #6
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    2
    gslender is on a distinguished road

      0  

    Default


    when I added this to my app, I found a bunch of web-mode issues that were silently happening without browser errors.... worth adding

    Code:
    		GWT.setUncaughtExceptionHandler(new UncaughtExceptionHandler() {
                public void onUncaughtException(Throwable caught) {
    				ErrorDialog.handleError(caught);
                }
            });
    ErrorDialog just shows the error to the user... and I take it from there...

  7. #7
    Ext User
    Join Date
    May 2008
    Location
    Phoenix, AZ
    Posts
    223
    Vote Rating
    0
    posta07 is on a distinguished road

      0  

    Default


    Thanks man. I'll definitely add that.

    Cheers

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar