Announcement

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

    Problem with DrawPane

    SmartClient Version: v9.1p_2014-10-05/PowerEdition Deployment (built 2014-10-05)

    Chrome Version 37.0.2062.124 m, Firefox 26.0

    DrawPane works perfectly in GWT hosted mode. But when the application is deployed to Tomcat 7.0, the lines we are drawing in it fail to be drawn.

    Javascript errors from Dev console below. Any suggestions?

    20:25:41.251:TMR7:WARN:Log:[Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:8080/AtlanticScheduler/AtlanticScheduler/sc/modules/ISC_Drawing.js :: isc_DrawPane_getBitmapContext :: line 98" data: no] [No error.stack available]
    20:25:41.251:TMR7:WARN:Log:Uncaught JavaScript exception: NS_ERROR_FAILURE: in http://localhost:8080/AtlanticScheduler/AtlanticScheduler/sc/modules/ISC_Drawing.js, line 98
    20:25:41.251:TMR8:WARN:Log:[Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:8080/AtlanticScheduler/AtlanticScheduler/sc/modules/ISC_Drawing.js :: isc_DrawPane_getBitmapContext :: line 98" data: no] [No error.stack available]
    20:25:41.251:TMR8:WARN:Log:Uncaught JavaScript exception: NS_ERROR_FAILURE: in http://localhost:8080/AtlanticScheduler/AtlanticScheduler/sc/modules/ISC_Drawing.js, line 98
    20:25:41.268:TMR9:WARN:Log:[Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:8080/AtlanticScheduler/AtlanticScheduler/sc/modules/ISC_Drawing.js :: isc_DrawPane_getBitmapContext :: line 98" data: no] [No error.stack available]

    #2
    Corrected

    The issue was a problem with coordinates sent to the drawpane being illegal.

    Comment

    Working...
    X