[Libreoffice-bugs] [Bug 127534] New: TextRange.getPropertyValues runs into RuntimeException when getting all properties form PropertySetinfo

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 13 09:00:03 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=127534

            Bug ID: 127534
           Summary: TextRange.getPropertyValues runs into RuntimeException
                    when getting all properties form PropertySetinfo
           Product: LibreOffice
           Version: 3.3.0 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: tv.bugs.freedesktop.org at beamnet.de

Description:
In Writer, when querying TextRange.getPropertyValues for all properties, I'm
getting a runtime error.
The property in question that seems to cause it appears to be
ParaChapterNumberingLevel, which is defined as Non-Nullable but appears to be
unset, triggering the exception in svl/source/items/itemprop.cxx
I tried to trace this a bit with git blame, but it seems to that way be since
the "initial import".

Thanks to Björn for helping debug this! If I understand correctly, he says the
property might be a "fossile" that is not actually used(?).

Steps to Reproduce:
I added a unit test reproducing this in diff I will attach.

Actual Results:
Runtime error.

Expected Results:
Test passes.


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190913/1a3328ae/attachment-0001.html>


More information about the Libreoffice-bugs mailing list