Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

drawImage fails wilth self.drawPane msg

$
0
0
Hello,
1. I am using SmartClient Version: v9.1p_2014-07-20/Pro Deployment (built 2014-07-20)

2. This issue is predominantly seen on FF 31.0. But our QA team is also intermittently seeing it on latest chrome and IE11

3. Following is the full-stack trace -

14:29:20.658:XRP5[E]:WARN:Log:Error: http://<IP-ADDRESS>/thirdparty/smartclient/9.1_20_7/system/modules-debug/ISC_Drawing.js

Value: TypeError: self.drawPane is undefined

14:29:20.692:XRP5[E]:INFO:draws:isc_IButton_0:draw(): drawing IButton with parent: [Toolbar ID:isc_globalWarn_toolbar]

Canvas.draw(showing=>undef, undef, undef)

StatefulCanvas.draw(a=>undef, b=>undef, c=>undef)

Layout.layoutChildren(reason=>undef, deltaX=>undef, deltaY=>undef)

[a]Dialog.showMessage(newMessage=>"Page Error:http://<IP-ADDRESS>/thirdpa..."[137], properties=>Obj{title:Warning})

anonymous(message=>"Page Error:http://138.120.140.41/thirdpa..."[137], messageType=>"warn", callback=>undef, properties=>Obj{title:Warning})

anonymous(message=>"Page Error:http://138.120.140.41/thirdpa..."[137], callback=>undef, properties=>undef)

[c]alu_nms_NMSCommon.notifyUser(aInMessage_s=>"Page Error:http://<IP-ADDRESSS>/thirdpa..."[137])

anonymous(aInValue=>"TypeError: self.drawPane is undefined", aInMessage=>"http://<IP-ADDRESS>/thirdparty/smartcl..."[89], 8824, 20, TypeError: self.drawPane is undefined)

4. Here is the sample code -

isc.DrawImage.create({
src: "[SKINIMG]/nms/web/vision/AllGroups.png",
left: left+ 2,
top: 4,
width: 16,
height: 16,
autoDraw: true,
drawPane: aInDrawPane
});

where aInDrawPane is drawPane (which is not null or undefined).

But in ISC_Drawing.js - initImage(src) - ISC_Drawing.jsTypeError: self.drawPane is undefined


Do you have any thoughts on what we could be doing wrong. Would greatly appreciate any help.

Thanks

Viewing all articles
Browse latest Browse all 4756

Trending Articles