• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
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.


  • Subject: Re: com.reportmill.base.RMException: Probable fatal error:No fonts found.
  • From: David Avendasora <email@hidden>
  • Date: Wed, 01 Jun 2011 02:57:06 -0400

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>)

  • Prev by Date: com.reportmill.base.RMException: Probable fatal error:No fonts found.
  • Previous by thread: com.reportmill.base.RMException: Probable fatal error:No fonts found.
  • Index(es):
    • Date
    • Thread