Hi!

I cannot succeed running XMLEditor 2.5 on a iMac DV with MacOS X 10.2.8.
The java machine is:

mbottin% java -version
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-69.1)
Java HotSpot(TM) Client VM (build 1.4.1_01-24, mixed mode)

I tried to set on tcsh:

mbottin% setenv JAVA_LAUNCHER_VERBOSE 1

and I entered:

mbottin% XMLEditor.app/Contents/MacOS/JavaApplicationStub
---[JavaAppLauncher] adding to JNI library search path: 
/ApplicationsX/XMLEditor/XMLEditor.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources
[JavaAppLauncher] changing current directory to: 
/ApplicationsX/XMLEditor/XMLEditor.app/..
[JavaAppLauncher] Application specified it needs VM version: 1.4+
[JavaAppLauncher] Will use Java VM version: 1.4.1
[JavaAppLauncher] VM option: 
-Xbootclasspath/a:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources/LauncherSupport.jar
[JavaAppLauncher] VM option: 
-Djava.class.path=/ApplicationsX/XMLEditor/XMLEditor.app/Contents/Resources/Java/xxe_app.jar:/ApplicationsX/XMLEditor/XMLEditor.app/Contents/Resources/Java/xxe.jar:/ApplicationsX/XMLEditor/XMLEditor.app/Contents/Resources/Java/xp.jar:/ApplicationsX/XMLEditor/XMLEditor.app/Contents/Resources/Java/resolver.jar:/ApplicationsX/XMLEditor/XMLEditor.app/Contents/Resources/Java/azcheck.jar:/ApplicationsX/XMLEditor/XMLEditor.app/Contents/Resources/Java/jh.jar:/ApplicationsX/XMLEditor/XMLEditor.app/Contents/Resources/Java/ftp.jar:/ApplicationsX/XMLEditor/XMLEditor.app/Contents/Resources/Java/http.jar:/ApplicationsX/XMLEditor/XMLEditor.app/Contents/Resources/Java/saxon.jar

[JavaAppLauncher] VM option: -Xss1m
[JavaAppLauncher] VM option: -Xmx512m
[JavaAppLauncher] VM option: -Dapple.laf.useScreenMenuBar=true
[JavaAppLauncher] Starting Java VM
[JavaAppLauncher] Entering java
[LaunchRunner] Main class com.xmlmind.xmleditapp.app.Start found via 
'MainClass' key of sub-dictionary 'Java' of Info.plist key
[LaunchRunner] Calling com.xmlmind.xmleditapp.app.Start.main(String[]) 
method
[LaunchRunner] No arguments for main(String[]) specified
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:161)
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:1456)
at com.xmlmind.xmleditapp.app.App.createGUI(App.java:1253)
at com.xmlmind.xmleditapp.app.App.<init>(App.java:357)
... 12 more
erreur interne: ne peut cr?er l'application: 
java.lang.reflect.InvocationTargetException

I translate the last line:
internal error: cannot create the application: 
java.lang.reflect.InvocationTargetException

An idea?

Thanks in advance

Michel


Reply via email to