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.
Best regards
Sjur
P? 20. okt. 2003 kl. 20.22 skrev Hussein Shafie:
> Sjur N?rsteb? Moshagen wrote:
>> After downloading and installing the latest version for MacOS X (at
>> http://www.xmlmind.net/xmleditor/_download/xxe-std-24p1.dmg), XXE
>> crashes upon startup with the following message:
>> [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)
>> What I did:
>> - the new version was put in the same place as the old one (I moved
>> the old one to the thrash, and emptied it)
>> - I removed the old ~/.xxe directory
>> - I removed both non-system Fonts folders (~/Library/Fonts and
>> /Library/Fonts) leaving only the System fonts available, to make sure
>> that the font bug wasn't causing the problem
>> - I restarted the machine
>> - I have tried to look in all your documentation on-line, but could
>> not find any help
>> - I deleted the old prefs file
>> (~/Library/Preferences/com.xmlmind.xmleditapp.app.App.plist)
>
> You don't need to do this.
>
>
>
>
>> XXE 2.4 (the previous version) runs fine on another Mac.
>> Machine config:
>> - iMac 17" (G4)
>> - MacOS X 10.2.8
>> - the latest Java updates from Apple
>
> I've upgraded my Mac to MacOS X 10.2.8 and I use the latest Java
> updates from Apple.
>
> I downloaded xxe-std-24p1.dmg (title bar should display Patch 2) from
> our (alternate, slow, xmlmind.com) site and installed it. Everything
> worked fine.
>
> I deleted ~/.xxe,
> ~/Library/Preferences/com.xmlmind.xmleditapp.app.App.plist, etc, and
> was able to start XXE again by double-clicking on the XMLEditor icon.
>
>
>
>> After further investigation, it turns out that XXE starts just fine
>> from the command line, thus it is the GUI level binding to the
>> executable that is broken - double clicking does not work, and
>> generates the above error. It would be nice if this bug could be
>> documented, and the workaround listed until a fix is in place.
>> Workaround:
>> Open Terminal, and type on the command line:
>> prompt$>cd APPLICATIONDIR/XMLEditor.App/Contents/Resources/Java
>> prompt$>./xxe &
>
> This means that the Java part of the XXE distribution is OK.
>
> Sorry but I cannot help you because I was not able to reproduce the
> nasty behavior you had. May be other Mac users can give us their
> feedback about similar problems.
>