<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">David Welker</b> <span dir="ltr"><<a href="mailto:david.v.welker@gmail.com">david.v.welker@gmail.com</a>></span><br>
Date: Tue, Feb 22, 2011 at 5:42 AM<br>Subject: Re: [kepler-users] Problem launching Kepler 2.1<br>To: Frank White <<a href="mailto:fwhite@optensity.com">fwhite@optensity.com</a>><br><br><br>Hi Frank,<div><br></div><div>
Looking into this, and I see why you are getting this error, even though I cannot reproduce it on my machine. (For me, the Patch Checker simply fails to be invoked at all....). Basically, looking at the code, the issue is that we are using JDialog.EXIT_ON_CLOSE whereas we should be using JDialog.DISPOSE_ON_CLOSE. Previously, this was not detected, since in Java 1.5, no fatal exception was thrown, but instead it just failed silently. Now that we have upgraded to Java 1.6, this previous bug has come to light.</div>

<div><br></div><div>More details on this issue, for those who are interested, can be found here:</div><div><br></div><div><a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6403861" target="_blank">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6403861</a></div>

<div><br></div><div>The bottom-line is that this means we simply are not going to be able to release any patches for either 2.0 or 2.1, since the typical case for our users will be that they will be using Java 1.6, and the Patch Checker does not work under Java 1.6, whereas it used to work under Java 1.5.</div>

<div><br></div><div>As such, I have deleted the offending patch (2.1.1). This should prevent the patch checker from being invoked and hopefully allow you to launch normally.</div><div><br></div><div>Please let me know if this fixes your problem.</div>

<div><br></div><div>Thanks!</div><div>David Welker</div><div><div></div><div class="h5"><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Tue, Feb 22, 2011 at 3:41 AM, Frank White <span dir="ltr"><<a href="mailto:fwhite@optensity.com" target="_blank">fwhite@optensity.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello All:<br>
I'm having a launch problem on two separate instances of Kepler 2.1. The failure symptoms below are identical for both instances.  One instance is on my development Mac, so it's possible I broke something.  But the other instance is on a 'production' machine that has not changed in weeks.  The error seems to have something to do with patches.  Is it possible that a patch is causing this?  Any thoughts would be greatly appreciated.<br>


Cheers!<br>
Frank White<br>
<br>
     [null] /Applications/Kepler-2.0/Kepler.app/Kepler<br>
     [null] Checking for patches...<br>
     [null] Exception in thread "main" java.lang.IllegalArgumentException: defaultCloseOperation must be one of: DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE, or DISPOSE_ON_CLOSE<br>
     [null]     at javax.swing.JDialog.setDefaultCloseOperation(JDialog.java:702)<br>
     [null]     at org.kepler.modulemanager.gui.patch.PatchChecker.check(PatchChecker.java:108)<br>
     [null]     at org.kepler.modulemanager.gui.patch.PatchChecker.check(PatchChecker.java:56)<br>
     [null]     at org.kepler.Kepler.main(Kepler.java:92)<br>
Exception in thread "main" Java returned: 1<br>
        at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:105)<br>
        at org.kepler.build.runner.Kepler.main(Kepler.java:78)<br>
Caused by: Java returned: 1<br>
        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)<br>
        at org.kepler.build.Run.runSuite(Run.java:298)<br>
        at org.kepler.build.Run.run(Run.java:202)<br>
        at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:101)<br>
        ... 1 more<br>
--- Nested Exception ---<br>
Java returned: 1<br>
        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)<br>
        at org.kepler.build.Run.runSuite(Run.java:298)<br>
        at org.kepler.build.Run.run(Run.java:202)<br>
        at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:101)<br>
        at org.kepler.build.runner.Kepler.main(Kepler.java:78)<br>
<br>
-- <br>
Frank White<br>
<a href="mailto:fwhite@optensity.com" target="_blank">fwhite@optensity.com</a><br>
<a href="tel:781-771-2798" target="_blank"></a><a href="tel:781-771-2798" target="_blank"></a><a href="tel:781-771-2798" target="_blank">781-771-2798</a><br>
<br>
_______________________________________________<br>
Kepler-users mailing list<br>
<a href="mailto:Kepler-users@kepler-project.org" target="_blank">Kepler-users@kepler-project.org</a><br>
<a href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users" target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a><br>
</blockquote></div><br></div>
</div></div></div><br>