Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: com.reportmill.base.RMException: Probable fatal error:No fonts found.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: com.reportmill.base.RMException: Probable fatal error:No fonts found.



Hi Shravan,

It appears to be having a problem finding the com.reportmill.text.RMFont class.

Where do you have the ReportMillxx.jar installed? I see by some of ReportMill's documentation that they suggest installing it in the Local/Library/WebObjects/Extensions directory.

Don't put it there.

Just don't.

If it's already there on the server, get it out of there.

Put it in your Application's Libraries directory, then right click on it and add it to your build path. That way the .jar will always be available to the App.

Dave Avendasora


On Jun 1, 2011, at 12:43 AM, Shravan Kumar. M wrote:

Hi Group,

Any clues to this exception with a new WO app deployed to the Ubuntu:

---------------------------------------------------------------------------------------------------
Following exception occurs when we generate a ReportMill report from our app:
---------------------------------------------------------------------------------------------------

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.reportmill.text.RMFont
       at com.reportmill.shape.RMDocument.<init>(RMDocument.java:39)
       at org.bmjrft.cds.components.PatientDetailsPage.generateIDCard(Unknown Source)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:616)
       at com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1.methodValue(NSKeyValueCoding.java:636)
       at com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)


---------------------------------------------------------------------------------------------------
Following exception occurs with call to "new RMFont()" in Application constructor:
---------------------------------------------------------------------------------------------------

May 31 04:44:55 CDS[2002] (ERXNSLogLog4jBridge.java:43) WARN  NSLog  - A fatal exception occurred: null
[2011-5-31 4:44:55 PDT] <main> java.lang.
ExceptionInInitializerError
       at org.bmjrft.cds.Application.<
init>(Application.java:15)
       at sun.reflect.
NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.
NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
       at sun.reflect.
DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
       at java.lang.reflect.Constructor.
newInstance(Constructor.java:532)
       at java.lang.Class.newInstance0(
Class.java:372)
       at java.lang.Class.newInstance(
Class.java:325)
       at com.webobjects.appserver.
WOApplication.main(WOApplication.java:547)
       at er.extensions.appserver.
ERXApplication.main(ERXApplication.java:631)
       at org.bmjrft.cds.Application.
main(Application.java:9)
       at sun.reflect.
NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.
NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at sun.reflect.
DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.
invoke(Method.java:616)
       at com.webobjects._bootstrap.
WOBootstrap.main(WOBootstrap.java:87)
Caused by: com.reportmill.base.
RMException: Probable fatal error:No fonts found.
       at com.reportmill.text.RMFont.<
clinit>(RMFont.java:58)
       ... 15 more

Let me know if need more info.

Thank You,
Shravan Kumar. M
-------------------------------
Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >com.reportmill.base.RMException: Probable fatal error:No fonts found. (From: "Shravan Kumar. M" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.