<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Marc,<br>
    I could not reproduce this, so I would need more information.<br>
    <br>
    I'm on a Mac:<br>
    1. I removed my ~/.kepler and ~/KeplerData directories.<br>
    2. When I started up Kepler-2.2, I was prompted to upgrade some
    modules.  The Module Manager does not allow copy and paste, but
    IIRC, they were some 2.2.1 modules.<br>
    <br>
    3. I opened up a Ptolemy model and saved it as a .kar:<br>
       a. Help -> Kepler Documentation -> "background information
    on Ptolemy" -> Quick Tour<br>
       b. I then clicked on any model, in this case "Noise".<br>
       c. File -> Save As -> Save as Noise.kar<br>
    <br>
    4. Quit Kepler, then restarted Kepler<br>
    <br>
    5. File -> Open, selected Noise.kar and it opened successfully.<br>
    <br>
    The offending line at<br>
    at
org.kepler.gui.kar.OpenArchiveAction.actionPerformed(OpenArchiveAction.java:155)<br>
    is<br>
              _lastDirectoryUsed =
    LocalRepositoryManager.getInstance().getSaveRepository().getPath();<br>
    <br>
    I checked in a change to the development trunk that prints a better
    message if this error occurs.<br>
    I'm not sure why it would occur for you.  It looks <br>
kepler/core/src/org/kepler/objectmanager/cache/LocalRepositoryManager.java<br>
    has a bug where the poorly named setLocalSaveRepo() method is not
    being called.<br>
    <br>
    The best way to track this down would be to move to using the Kepler
    trunk and if the bug continues to occur, use the debugger.<br>
    <br>
    One thing to try would be to remove the ~/.kepler and ~/KeplerData
    directories.<br>
    <br>
    _Christopher<br>
    <br>
    <br>
    <br>
    On 10/17/11 9:51 AM, J. Marc Edwards wrote:
    <blockquote
      cite="mid:855393994.26098.1318870272877.JavaMail.root@mail-5.01.com"
      type="cite">
      <style type="text/css">p { margin: 0; }</style>
      <div style="font-family: Verdana; font-size: 10pt; color: #000000"><font
          class="Apple-style-span" face="Verdana" size="2">I'm trying to
          open a Kepler workflow using the "File -> Open" on the GUI
          and am not receiving a file chooser window from which to
          select the workflow.</font>
        <div style="color: rgb(0, 0, 0); font-family: Verdana;
          font-size: 10pt; "><br>
        </div>
        <div style="color: rgb(0, 0, 0); font-family: Verdana;
          font-size: 10pt; ">This worked with no problem on this server
          that I am using this version 2.2 of Kepler.  However, I did
          notice that I was asked to upgrade a Kepler module last week
          when I was starting Kepler.</div>
        <div style="color: rgb(0, 0, 0); font-family: Verdana;
          font-size: 10pt; "><br>
        </div>
        <div style="color: rgb(0, 0, 0); font-family: Verdana;
          font-size: 10pt; ">I notice a Java exception message that is
          being printed when I try to open a file. I've pasted the
          messages below.</div>
        <div style="color: rgb(0, 0, 0); font-family: Verdana;
          font-size: 10pt; "><br>
        </div>
        <div style="color: rgb(0, 0, 0); font-family: Verdana;
          font-size: 10pt; ">Any thoughts?</div>
        <div style="color: rgb(0, 0, 0); font-family: Verdana;
          font-size: 10pt; "><br>
        </div>
        <div style="color: rgb(0, 0, 0); font-family: Verdana;
          font-size: 10pt; ">Regards, Marc</div>
        <div style="color: rgb(0, 0, 0); font-family: Verdana;
          font-size: 10pt; "><br>
        </div>
        <div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">jmedwards@beta:~$      [null] </font><font
              class="Apple-style-span" color="#3333ff" face="'courier
              new', courier, monaco, monospace, sans-serif" size="2"><b>Exception
                in thread "AWT-EventQueue-0"
                java.lang.NullPointerException</b></font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
org.kepler.gui.kar.OpenArchiveAction.actionPerformed(OpenArchiveAction.java:155)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
javax.swing.AbstractButton.doClick(AbstractButton.java:357)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.Component.processMouseEvent(Component.java:6288)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
javax.swing.JComponent.processMouseEvent(JComponent.java:3267)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.Component.processEvent(Component.java:6053)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.Container.processEvent(Container.java:2041)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.Component.dispatchEventImpl(Component.java:4651)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.Container.dispatchEventImpl(Container.java:2099)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.Component.dispatchEvent(Component.java:4481)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.Container.dispatchEventImpl(Container.java:2085)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.Window.dispatchEventImpl(Window.java:2478)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.Component.dispatchEvent(Component.java:4481)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.EventQueue.access$000(EventQueue.java:84)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.EventQueue$1.run(EventQueue.java:602)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.EventQueue$1.run(EventQueue.java:600)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.security.AccessController.doPrivileged(Native Method)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.EventQueue$2.run(EventQueue.java:616)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.EventQueue$2.run(EventQueue.java:614)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.security.AccessController.doPrivileged(Native Method)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
              java.awt.EventQueue.dispatchEvent(EventQueue.java:613)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)</font></div>
          <div><font class="Apple-style-span" color="#990000"
              face="'courier new', courier, monaco, monospace,
              sans-serif" size="2">     [null] <span
                class="Apple-tab-span" style="white-space:pre"> </span>at
java.awt.EventDispatchThread.run(EventDispatchThread.java:122)</font></div>
        </div>
        <div style="color: rgb(0, 0, 0); font-family: Verdana;
          font-size: 10pt; "><br>
        </div>
        <div style="color: rgb(0, 0, 0); font-family: Verdana;
          font-size: 10pt; "><br>
          <div><span name="x"></span><br>
            <br>
            <br>
            J. Marc Edwards, Principal Consultant <br>
            Semiconductor Design Portals<br>
            Nimbis Services, Inc. <br>
            Cell - (919) 345-1021 <br>
            Fax  - (919) 882-8602 <br>
            <a class="moz-txt-link-abbreviated" href="mailto:marc.edwards@nimbisservices.com">marc.edwards@nimbisservices.com</a> <span name="x"></span><br>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kepler-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841                                (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670 </pre>
  </body>
</html>