You have a bad/corrupted font installed on your Mac. Find which one,
remove it and XXE will start OK.

We know this problem and have not found a code workaround for it as it
happens in Sun/Apple Java code
(javax.swing.text.html.CSS.getValidFontNameMapping)

It would be nice if you could send us the bad font so we can report the
problem to Apple.

Meanwhile, I'll update the FAQ.


Jean-Luc Arvers wrote:
> 
> I can't started XXE.
> When I try it, I've this message in the "console" :
> java.lang.reflect.InvocationTargetException
> 
> I've MacOS 10.2.6 with Java version :
> 
>     java version "1.4.1_01"
>     Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39)
>     Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode)
> 
> java.lang.reflect.InvocationTargetException
>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>     at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
> sorImpl.java:39)
>     at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
> torAccessorImpl.java:27)
>     at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>     at com.xmlmind.xmleditapp.app.Start.main(Start.java:170)
>     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:5
> 2)
> Caused by: java.lang.NullPointerException
>     at
> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnv
> ironment.java:327)
>     at
> sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnv
> ironment.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:1
> 7)
>     at com.xmlmind.xmleditapp.app.App.createTabbedPane(App.java:1461)
>     at com.xmlmind.xmleditapp.app.App.createGUI(App.java:1265)
>     at com.xmlmind.xmleditapp.app.App.<init>(App.java:352)
>     ... 12 more
> erreur interne: ne peut cr?er l'application:
> java.lang.reflect.InvocationTargetException

Reply via email to