Sjur N?rsteb? Moshagen wrote: > I have now upgraded to MacOS X 10.3.1 (Panther) with the latest Java > update (Java Update 1.4.1 (Panther), released this week), and I have > also downloaded and installed the latest XXE 2.5, but the problem > persist. Here are some more details: > > - The problem only occurs on my 17" iMac (flat panel LCD type). On a > portable PowerBook G3 XXE 2.4/2.4p2/2.5 starts just fine (the PB G3 is > running MacOS X 10.2.8). > - I have done my best to remove all remnants of earlier installations > before installing and running the new version > - I found a spurious directory ~/Desktop/.1.xxe2/. Don't know how it > was created, but removing it did not help (didn't expect that either, > but in any case...) > - after the problems started, it is now not possible to start earlier > versions either - I have tried XXE 2.4 which I have successfully > started and used earlier, but not anymore > - the OS installation is pretty clean - I did a reformat of the HD > before installing 10.3 > - the XXE application bundle is placed in a subfolder within > ~/Applications (same location as on the PowerBook) > - here's a copy of the messages generated when XXE is double-clicked: > > [LaunchRunner Error] The main class "com.xmlmind.xmleditapp.app.Start" > could not be found. > [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception > Exception in thread "main" java.lang.NullPointerException > at apple.launcher.LaunchRunner.run(LaunchRunner.java:85) > at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50) > at > apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.ja > va:52) > > - it is still possible to run the application from the command line the > Unix way > > This seems pretty strange to me, any help would be appreciated.
The following trace could help us solve your problem. [1] Open a terminal. [2] Define an environment variable called JAVA_LAUNCHER_VERBOSE bash example: --- ~$ export JAVA_LAUNCHER_VERBOSE=1 --- tcsh example: --- ~$ setenv JAVA_LAUNCHER_VERBOSE 1 --- [3] Start XXE using Apple launcher but from the command line rather than by clicking on the icon. I have the XMLEditor icon on my desktop, therefore I need to type the following command line: --- ~$ ~/Desktop/XMLEditor.app/Contents/MacOS/JavaApplicationStub --- [4] Send us what is printed in the Terminal window. Example: --- [JavaAppLauncher] adding to JNI library search path: /Users/hussein/Desktop/XMLEditor.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources [JavaAppLauncher] changing current directory to: /Users/hussein/Desktop/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=/Users/hussein/Desktop/XMLEditor.app/Contents/Resources/Java/xxe_app.jar:/Users/hussein/Desktop/XMLEditor.app/Contents/Resources/Java/xxe.jar:/Users/hussein/Desktop/XMLEditor.app/Contents/Resources/Java/xp.jar:/Users/hussein/Desktop/XMLEditor.app/Contents/Resources/Java/resolver.jar:/Users/hussein/Desktop/XMLEditor.app/Contents/Resources/Java/azcheck.jar:/Users/hussein/Desktop/XMLEditor.app/Contents/Resources/Java/jh.jar:/Users/hussein/Desktop/XMLEditor.app/Contents/Resources/Java/ftp.jar:/Users/hussein/Desktop/XMLEditor.app/Contents/Resources/Java/http.jar:/Users/hussein/Desktop/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 2003-11-21 17:08:19.217 JavaApplicationStub[436] Warning: Font LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance! 2003-11-21 17:08:19.611 JavaApplicationStub[436] Font GB18030Bitmap: in _readBasicMetricsForSize, claims 0 max advance but is fixed-pitch. [LaunchRunner] com.xmlmind.xmleditapp.app.Start.main(String[]) has returned ---

