I tracked down and came up with a fix for one of the new webstart bugs introduced by the latest update from Apple.
This bug happens on 10.4 with java 1.5.0_16 when trying to run a jnlp with installer extensions. For example, if you have a system like that with a cleared cache, and you run: http://jnlp.concord.org/dev/mozswing/mozswing.jnlp (that is an old version of mozswing but probably the new version will have the same problem) Then you look at your console (/Applications/Utilities/Console) you should see: Exception in thread "javawsApplicationMain" java.lang.NullPointerException at java.lang.ProcessBuilder.start(ProcessBuilder.java:441) at java.lang.Runtime.exec(Runtime.java:591) at java.lang.Runtime.exec(Runtime.java:464) at com.sun.javaws.Launcher.execProgram(Launcher.java:817) at com.sun.javaws.Launcher.executeInstallers(Launcher.java:670) at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:438) at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218) at com.sun.javaws.Launcher.run(Launcher.java:165) at java.lang.Thread.run(Thread.java:613) And meanwhile the MozSwing application just hangs. After decompiling javaws.jar and deploy.jar I was able to track down the problem to this piece of obviously wrong code: com.sun.deploy.config.Config: public String escapeBackslashAndQuoteString(String in) { /*1852*/ return null; } That method was being called to "escape" all of the arguments before launching the new VM to run the installer. My fix, for now, was to override that method with a working version in the subclass com.sun.deploy.config.MacOSXConfig. If you have a system like this (10.4 java 1.5.0_16) and want to try my fix, you can run the snippet at the bottom of this page: http://confluence.concord.org/display/CCTR/WebStart+OSX+Java+1.5+Fix Scott --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SAIL-Dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/SAIL-Dev?hl=en -~----------~----~----~----~------~----~------~--~---
