Issue 56623 - crash when calling dbg_methods at "com.sun.star.ui.WindowStateConfiguration" service
Summary: crash when calling dbg_methods at "com.sun.star.ui.WindowStateConfiguration" ...
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P2 Trivial
Target Milestone: ---
Assignee: chne
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-25 15:51 UTC by tom
Modified: 2013-02-24 21:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description tom 2005-10-25 15:51:04 UTC
Run this little Basic script and witness a nice quick crash:

Sub Main
   oWindowState = createUnoService("com.sun.star.ui.WindowStateConfiguration")
   msgbox oWindowState.dbg_methods
End Sub
Comment 1 carsten.driesner 2005-10-26 10:50:31 UTC
cd: Accepted.
Comment 2 carsten.driesner 2006-01-05 15:59:55 UTC
cd: Strange. The method getByName is called with "dbg_method" which cannot be
find in the window state configuration. Therefore the method throws a
NoSuchElementException() which produces a crash. Must be discussed with AB.
Comment 3 carsten.driesner 2006-01-06 13:28:12 UTC
cd: Fixed wrong hasByName implementation.
Comment 4 carsten.driesner 2006-01-23 09:17:04 UTC
cd->tn: Please verify this fix.

re-open issue and reassign to cn@openoffice.org
Comment 5 carsten.driesner 2006-01-23 09:37:17 UTC
cd->cn: Please verify.
Comment 6 carsten.driesner 2006-01-23 09:38:16 UTC
cd: Set to fixed again.
Comment 7 chne 2006-01-23 11:17:35 UTC
works in fwk31 => verified
Comment 8 chne 2006-02-26 19:02:58 UTC
ok in src680_m156 => zu