Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Application working in Dev mode but not in Tomcat

    HEllo there,

    I am using SmartClient Version: v10.0p_2015-07-08/PowerEdition Deployment (built 2015-07-08) with FF26.

    I tested my application on the dev mode and all is working as expected. But then when I wanted to test my application in Tomcat,some of the frames are not opening!!. What could it be...I tried different debug but no luck. Dont understand why it works in dev mode but when I take it to Tomcat it is not running those three frames.
    I also checked the Logfile in tomcat and there is no error in there.so it has become difficult to debug this issue.can somebody help me to get to the cause of it.I have also attached shot to make things easy to understand.

    cheers
    Zolf
    Attached Files

    #2
    OK, in the developer Console I get this error in the Results Tab--Log Messages. I have no clue what it is saying,Can somebody help me debug it!!

    cheers
    Zolf

    13:57:27.170:MUP2:WARN:Log:com.google.gwt.event.shared.UmbrellaException: Exception caught: undefined
    at Fr()
    at Gw()
    at Jw()
    at hw()
    at dw()
    at yP()
    at iO()
    at Wl()
    at Fyb()
    at tw()
    at hw()
    at zc()
    at Jc()
    at im/f<()
    at is()
    at ms()
    at ls/<()
    at isc_TreeGrid_rowClick()
    at anonymous()
    at isc_GridRenderer__rowClick()
    at isc_c_Class_invokeSuper()
    at isc_c_Class_Super()
    at isc_GridBody__rowClick()
    at isc_GridRenderer_click()
    at isc_c_Class_invokeSuper()
    at isc_c_Class_Super()
    at isc_TreeGridBody_click()
    at isc_Canvas_handleClick()
    at isc_c_EventHandler_bubbleEvent()
    at isc_c_EventHandler_handleClick()
    at isc_c_EventHandler__handleMouseUp()
    at isc_c_EventHandler_handleMouseUp()
    at isc_c_EventHandler_dispatch()
    at anonymous()
    at anonymous()
    13:57:28.058:XRP1:WARN:Log:Uncaught exception escaped: java.lang.ClassCastException
    undefined
    at Dr()
    at pzb()
    at mz()
    at hfb()
    at Xfb()
    at rh()
    at Cp()
    at Dp()
    at fp()
    at Ue()
    at u6/i.callback<()
    at is()
    at ms()
    at ls/<()
    at isc_c_Class_fireCallback()
    at isc_Class_fireCallback()
    at isc_c_RPCManager_fireReplyCallback()
    at PU/$wnd.isc.RPCManager.fireReplyCallback()
    at isc_c_RPCManager_fireReplyCallbacks()
    at isc_c_RPCManager_handleLoginSuccess()
    at isc_c_RPCManager_processLoginStatusText()
    at isc_c_RPCManager_performTransactionReply()
    at anonymous()
    at isc_c_Class_fireCallback()
    at isc_c_Comm_performXmlTransactionReply()
    at anonymous()
    at isc_c_Class_fireCallback()
    at isc_c_Comm__fireXMLCallback()
    at isc_c_Comm_sendXmlHttpRequest/_13()
    at anonymous()

    Comment


      #3
      You've got a crash somewhere in your own code. Those methods are obfuscated JavaScript generated by GWT from your Java code.

      You should try using SuperDevMode and/or using obfuscation settings on the GWT compiler so that you can get more information on which part of your code is crashing.

      Comment


        #4
        You should try using SuperDevMode and/or using obfuscation settings on the GWT compiler so that you can get more information on which part of your code is crashing.
        Thanks for your feedbacks. Can you please tell me or provide some link where it tells me how to set those things you mentioned.

        Comment


          #5
          With the recent Eclipse GWT plugin, running in SuperDev mode is very easy.
          A Right-click on your project shows a context menu which should include "Run As..."
          The Run As options should include something like "Web App (Super Dev Mode)".

          You can then run the app in your browser and use the in-browser debugger to debug errors. The "Source Maps" feature of the debugger (available in Chrome - see this page) should show you Java Source in the debugger so you can see exactly what's going on.

          Alternatively, you can change the obfuscation / minification level of the compiled java code when you perform your GWT compile / deploy step by specifying "-style" - see the discussion here

          Hope this helps

          Isomorphic Software

          Comment


            #6
            Thanks for your feedbacks.

            Comment

            Working...
            X