[kepler-users] Fwd: Problem launching Kepler 2.1

David Welker david.v.welker at gmail.com
Tue Feb 22 13:56:25 PST 2011


---------- Forwarded message ----------
From: David Welker <david.v.welker at gmail.com>
Date: Tue, Feb 22, 2011 at 5:42 AM
Subject: Re: [kepler-users] Problem launching Kepler 2.1
To: Frank White <fwhite at optensity.com>


Hi Frank,

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.

More details on this issue, for those who are interested, can be found here:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6403861

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.

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.

Please let me know if this fixes your problem.

Thanks!
David Welker




On Tue, Feb 22, 2011 at 3:41 AM, Frank White <fwhite at optensity.com> wrote:

> Hello All:
> 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.
> Cheers!
> Frank White
>
>     [null] /Applications/Kepler-2.0/Kepler.app/Kepler
>     [null] Checking for patches...
>     [null] Exception in thread "main" java.lang.IllegalArgumentException:
> defaultCloseOperation must be one of: DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE, or
> DISPOSE_ON_CLOSE
>     [null]     at
> javax.swing.JDialog.setDefaultCloseOperation(JDialog.java:702)
>     [null]     at
> org.kepler.modulemanager.gui.patch.PatchChecker.check(PatchChecker.java:108)
>     [null]     at
> org.kepler.modulemanager.gui.patch.PatchChecker.check(PatchChecker.java:56)
>     [null]     at org.kepler.Kepler.main(Kepler.java:92)
> Exception in thread "main" Java returned: 1
>        at
> org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:105)
>        at org.kepler.build.runner.Kepler.main(Kepler.java:78)
> Caused by: Java returned: 1
>        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
>        at org.kepler.build.Run.runSuite(Run.java:298)
>        at org.kepler.build.Run.run(Run.java:202)
>        at
> org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:101)
>        ... 1 more
> --- Nested Exception ---
> Java returned: 1
>        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
>        at org.kepler.build.Run.runSuite(Run.java:298)
>        at org.kepler.build.Run.run(Run.java:202)
>        at
> org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:101)
>        at org.kepler.build.runner.Kepler.main(Kepler.java:78)
>
> --
> Frank White
> fwhite at optensity.com
>  <781-771-2798> <781-771-2798>781-771-2798
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20110222/33bbd76b/attachment.html>


More information about the Kepler-users mailing list