Here's my trace according to your specification (everything up until the moment XXE has appeared and is running normally on the desktop):
ua28d194:~ sjur$ /Volumes/Data/Users/sjur/Applications/XML-HTML/XMLEditor.app/Contents/ MacOS/JavaApplicationStub [JavaAppLauncher] adding to JNI library search path: /Volumes/Data/Users/sjur/Applications/XML-HTML/XMLEditor.app/Contents/ Resources/Java:/System/Library/PrivateFrameworks/ JavaApplicationLauncher.framework/Resources [JavaAppLauncher] changing current directory to: /Volumes/Data/Users/sjur/Applications/XML-HTML/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=/Volumes/Data/Users/sjur/Applications/XML-HTML/ XMLEditor.app/Contents/Resources/Java/xxe_app.jar:/Volumes/Data/Users/ sjur/Applications/XML-HTML/XMLEditor.app/Contents/Resources/Java/ xxe.jar:/Volumes/Data/Users/sjur/Applications/XML-HTML/XMLEditor.app/ Contents/Resources/Java/xp.jar:/Volumes/Data/Users/sjur/Applications/ XML-HTML/XMLEditor.app/Contents/Resources/Java/resolver.jar:/Volumes/ Data/Users/sjur/Applications/XML-HTML/XMLEditor.app/Contents/Resources/ Java/azcheck.jar:/Volumes/Data/Users/sjur/Applications/XML-HTML/ XMLEditor.app/Contents/Resources/Java/jh.jar:/Volumes/Data/Users/sjur/ Applications/XML-HTML/XMLEditor.app/Contents/Resources/Java/ftp.jar:/ Volumes/Data/Users/sjur/Applications/XML-HTML/XMLEditor.app/Contents/ Resources/Java/http.jar:/Volumes/Data/Users/sjur/Applications/XML-HTML/ 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 [LaunchRunner] com.xmlmind.xmleditapp.app.Start.main(String[]) has returned 2003-11-24 11:15:16.956 JavaApplicationStub[1171] Java couldn't paint in Java_apple_awt_CRenderer_doRect, no focused view. After I did the above, I tried to run XXE the usual way, and now the problem has disappeared! I am again able to double-click, open with keyboard shortcuts etc. Except for the above trace and the environment variable, I haven't touched a thing relating to XXE since the last e-mail. I did restart the computer once since then, but I have restarted many times since the problem arose, without that having any effect. Can other Java applications or processes have an influence? If I do experience the problem again, I will run the same trace, and e-mail you a report. Best regards, Sjur P? 21. nov. 2003 kl. 18.21 skrev Hussein Shafie: > 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 > --- > >

