[graphics-issues] [Issue 116763] drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:404 assertion unsatisfied query for interface of type com.sun.star.awt.XView!

2011-02-02 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=116763
 Issue #|116763
 Summary|drawinglayer/source/processor2d/vclpixelprocessor2d.cx
|x:404 assertion unsatisfied query for interface of ty
|pe com.sun.star.awt.XView!
   Component|Drawing
 Version|DEV300m98
Platform|All
 URL|
  OS/Version|All
  Status|NEW
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|aw
 Reported by|sb





--- Additional comments from s...@openoffice.org Wed Feb  2 09:06:18 + 
2011 ---
At least when executing forms/qa/unoapi on DEV300_m98 based CWS sb138, unxsoli4
non-pro, there are 754 occurrences of

Error: caught an exception!
in function:(unknown)
type: com.sun.star.uno.RuntimeException
message: unsatisfied query for interface of type com.sun.star.awt.XView!
 From File
/net/so-cwsserv03/export/cws/sb138/DEV300/ooo/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
at Line 404

Assuming that this is caused by the UNO_QUERY_THROW at
http://hg.services.openoffice.org/DEV300/file/3dc4b4b59914/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx#l370,
it would probably be better to use UNO_QUERY and an explicit if-check for 
nullness.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[graphics-issues] [Issue 116763] drawinglayer/source/processor2d/vclpixelprocessor2d.cxx:404 assertion unsatisfied query for interface of type com.sun.star.awt.XView!

2011-02-02 Thread cl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=116763





--- Additional comments from c...@openoffice.org Wed Feb  2 12:29:41 + 
2011 ---
I second that, use UNO_QUERY_THROW only for interfaces that are not optional. In
this case it seems like XView is optional and should be catched with an if, not
an exception

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org