I'm sorry but it seems that this really is the fatal error described in 
the FAQ.

You have a font that makes Apple Java 1.4.1 crash. This font is not 
really corrupted. It is harmless for other Mac OS X apps but is fatal 
for some Java apps (those using javax.swing.text.html).

The only workaround (besides upgrading to 10.3/Java 1.4.2) is to find 
which font causes these troubles and to remove it.

Jerry W Walsh wrote:
>       I have a problem launching XML Editor on 10.2.6/Java 1.4.1on a G3 B&W.  
> I looked over the common known causes, and it wasn't a corrupted font (I did 
> a complete scan, found no corrupted fonts on any drive).
> 
>       Here is the Console log of one of the attempts to launch.  It's 
> identical to all other attempts.
> 
> java.lang.reflect.InvocationTargetException
>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>       at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>       at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>       at com.xmlmind.xmleditapp.app.Start.main(Start.java:166)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:324)
>       at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
>       at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
>       at 
> apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
> Caused by: java.lang.NullPointerException
>       at 
> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnvironment.java:327)
>       at 
> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnvironment.java:359)
>       at javax.swing.text.html.CSS.getValidFontNameMapping(CSS.java:910)
>       at javax.swing.text.html.CSS$FontFamily.parseCssValue(CSS.java:1858)
>       at javax.swing.text.html.CSS.getInternalCSSValue(CSS.java:529)
>       at javax.swing.text.html.CSS.addInternalCSSValue(CSS.java:514)
>       at javax.swing.text.html.StyleSheet.addCSSAttribute(StyleSheet.java:464)
>       at 
> javax.swing.text.html.StyleSheet$CssParser.handleValue(StyleSheet.java:3112)
>       at javax.swing.text.html.CSSParser.parseDeclaration(CSSParser.java:341)
>       at 
> javax.swing.text.html.CSSParser.parseDeclarationBlock(CSSParser.java:308)
>       at javax.swing.text.html.CSSParser.parseRuleSet(CSSParser.java:255)
>       at javax.swing.text.html.CSSParser.getNextStatement(CSSParser.java:161)
>       at javax.swing.text.html.CSSParser.parse(CSSParser.java:136)
>       at 
> javax.swing.text.html.StyleSheet$CssParser.parse(StyleSheet.java:3034)
>       at javax.swing.text.html.StyleSheet.addRule(StyleSheet.java:272)
>       at 
> com.xmlmind.xmledit.dialog.DiagnosticsPane.<init>(DiagnosticsPane.java:43)
>       at 
> com.xmlmind.xmleditapp.app.CheckValidityTool.<init>(CheckValidityTool.java:17)
>       at com.xmlmind.xmleditapp.app.App.createTabbedPane(App.java:1424)
>       at com.xmlmind.xmleditapp.app.App.createGUI(App.java:1221)
>       at com.xmlmind.xmleditapp.app.App.<init>(App.java:359)
>       ... 12 more
> internal error: cannot create application: 
> java.lang.reflect.InvocationTargetException


Reply via email to