OpenNMS Crashes on OS X

Description

At midnight, OpenNMS crashes. It looks like it is due to something with reportd and JasperReports. Here is a snippet from the log file:

actory for property net.sf.jasperreports.extension.registry.factory.components
2012-02-18 00:00:00,314 DEBUG [reportd_Worker-1] DefaultExtensionsRegistry: Instantiating extensions registry for components using factory class net.sf.jasperreports.components.ComponentsExtensionsRegistryFactory
2012-02-18 00:00:00,462 DEBUG [reportd_Worker-1] SpringExtensionsRegistry: Found 0 beans for extension type interface net.sf.jasperreports.engine.component.ComponentsBundle
2012-02-18 00:00:00,468 DEBUG [reportd_Worker-1] JRXmlDigesterFactory: Adding components schema at jar:file:/sw/var/opennms/lib/jasperreports-3.7.6.jar!/net/sf/jasperreports/components/components.xsd
2012-02-18 00:00:00,469 DEBUG [reportd_Worker-1] JRXmlDigesterFactory: Instantiating grammar pool of type org.apache.xerces.util.XMLGrammarPoolImpl for cache key java.net.FactoryURLClassLoader@e4f7c2
2012-02-18 00:00:01,942 DEBUG [reportd_Worker-1] SpringExtensionsRegistry: Found 1 beans for extension type interface net.sf.jasperreports.engine.query.QueryExecuterFactoryBundle
2012-02-18 00:00:01,942 DEBUG [reportd_Worker-1] SpringExtensionsRegistry: Getting bean org.opennms.netmgt.jasper.OnmsQueryExecutorFactoryBundle#0 as extension of type net.sf.jasperreports.engine.query.QueryExecuterFactoryBundle
2012-02-18 00:00:06,421 DEBUG [reportd_Worker-1] SpringExtensionsRegistry: Getting bean org.opennms.netmgt.jasper.OnmsQueryExecutorFactoryBundle#0 as extension of type net.sf.jasperreports.engine.query.QueryExecuterFactoryBundle
2012-02-18 00:00:07,009 DEBUG [reportd_Worker-1] SpringExtensionsRegistry: Found 0 beans for extension type interface net.sf.jasperreports.engine.fonts.FontFamily

So it looks like jasperReports is unhappy? I will attach the crash report and the full report log.

Environment

OpenNMS Running on OS X Leopard on a G5

Acceptance / Success Criteria

None

Attachments

2

Lucidchart Diagrams

Activity

Show:

Seth Leger November 25, 2013 at 11:38 PM

No more information so I'm marking this as cannot reproduce. I think that Ben was onto something when he noticed that the crash is when loading native fonts so keep an eye for that being a problem.

Seth Leger July 31, 2012 at 3:07 PM

Any more feedback on this condition?

Benjamin Reed February 29, 2012 at 5:38 PM

Given that it's dying when doing font stuff, is it possible you have a corrupt font installed?

j apple.awt.CGraphicsEnvironment.loadNativeFonts()V+0

try a "find /Library/Fonts ~/Library/Fonts" and see if anything wacky is installed?

Donald Desloge February 21, 2012 at 9:42 AM

It doesn't look like there is anything out of the ordinary happening in that log file. Looks like the initialization phase of for the online reports.

My java version:
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11D50)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

Can you try running one of the online reports to see if that crashes OpenNMS as well.

Anything in output.log?

Tarus Balog February 19, 2012 at 11:20 PM

The reportd.log is empty.

Cannot Reproduce

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created February 18, 2012 at 9:40 AM
Updated November 25, 2013 at 11:38 PM
Resolved November 25, 2013 at 11:38 PM