Announcement

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

    Transport Error appearing in Chrome

    I have a strange transport error message appearing even before the first request gets to our servlet in Chrome. I was wondering what scenarios would cause this error? I can see that the first fetch is called in the listgrid before it is fully drawn. Could this be the cause?

    Transport error - HTTP code: 0 for URL: http://localhost:8080/cwf/a

    #2
    No, it wouldn't matter if a grid was not drawn.

    From some brief Googling there is an already-fixed Chrome bug that could cause this for an empty xmlHttpRequest, but we can't tell anything about this request from just the URL.

    Comment


      #3
      hmm ok. I did a check to only do a fetch if the table is drawn and now I don't get that error anymore. I'll revert my change and try with the latest chrome.

      Comment


        #4
        There's definitely no general issue with an undrawn ListGrid fetching. Your change probably reordered operations in a way that avoids the true cause of the problem.

        Comment


          #5
          Ok. Upgraded Chrome to 19.0.1084.52 m and I am still seeing this popup - any way I can get more info using the debugger? What logging should I turn on?

          Comment


            #6
            First few steps are the same as for any similar issue: what's in the RPC tab and the Developer Console. You can also use Chrome's Developer Tools (press f12) to see the actual network request and response.

            Comment


              #7
              Ok. I don't know if this is actually the request but it is the only one i see with /a in the Networks Tools list.

              Code:
              Request URL:http://localhost:8081/cwf/a?isc_rpc=1&isc_v=v8.2p_2012-05-17&isc_xhr=1
              Request Headersview source
              Content-Type:application/x-www-form-urlencoded; charset=UTF-8
              Origin:http://localhost:8081
              Referer:http://localhost:8081/cwf/
              User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5
              Query String Parametersview URL encoded
              isc_rpc:1
              isc_v:v8.2p_2012-05-17
              isc_xhr:1
              Form Dataview URL encoded
              isc_tnum:0
              _transaction:<transaction xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:type="xsd:Object"><transactionNum xsi:type="xsd:long">0</transactionNum><operations xsi:type="xsd:List"><elem xsi:type="xsd:Object"><criteria xsi:type="xsd:Object"></criteria><operationConfig xsi:type="xsd:Object"><dataSource>page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable$ds</dataSource><operationType>fetch</operationType><textMatchStyle>exact</textMatchStyle></operationConfig><startRow xsi:type="xsd:long">0</startRow><endRow xsi:type="xsd:long">75</endRow><componentId>page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable</componentId><appID>builtinApplication</appID><operation>page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable$ds_fetch</operation><oldValues xsi:type="xsd:Object"></oldValues></elem></operations></transaction>
              protocolVersion:1.0

              Comment


                #8
                OK.. let us know when you can gather all the other information we requested.

                Comment


                  #9
                  The ONLY request in the RPC tab by the time the first request comes in our servlet:

                  Code:
                  {
                      "actionURL":"http://localhost:8081/cwf/a", 
                      "showPrompt":false, 
                      "prompt":"Finding records that match your criteria...", 
                      "transport":"xmlHttpRequest", 
                      "promptStyle":"cursor", 
                      "bypassCache":true, 
                      "data":{
                          "criteria":{
                          }, 
                          "operationConfig":{
                              "dataSource":"page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable$ds", 
                              "repo":null, 
                              "operationType":"fetch", 
                              "textMatchStyle":"exact"
                          }, 
                          "startRow":0, 
                          "endRow":75, 
                          "componentId":"page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable", 
                          "appID":"builtinApplication", 
                          "operation":"page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable$ds_fetch", 
                          "oldValues":{
                          }, 
                          "streamResults":null, 
                          "exportToFilesystem":null, 
                          "exportToClient":null
                      }
                  }


                  The ONLY /a request in Chrome Dev Tools by the time the first request comes in our servlet:


                  Code:
                  Request URL:http://localhost:8081/cwf/a?isc_rpc=1&isc_v=v8.2p_2012-05-17&isc_xhr=1
                  Request Headersview source
                  Content-Type:application/x-www-form-urlencoded; charset=UTF-8
                  Origin:http://localhost:8081
                  Referer:http://localhost:8081/cwf/
                  User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5
                  Query String Parametersview URL encoded
                  isc_rpc:1
                  isc_v:v8.2p_2012-05-17
                  isc_xhr:1
                  Form Dataview URL encoded
                  isc_tnum:0
                  _transaction:<transaction xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:type="xsd:Object"><transactionNum xsi:type="xsd:long">0</transactionNum><operations xsi:type="xsd:List"><elem xsi:type="xsd:Object"><criteria xsi:type="xsd:Object"></criteria><operationConfig xsi:type="xsd:Object"><dataSource>page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable$ds</dataSource><operationType>fetch</operationType><textMatchStyle>exact</textMatchStyle></operationConfig><startRow xsi:type="xsd:long">0</startRow><endRow xsi:type="xsd:long">75</endRow><componentId>page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable</componentId><appID>builtinApplication</appID><operation>page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable$ds_fetch</operation><oldValues xsi:type="xsd:Object"></oldValues></elem></operations></transaction>
                  protocolVersion:1.0

                  Comment


                    #10
                    And the responses were?

                    And what's in the Developer Console?

                    Comment


                      #11
                      Please note that the /a request that I see in the Networks tab does get a response from our server but the Transport error message is already showing in the UI before the request is received. This is why I think these requests are not related to the message.


                      RPC response:

                      Code:
                      [
                          {
                              data:[
                                  {
                                      cwPK__:"1", 
                                      $isCwSelected:false, 
                                      showGroupByLabel$cwEdit$:false, 
                                      showGroupByLabel:"New Customer Signature Home", 
                                      priorityValue:750, 
                                      $cwpriorityValue:"750", 
                                      divisionId:"Syracuse", 
                                      deriveOrderCount$cwEdit$:false, 
                                      deriveOrderCount:"10", 
                                      $cwderiveOrderCount:"10", 
                                      converttohoursMinutes$cwEdit$:false, 
                                      converttohoursMinutes:"627 hr 33 min", 
                                      returnQueueColor$cwEdit$:true, 
                                      returnQueueColor:"/pics/1_red.png", 
                                      returnQueueColor$imageWidth:16, 
                                      returnQueueColor$imageHeight:16
                                  }, 
                                  {
                                      cwPK__:"2", 
                                      $isCwSelected:false, 
                                      showGroupByLabel$cwEdit$:false, 
                                      showGroupByLabel:"New Customer Signature Home", 
                                      priorityValue:750, 
                                      $cwpriorityValue:"750", 
                                      divisionId:"South West Ohio", 
                                      deriveOrderCount$cwEdit$:false, 
                                      deriveOrderCount:"10", 
                                      $cwderiveOrderCount:"10", 
                                      converttohoursMinutes$cwEdit$:false, 
                                      converttohoursMinutes:"627 hr 22 min", 
                                      returnQueueColor$cwEdit$:true, 
                                      returnQueueColor:"/pics/1_red.png", 
                                      returnQueueColor$imageWidth:16, 
                                      returnQueueColor$imageHeight:16
                                  }, 
                                  {
                                      cwPK__:"3", 
                                      $isCwSelected:false, 
                                      showGroupByLabel$cwEdit$:false, 
                                      showGroupByLabel:"New Customer Signature Home", 
                                      priorityValue:750, 
                                      $cwpriorityValue:"750", 
                                      divisionId:"National", 
                                      deriveOrderCount$cwEdit$:false, 
                                      deriveOrderCount:"10", 
                                      $cwderiveOrderCount:"10", 
                                      converttohoursMinutes$cwEdit$:false, 
                                      converttohoursMinutes:"626 hr 30 min", 
                                      returnQueueColor$cwEdit$:true, 
                                      returnQueueColor:"/pics/1_red.png", 
                                      returnQueueColor$imageWidth:16, 
                                      returnQueueColor$imageHeight:16
                                  }, 
                                  {
                                      cwPK__:"4", 
                                      $isCwSelected:false, 
                                      showGroupByLabel$cwEdit$:false, 
                                      showGroupByLabel:"New Customer Signature Home", 
                                      priorityValue:750, 
                                      $cwpriorityValue:"750", 
                                      divisionId:"San Diego", 
                                      deriveOrderCount$cwEdit$:false, 
                                      deriveOrderCount:"10", 
                                      $cwderiveOrderCount:"10", 
                                      converttohoursMinutes$cwEdit$:false, 
                                      converttohoursMinutes:"626 hr 29 min", 
                                      returnQueueColor$cwEdit$:true, 
                                      returnQueueColor:"/pics/1_red.png", 
                                      returnQueueColor$imageWidth:16, 
                                      returnQueueColor$imageHeight:16
                                  }, 
                                  {
                                      cwPK__:"5", 
                                      $isCwSelected:false, 
                                      showGroupByLabel$cwEdit$:false, 
                                      showGroupByLabel:"New Customer Signature Home", 
                                      priorityValue:750, 
                                      $cwpriorityValue:"750", 
                                      divisionId:"South Texas", 
                                      deriveOrderCount$cwEdit$:false, 
                                      deriveOrderCount:"10", 
                                      $cwderiveOrderCount:"10", 
                                      converttohoursMinutes$cwEdit$:false, 
                                      converttohoursMinutes:"626 hr 29 min", 
                                      returnQueueColor$cwEdit$:true, 
                                      returnQueueColor:"/pics/1_red.png", 
                                      returnQueueColor$imageWidth:16, 
                                      returnQueueColor$imageHeight:16
                                  }, 
                                  {
                                      cwPK__:"6", 
                                      $isCwSelected:false, 
                                      showGroupByLabel$cwEdit$:false, 
                                      showGroupByLabel:"New Customer Double Play", 
                                      priorityValue:650, 
                                      $cwpriorityValue:"650", 
                                      divisionId:"Wisconsin", 
                                      deriveOrderCount$cwEdit$:false, 
                                      deriveOrderCount:"10", 
                                      $cwderiveOrderCount:"10", 
                                      converttohoursMinutes$cwEdit$:false, 
                                      converttohoursMinutes:"638 hr 6 min", 
                                      returnQueueColor$cwEdit$:true, 
                                      returnQueueColor:"/pics/1_red.png", 
                                      returnQueueColor$imageWidth:16, 
                                      returnQueueColor$imageHeight:16
                                  }, 
                                  {
                                      cwPK__:"7", 
                                      $isCwSelected:false, 
                                      showGroupByLabel$cwEdit$:false, 
                                      showGroupByLabel:"New Customer Double Play", 
                                      priorityValue:650, 
                                      $cwpriorityValue:"650", 
                                      divisionId:"Buffalo", 
                                      deriveOrderCount$cwEdit$:false, 
                                      deriveOrderCount:"10", 
                                      $cwderiveOrderCount:"10", 
                                      converttohoursMinutes$cwEdit$:false, 
                                      converttohoursMinutes:"637 hr 43 min", 
                                      returnQueueColor$cwEdit$:true, 
                                      returnQueueColor:"/pics/1_red.png", 
                                      returnQueueColor$imageWidth:16, 
                                      returnQueueColor$imageHeight:16
                                  }, 
                                  {
                                      cwPK__:"8", 
                                      $isCwSelected:false, 
                                      showGroupByLabel$cwEdit$:false, 
                                      showGroupByLabel:"New Customer Triple Play", 
                                      priorityValue:650, 
                                      $cwpriorityValue:"650", 
                                      divisionId:"National", 
                                      deriveOrderCount$cwEdit$:false, 
                                      deriveOrderCount:"10", 
                                      $cwderiveOrderCount:"10", 
                                      converttohoursMinutes$cwEdit$:false, 
                                      converttohoursMinutes:"626 hr 29 min", 
                                      returnQueueColor$cwEdit$:true, 
                                      returnQueueColor:"/pics/1_red.png", 
                                      returnQueueColor$imageWidth:16, 
                                      returnQueueColor$imageHeight:16
                                  }, 
                                  {
                                      cwPK__:"9", 
                                      $isCwSelected:false, 
                                      showGroupByLabel$cwEdit$:false, 
                                      showGroupByLabel:"New Customer Triple Play", 
                                      priorityValue:650, 
                                      $cwpriorityValue:"650", 
                                      divisionId:"South West Texas", 
                                      deriveOrderCount$cwEdit$:false, 
                                      deriveOrderCount:"10", 
                                      $cwderiveOrderCount:"10", 
                                      converttohoursMinutes$cwEdit$:false, 
                                      converttohoursMinutes:"626 hr 29 min", 
                                      returnQueueColor$cwEdit$:true, 
                                      returnQueueColor:"/pics/1_red.png", 
                                      returnQueueColor$imageWidth:16, 
                                      returnQueueColor$imageHeight:16
                                  }, 
                                  {
                                      cwPK__:"10", 
                                      $isCwSelected:false, 
                                      showGroupByLabel$cwEdit$:false, 
                                      showGroupByLabel:"Existing Customer Single Play", 
                                      priorityValue:600, 
                                      $cwpriorityValue:"600", 
                                      divisionId:"National", 
                                      deriveOrderCount$cwEdit$:false, 
                                      deriveOrderCount:"10", 
                                      $cwderiveOrderCount:"10", 
                                      converttohoursMinutes$cwEdit$:false, 
                                      converttohoursMinutes:"626 hr 29 min", 
                                      returnQueueColor$cwEdit$:true, 
                                      returnQueueColor:"/pics/1_red.png", 
                                      returnQueueColor$imageWidth:16, 
                                      returnQueueColor$imageHeight:16
                                  }
                              ], 
                              endRow:10, 
                              invalidateCache:false, 
                              isDSResponse:true, 
                              queueStatus:0, 
                              startRow:0, 
                              status:0, 
                              totalRows:10
                          }
                      ]

                      Network tab response:

                      Code:
                      //isc_RPCResponseStart-->[{data:[{cwPK__:"1",$isCwSelected:false,"showGroupByLabel$cwEdit$":false,"showGroupByLabel":"New Customer Signature Home","priorityValue":750,"$cwpriorityValue":"750","divisionId":"Syracuse","deriveOrderCount$cwEdit$":false,"deriveOrderCount":"10","$cwderiveOrderCount":"10","converttohoursMinutes$cwEdit$":false,"converttohoursMinutes":"627 hr 33 min","returnQueueColor$cwEdit$":true,"returnQueueColor":"\/pics\/1_red.png",returnQueueColor$imageWidth:16,returnQueueColor$imageHeight:16},{cwPK__:"2",$isCwSelected:false,"showGroupByLabel$cwEdit$":false,"showGroupByLabel":"New Customer Signature Home","priorityValue":750,"$cwpriorityValue":"750","divisionId":"South West Ohio","deriveOrderCount$cwEdit$":false,"deriveOrderCount":"10","$cwderiveOrderCount":"10","converttohoursMinutes$cwEdit$":false,"converttohoursMinutes":"627 hr 22 min","returnQueueColor$cwEdit$":true,"returnQueueColor":"\/pics\/1_red.png",returnQueueColor$imageWidth:16,returnQueueColor$imageHeight:16},{cwPK__:"3",$isCwSelected:false,"showGroupByLabel$cwEdit$":false,"showGroupByLabel":"New Customer Signature Home","priorityValue":750,"$cwpriorityValue":"750","divisionId":"National","deriveOrderCount$cwEdit$":false,"deriveOrderCount":"10","$cwderiveOrderCount":"10","converttohoursMinutes$cwEdit$":false,"converttohoursMinutes":"626 hr 30 min","returnQueueColor$cwEdit$":true,"returnQueueColor":"\/pics\/1_red.png",returnQueueColor$imageWidth:16,returnQueueColor$imageHeight:16},{cwPK__:"4",$isCwSelected:false,"showGroupByLabel$cwEdit$":false,"showGroupByLabel":"New Customer Signature Home","priorityValue":750,"$cwpriorityValue":"750","divisionId":"San Diego","deriveOrderCount$cwEdit$":false,"deriveOrderCount":"10","$cwderiveOrderCount":"10","converttohoursMinutes$cwEdit$":false,"converttohoursMinutes":"626 hr 29 min","returnQueueColor$cwEdit$":true,"returnQueueColor":"\/pics\/1_red.png",returnQueueColor$imageWidth:16,returnQueueColor$imageHeight:16},{cwPK__:"5",$isCwSelected:false,"showGroupByLabel$cwEdit$":false,"showGroupByLabel":"New Customer Signature Home","priorityValue":750,"$cwpriorityValue":"750","divisionId":"South Texas","deriveOrderCount$cwEdit$":false,"deriveOrderCount":"10","$cwderiveOrderCount":"10","converttohoursMinutes$cwEdit$":false,"converttohoursMinutes":"626 hr 29 min","returnQueueColor$cwEdit$":true,"returnQueueColor":"\/pics\/1_red.png",returnQueueColor$imageWidth:16,returnQueueColor$imageHeight:16},{cwPK__:"6",$isCwSelected:false,"showGroupByLabel$cwEdit$":false,"showGroupByLabel":"New Customer Double Play","priorityValue":650,"$cwpriorityValue":"650","divisionId":"Wisconsin","deriveOrderCount$cwEdit$":false,"deriveOrderCount":"10","$cwderiveOrderCount":"10","converttohoursMinutes$cwEdit$":false,"converttohoursMinutes":"638 hr 6 min","returnQueueColor$cwEdit$":true,"returnQueueColor":"\/pics\/1_red.png",returnQueueColor$imageWidth:16,returnQueueColor$imageHeight:16},{cwPK__:"7",$isCwSelected:false,"showGroupByLabel$cwEdit$":false,"showGroupByLabel":"New Customer Double Play","priorityValue":650,"$cwpriorityValue":"650","divisionId":"Buffalo","deriveOrderCount$cwEdit$":false,"deriveOrderCount":"10","$cwderiveOrderCount":"10","converttohoursMinutes$cwEdit$":false,"converttohoursMinutes":"637 hr 43 min","returnQueueColor$cwEdit$":true,"returnQueueColor":"\/pics\/1_red.png",returnQueueColor$imageWidth:16,returnQueueColor$imageHeight:16},{cwPK__:"8",$isCwSelected:false,"showGroupByLabel$cwEdit$":false,"showGroupByLabel":"New Customer Triple Play","priorityValue":650,"$cwpriorityValue":"650","divisionId":"National","deriveOrderCount$cwEdit$":false,"deriveOrderCount":"10","$cwderiveOrderCount":"10","converttohoursMinutes$cwEdit$":false,"converttohoursMinutes":"626 hr 29 min","returnQueueColor$cwEdit$":true,"returnQueueColor":"\/pics\/1_red.png",returnQueueColor$imageWidth:16,returnQueueColor$imageHeight:16},{cwPK__:"9",$isCwSelected:false,"showGroupByLabel$cwEdit$":false,"showGroupByLabel":"New Customer Triple Play","priorityValue":650,"$cwpriorityValue":"650","divisionId":"South West Texas","deriveOrderCount$cwEdit$":false,"deriveOrderCount":"10","$cwderiveOrderCount":"10","converttohoursMinutes$cwEdit$":false,"converttohoursMinutes":"626 hr 29 min","returnQueueColor$cwEdit$":true,"returnQueueColor":"\/pics\/1_red.png",returnQueueColor$imageWidth:16,returnQueueColor$imageHeight:16},{cwPK__:"10",$isCwSelected:false,"showGroupByLabel$cwEdit$":false,"showGroupByLabel":"Existing Customer Single Play","priorityValue":600,"$cwpriorityValue":"600","divisionId":"National","deriveOrderCount$cwEdit$":false,"deriveOrderCount":"10","$cwderiveOrderCount":"10","converttohoursMinutes$cwEdit$":false,"converttohoursMinutes":"626 hr 29 min","returnQueueColor$cwEdit$":true,"returnQueueColor":"\/pics\/1_red.png",returnQueueColor$imageWidth:16,returnQueueColor$imageHeight:16}],endRow:10,invalidateCache:false,isDSResponse:true,queueStatus:0,startRow:0,status:0,totalRows:10}]//isc_RPCResponseEnd

                      Comment


                        #12
                        And here's the dev console:

                        Code:
                        
                        16:20:03.656:INFO:Log:initialized
                        16:20:03.819:WARN:Log:New Class ID: 'Window' collides with ID of existing object with value 'function Window() { [native code] }'.  Existing object will be replaced.
                        This conflict would be avoided by disabling ISC Simple Names mode.  See documentation for further information.
                        16:20:03.907:WARN:Log:New Class ID: 'Selection' collides with ID of existing object with value 'function Selection() { [native code] }'.  Existing object will be replaced.
                        This conflict would be avoided by disabling ISC Simple Names mode.  See documentation for further information.
                        16:20:04.374:WARN:Log:New Class ID: 'EditPane' collides with ID of existing Class object '[DataSource ID:EditPane]'.  Existing object will be replaced.
                        This conflict would be avoided by disabling ISC Simple Names mode.  See documentation for further information.
                        16:20:04.469:INFO:Log:isc.Page is loaded
                        16:20:05.031:WARN:Log:************************************layoutchildren NaN
                        16:20:05.032:WARN:Log:************************************cwResized NaN
                        16:20:05.037:WARN:Log:************************************layoutchildren NaN
                        16:20:05.037:WARN:Log:************************************cwResized NaN
                        16:20:05.040:WARN:Log:************************************layoutchildren NaN
                        16:20:05.040:WARN:Log:************************************cwResized NaN
                        16:20:05.056:WARN:Log:************************************layoutchildren NaN
                        16:20:05.056:WARN:Log:************************************cwResized NaN
                        16:20:05.072:WARN:Log:************************************layoutchildren NaN
                        16:20:05.072:WARN:Log:************************************cwResized NaN
                        16:20:05.426:WARN:ListGrid:page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable:hideField(): unable to find field object for field: priorityValue. Taking no action. To add this field use the setFields() method.
                        16:20:05.458:WARN:Log:************************************layoutchildren NaN
                        16:20:05.461:WARN:Log:************************************layoutchildren NaN
                        16:20:05.465:WARN:Log:************************************layoutchildren NaN
                        16:20:05.466:WARN:Log:************************************layoutchildren NaN
                        16:20:05.466:WARN:Log:************************************cwResized NaN
                        16:20:05.467:WARN:Log:************************************layoutchildren 0
                        16:20:05.481:WARN:Log:************************************layoutchildren 100
                        16:20:05.489:WARN:Log:************************************layoutchildren 0
                        16:20:05.515:WARN:Log:************************************layoutchildren NaN
                        16:20:05.540:WARN:Log:************************************layoutchildren 30
                        16:20:05.552:WARN:Log:************************************cwResized 30
                        16:20:05.552:WARN:Log:************************************cwResized 30
                        16:20:05.573:WARN:drawing:page$$LayoutSpacer21:negative or zero area: height: 3, width: 0, refusing to draw
                            Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
                            Canvas.readyToDraw()
                            Canvas.draw(_1=>undef)
                            Layout.layoutChildren(_1=>"initial draw", _2=>undef, _3=>undef)
                            Class.invokeSuper(_1=>null, _2=>"layoutChildren", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
                            Class.Super(_1=>"layoutChildren", _2=>Array[1], _3=>undef)
                            [o]VStack.layoutChildren(reason=>"initial draw")
                            Layout.drawChildren()
                            ** recursed on Canvas.draw
                        
                        16:20:05.577:WARN:Log:************************************layoutchildren NaN
                        16:20:05.737:WARN:drawing:page$$LayoutSpacer21:negative or zero area: height: 3, width: 0, refusing to draw
                            Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
                            Canvas.readyToDraw()
                            Canvas.draw(_1=>undef)
                            Layout.layoutChildren(_1=>"initial draw", _2=>undef, _3=>undef)
                            Class.invokeSuper(_1=>null, _2=>"layoutChildren", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
                            Class.Super(_1=>"layoutChildren", _2=>Array[1], _3=>undef)
                            [o]VStack.layoutChildren(reason=>"initial draw")
                            Layout.drawChildren()
                            ** recursed on Canvas.draw
                        
                        16:20:06.305:WARN:drawing:page$content$$content$LayoutSpacer521:negative or zero area: height: 0, width: 50, refusing to draw
                            Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
                            Canvas.readyToDraw()
                            Canvas.draw(_1=>undef)
                            Layout.layoutChildren(_1=>"initial draw", _2=>undef, _3=>undef)
                            Layout.drawChildren()
                            ** recursed on Canvas.draw
                        
                        16:20:06.313:WARN:drawing:page$content$$content$LayoutSpacer521:negative or zero area: height: 0, width: 50, refusing to draw
                            Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
                            Canvas.readyToDraw()
                            Canvas.draw(_1=>undef)
                            Layout.layoutChildren(_1=>"initial draw", _2=>undef, _3=>undef)
                            Layout.drawChildren()
                            ** recursed on Canvas.draw
                        
                        16:20:06.384:WARN:ResultSet:isc_ResultSet_0 (created by: page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable):Observation error: method goOffline is being observed on object [object Object] but the function appears to have been directly overridden. This may lead to unexpected behavior - to avoid seeing this message in the future, ensure the addMethods() or addProperties() API is used to modify methods on live SmartClient instances, rather than simply reassigning the method name to a new function instance.
                        16:20:06.453:WARN:Log:****SUPPOSED TO CALL FOCUS ITEM HERE
                        16:20:06.474:TMR2:WARN:Log:************************************layoutchildren 955
                        16:20:06.477:TMR2:WARN:Log:************************************layoutchildren 45
                        16:20:06.477:TMR2:WARN:Log:************************************layoutchildren 45
                        16:20:06.479:TMR2:WARN:Log:************************************layoutchildren 30
                        16:20:06.498:TMR2:WARN:Log:************************************cwResized 30
                        16:20:06.498:TMR2:WARN:Log:************************************cwResized 30
                        16:20:06.503:TMR2:WARN:Log:************************************layoutchildren 30
                        16:20:06.519:TMR2:WARN:Log:************************************cwResized 30
                        16:20:06.519:TMR2:WARN:Log:************************************cwResized 30
                        16:20:06.524:TMR2:WARN:Log:************************************cwResized 45
                        16:20:06.524:TMR2:WARN:Log:************************************cwResized 45
                        16:20:06.526:TMR2:WARN:Log:************************************cwResized 45
                        16:20:06.527:TMR2:WARN:Log:************************************cwResized 45
                        16:20:06.527:TMR2:WARN:Log:************************************layoutchildren 29
                        16:20:06.612:TMR2:WARN:Log:************************************cwResized 29
                        16:20:06.613:TMR2:WARN:Log:************************************cwResized 29
                        16:20:06.629:TMR2:WARN:drawing:page$$LayoutSpacer21:negative or zero area: height: 3, width: 0, refusing to draw
                            Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
                            Canvas.readyToDraw()
                            Canvas.draw(_1=>undef)
                            Layout.layoutChildren(_1=>"resized", _2=>undef, _3=>undef)
                            Class.invokeSuper(_1=>null, _2=>"layoutChildren", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
                            Class.Super(_1=>"layoutChildren", _2=>Array[1], _3=>undef)
                            [o]VStack.layoutChildren(reason=>"resized", -17, 0)
                            Canvas.$t1()
                            Canvas.moveBy(_1=>0, _2=>0, _3=>undef, _4=>true)
                            Canvas.moveTo(_1=>null, _2=>null, _3=>undef, _4=>true)
                            Canvas.setRect(_1=>null, _2=>null, _3=>"100%", _4=>"100%", _5=>undef)
                            Canvas.$qw(_1=>undef)
                            Canvas.pageResize(null, undef)
                            ** recursed on Class.invokeSuper
                        
                        16:20:06.698:TMR2:WARN:drawing:page$$LayoutSpacer21:negative or zero area: height: 3, width: 0, refusing to draw
                            Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
                            Canvas.readyToDraw()
                            Canvas.draw(_1=>undef)
                            Layout.layoutChildren(_1=>"resized", _2=>undef, _3=>undef)
                            Class.invokeSuper(_1=>null, _2=>"layoutChildren", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
                            Class.Super(_1=>"layoutChildren", _2=>Array[1], _3=>undef)
                            [o]VStack.layoutChildren(reason=>"resized", -17, 0)
                            Canvas.$t1()
                            Canvas.moveBy(_1=>0, _2=>0, _3=>undef, _4=>true)
                            Canvas.moveTo(_1=>null, _2=>null, _3=>undef, _4=>true)
                            Canvas.setRect(_1=>null, _2=>null, _3=>"100%", _4=>"100%", _5=>undef)
                            Canvas.$qw(_1=>undef)
                            Canvas.pageResize(null, undef)
                            ** recursed on Class.invokeSuper
                        
                        16:20:06.700:TMR2:WARN:Log:************************************cwResized 955

                        Comment


                          #13
                          Here's the dev console with RPCManager logging set to Info - I do see the following line:

                          16:34:46.717:INFO:RPCManager:sendQueue[0]: 1 RPCRequest(s); transport: xmlHttpRequest; target: http://localhost:8081/cwf/a?isc_rpc=1&isc_v=v8.2p_2012-05-17&isc_xhr=1

                          Code:
                          16:34:43.826:INFO:Log:initialized
                          16:34:44.087:WARN:Log:New Class ID: 'Window' collides with ID of existing object with value 'function Window() { [native code] }'.  Existing object will be replaced.
                          This conflict would be avoided by disabling ISC Simple Names mode.  See documentation for further information.
                          16:34:44.207:WARN:Log:New Class ID: 'Selection' collides with ID of existing object with value 'function Selection() { [native code] }'.  Existing object will be replaced.
                          This conflict would be avoided by disabling ISC Simple Names mode.  See documentation for further information.
                          16:34:44.684:WARN:Log:New Class ID: 'EditPane' collides with ID of existing Class object '[DataSource ID:EditPane]'.  Existing object will be replaced.
                          This conflict would be avoided by disabling ISC Simple Names mode.  See documentation for further information.
                          16:34:44.801:INFO:Log:isc.Page is loaded
                          16:34:45.158:WARN:Log:************************************layoutchildren NaN
                          16:34:45.159:WARN:Log:************************************cwResized NaN
                          16:34:45.162:WARN:Log:************************************layoutchildren NaN
                          16:34:45.162:WARN:Log:************************************cwResized NaN
                          16:34:45.165:WARN:Log:************************************layoutchildren NaN
                          16:34:45.165:WARN:Log:************************************cwResized NaN
                          16:34:45.179:WARN:Log:************************************layoutchildren NaN
                          16:34:45.180:WARN:Log:************************************cwResized NaN
                          16:34:45.189:WARN:Log:************************************layoutchildren NaN
                          16:34:45.190:WARN:Log:************************************cwResized NaN
                          16:34:45.704:WARN:ListGrid:page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable:hideField(): unable to find field object for field: priorityValue. Taking no action. To add this field use the setFields() method.
                          16:34:45.735:WARN:Log:************************************layoutchildren NaN
                          16:34:45.740:WARN:Log:************************************layoutchildren NaN
                          16:34:45.741:WARN:Log:************************************layoutchildren NaN
                          16:34:45.742:WARN:Log:************************************layoutchildren NaN
                          16:34:45.742:WARN:Log:************************************cwResized NaN
                          16:34:45.743:WARN:Log:************************************layoutchildren 0
                          16:34:45.758:WARN:Log:************************************layoutchildren 100
                          16:34:45.767:WARN:Log:************************************layoutchildren 0
                          16:34:45.794:WARN:Log:************************************layoutchildren NaN
                          16:34:45.817:WARN:Log:************************************layoutchildren 30
                          16:34:45.830:WARN:Log:************************************cwResized 30
                          16:34:45.830:WARN:Log:************************************cwResized 30
                          16:34:45.849:WARN:drawing:page$$LayoutSpacer21:negative or zero area: height: 3, width: 0, refusing to draw
                              Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
                              Canvas.readyToDraw()
                              Canvas.draw(_1=>undef)
                              Layout.layoutChildren(_1=>"initial draw", _2=>undef, _3=>undef)
                              Class.invokeSuper(_1=>null, _2=>"layoutChildren", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
                              Class.Super(_1=>"layoutChildren", _2=>Array[1], _3=>undef)
                              [o]VStack.layoutChildren(reason=>"initial draw")
                              Layout.drawChildren()
                              ** recursed on Canvas.draw
                          
                          16:34:45.854:WARN:Log:************************************layoutchildren NaN
                          16:34:46.023:WARN:drawing:page$$LayoutSpacer21:negative or zero area: height: 3, width: 0, refusing to draw
                              Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
                              Canvas.readyToDraw()
                              Canvas.draw(_1=>undef)
                              Layout.layoutChildren(_1=>"initial draw", _2=>undef, _3=>undef)
                              Class.invokeSuper(_1=>null, _2=>"layoutChildren", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
                              Class.Super(_1=>"layoutChildren", _2=>Array[1], _3=>undef)
                              [o]VStack.layoutChildren(reason=>"initial draw")
                              Layout.drawChildren()
                              ** recursed on Canvas.draw
                          
                          16:34:46.598:WARN:drawing:page$content$$content$LayoutSpacer521:negative or zero area: height: 0, width: 50, refusing to draw
                              Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
                              Canvas.readyToDraw()
                              Canvas.draw(_1=>undef)
                              Layout.layoutChildren(_1=>"initial draw", _2=>undef, _3=>undef)
                              Layout.drawChildren()
                              ** recursed on Canvas.draw
                          
                          16:34:46.604:WARN:drawing:page$content$$content$LayoutSpacer521:negative or zero area: height: 0, width: 50, refusing to draw
                              Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
                              Canvas.readyToDraw()
                              Canvas.draw(_1=>undef)
                              Layout.layoutChildren(_1=>"initial draw", _2=>undef, _3=>undef)
                              Layout.drawChildren()
                              ** recursed on Canvas.draw
                          
                          16:34:46.700:WARN:ResultSet:isc_ResultSet_0 (created by: page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable):Observation error: method goOffline is being observed on object [object Object] but the function appears to have been directly overridden. This may lead to unexpected behavior - to avoid seeing this message in the future, ensure the addMethods() or addProperties() API is used to modify methods on live SmartClient instances, rather than simply reassigning the method name to a new function instance.
                          16:34:46.717:INFO:RPCManager:sendQueue[0]: 1 RPCRequest(s); transport: xmlHttpRequest; target: http://localhost:8081/cwf/a?isc_rpc=1&isc_v=v8.2p_2012-05-17&isc_xhr=1
                          16:34:46.780:WARN:Log:****SUPPOSED TO CALL FOCUS ITEM HERE
                          16:34:46.792:TMR6:WARN:Log:************************************layoutchildren 955
                          16:34:46.794:TMR6:WARN:Log:************************************layoutchildren 45
                          16:34:46.795:TMR6:WARN:Log:************************************layoutchildren 45
                          16:34:46.797:TMR6:WARN:Log:************************************layoutchildren 30
                          16:34:46.818:TMR6:WARN:Log:************************************cwResized 30
                          16:34:46.818:TMR6:WARN:Log:************************************cwResized 30
                          16:34:46.823:TMR6:WARN:Log:************************************layoutchildren 30
                          16:34:46.840:TMR6:WARN:Log:************************************cwResized 30
                          16:34:46.840:TMR6:WARN:Log:************************************cwResized 30
                          16:34:46.845:TMR6:WARN:Log:************************************cwResized 45
                          16:34:46.845:TMR6:WARN:Log:************************************cwResized 45
                          16:34:46.847:TMR6:WARN:Log:************************************cwResized 45
                          16:34:46.847:TMR6:WARN:Log:************************************cwResized 45
                          16:34:46.848:TMR6:WARN:Log:************************************layoutchildren 29
                          16:34:46.931:TMR6:WARN:Log:************************************cwResized 29
                          16:34:46.931:TMR6:WARN:Log:************************************cwResized 29
                          16:34:46.947:TMR6:WARN:drawing:page$$LayoutSpacer21:negative or zero area: height: 3, width: 0, refusing to draw
                              Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
                              Canvas.readyToDraw()
                              Canvas.draw(_1=>undef)
                              Layout.layoutChildren(_1=>"resized", _2=>undef, _3=>undef)
                              Class.invokeSuper(_1=>null, _2=>"layoutChildren", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
                              Class.Super(_1=>"layoutChildren", _2=>Array[1], _3=>undef)
                              [o]VStack.layoutChildren(reason=>"resized", -17, 0)
                              Canvas.$t1()
                              Canvas.moveBy(_1=>0, _2=>0, _3=>undef, _4=>true)
                              Canvas.moveTo(_1=>null, _2=>null, _3=>undef, _4=>true)
                              Canvas.setRect(_1=>null, _2=>null, _3=>"100%", _4=>"100%", _5=>undef)
                              Canvas.$qw(_1=>undef)
                              Canvas.pageResize(null, undef)
                              ** recursed on Class.invokeSuper
                          
                          16:34:47.015:TMR6:WARN:drawing:page$$LayoutSpacer21:negative or zero area: height: 3, width: 0, refusing to draw
                              Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
                              Canvas.readyToDraw()
                              Canvas.draw(_1=>undef)
                              Layout.layoutChildren(_1=>"resized", _2=>undef, _3=>undef)
                              Class.invokeSuper(_1=>null, _2=>"layoutChildren", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
                              Class.Super(_1=>"layoutChildren", _2=>Array[1], _3=>undef)
                              [o]VStack.layoutChildren(reason=>"resized", -17, 0)
                              Canvas.$t1()
                              Canvas.moveBy(_1=>0, _2=>0, _3=>undef, _4=>true)
                              Canvas.moveTo(_1=>null, _2=>null, _3=>undef, _4=>true)
                              Canvas.setRect(_1=>null, _2=>null, _3=>"100%", _4=>"100%", _5=>undef)
                              Canvas.$qw(_1=>undef)
                              Canvas.pageResize(null, undef)
                              ** recursed on Class.invokeSuper
                          
                          16:34:47.019:TMR6:WARN:Log:************************************cwResized 955
                          16:34:47.049:XRP7:INFO:RPCManager:transaction 0 arrived after 331ms
                          16:34:47.054:XRP7:INFO:RPCManager:rpcResponse(page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable$ds_fetch)[fetch]: result: 10 records[status=0]

                          Comment


                            #14
                            Yes, that request and response appear normal.

                            From the logs, this jumps out as odd:

                            16:34:46.700:WARN:ResultSet:isc_ResultSet_0 (created by: page$content$queueStatusSummaryUi$$content$FormFrameQueueUI$resultFrame$queueStatusSummaryResultTable):Observation error: method goOffline is being observed on object [object Object] but the function appears to have been directly overridden. This may lead to unexpected behavior - to avoid seeing this message in the future, ensure the addMethods() or addProperties() API is used to modify methods on live SmartClient instances, rather than simply reassigning the method name to a new function instance.
                            It suggests you've done something like isc.goOffline = function () ... However it doesn't suggest a way that you could cause this odd error message from Chrome.

                            At this point you're saying that Chrome is reporting an HTTP error on a request that neither Chrome nor our tools is reporting as existing at all, we can't really speculate as to a cause for something like that so you'll need to try to isolate the code causing the problem so that we can reproduce it.

                            Comment


                              #15
                              I've asked about that goOffline message before - I cannot find anywhere in our product code that contains that string so I have absolutely no idea where it is coming from.

                              I tried creating a testcase for this issue but I can't even get it to load in Chrome. My fetch call works fine in Firefox. I placed my html file under smartclientSDK and opened it using Chrome. Once the page is loaded, click on FETCH ME!. I get the error "Error: server returned invalid JSON response". Is there anything wrong with this sample that you could see?

                              Code:
                              <HTML><HEAD><TITLE>Transport Issue</TITLE>
                              
                                  
                              </HEAD>
                              <body class="pageBackground" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" scroll="no" style="overflow:hidden">
                              
                              <SCRIPT>var isomorphicDir = "isomorphic/"</SCRIPT>
                                  <SCRIPT>var isomorphicDir = "isomorphic/"</SCRIPT>
                                  <SCRIPT SRC=isomorphic/system/modules/ISC_Core.js></SCRIPT>
                                  <SCRIPT SRC=isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
                                  <SCRIPT SRC=isomorphic/system/modules/ISC_Containers.js></SCRIPT>
                                  <SCRIPT SRC=isomorphic/system/modules/ISC_Grids.js></SCRIPT>
                                  <SCRIPT SRC=isomorphic/system/modules/ISC_Forms.js></SCRIPT>
                                  <SCRIPT SRC=isomorphic/system/modules/ISC_DataBinding.js></SCRIPT>
                              	<SCRIPT SRC=isomorphic/skins/Enterprise/load_skin.js></SCRIPT>
                              
                              <SCRIPT>
                              
                              isc.DataSource.create({
                              ID:"countryDS",
                              dataFormat: "json",
                              dataURL:"isomorphic/system/reference/inlineExamples/grids/data/countryData.json",
                              fields:[{name:"countryCode"},{name: "countryName"}, {name: "capital"}]
                              
                              });
                              
                              
                              isc.ListGrid.create({
                                  ID: "countryList",
                                  width:500, height:224, alternateRecordStyles:true, showAllRecords:true,
                                  dataSource: countryDS,
                                  autoFetchData: false
                              });
                              
                              
                              isc.Button.create({
                              title:"FETCH ME!",top:300,
                              click: function(){
                              //countryList.invalidateCache();
                                    countryList.fetchData(null, null,
                                          {showPrompt:false});
                              }
                              
                              })
                              
                              </script>
                              </BODY>
                              </html>

                              Comment

                              Working...
                              X