Issue 125868

Summary: AOO crashes if JRE (Java) is not installed (using help search or picture/makros)
Product: General Reporter: kai_m <kai_m_ooo>
Component: helpAssignee: AOO issues mailing list <issues>
Status: RESOLVED FIXED QA Contact:
Severity: Major    
Priority: P3 CC: damjan, mseidel
Version: 4.1.1Keywords: crash, release_blocker
Target Milestone: 4.2.0   
Hardware: Mac   
OS: OS X 10.9   
See Also: https://bz.apache.org/ooo/show_bug.cgi?id=127165
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description kai_m 2014-11-16 09:05:22 UTC
AOO crashes if JRE (Java) is not installed.

I found at least two cases:

Help System: use search in Help System.
Open Help. Click Search. Enter Search string. Click Search.
-> starts searching. Then a diolog box appears: 
OO needs JRE, please install and restart OO
after click OK AOO crashes

Writer:
insert a picture. Go to the properties/attributes of that picture. click Makros
-> a diolog box appears: 
OO needs JRE, please install and restart OO
after click OK AOO crashes
Comment 1 damjan 2016-10-18 15:52:41 UTC
Also happens on FreeBSD, but not on Linux.

I've fixed the writer/picture issue in #127165. The cause was an exception not getting caught.

This one is a bit different. Still investigating.
Comment 2 SVN Robot 2016-10-18 17:52:45 UTC
"damjan" committed SVN revision 1765488 into trunk:
#i125868# AOO crashes if JRE (Java) is not installed (using help search or pi...
Comment 3 damjan 2016-10-18 17:54:42 UTC
Exception was getting thrown but not specified in throw().

Patch committed, resolving fixed.